Class: Cocoa::NSObject
- Inherits:
-
Object
show all
- Includes:
- Cocoa
- Defined in:
- lib/cocoa/helpers.rb,
lib/cocoa/extensions.rb,
lib/cocoa/bindings/NSObject.rb
Direct Known Subclasses
CAAnimation, CAConstraint, CAConstraintLayoutManager, CAEmitterCell, CALayer, CAMediaTimingFunction, CARemoteLayerClient, CARemoteLayerServer, CARenderer, CATransaction, CAValueFunction, CIColor, CIFilter, CIImage, NSAffineTransform, NSAlert, NSAnimation, NSAnimationContext, NSAppleEventDescriptor, NSAppleEventManager, NSAppleScript, NSArray, NSAssertionHandler, NSAttributedString, NSAutoreleasePool, NSBezierPath, NSBundle, NSCache, NSCachedURLResponse, NSCalendar, NSCell, NSCharacterSet, NSClassDescription, NSCoder, NSColor, NSColorList, NSColorPicker, NSColorSpace, NSCondition, NSConditionLock, NSConnection, NSController, NSCursor, NSData, NSDate, NSDateComponents, NSDecimalNumberHandler, NSDictionary, NSDistantObjectRequest, NSDistributedLock, NSDockTile, NSDocument, NSDocumentController, NSDraggingImageComponent, NSDraggingItem, NSDraggingSession, NSEnumerator, NSError, NSEvent, NSException, NSExpression, NSFileCoordinator, NSFileHandle, NSFileManager, NSFileVersion, NSFileWrapper, NSFont, NSFontCollection, NSFontDescriptor, NSFontManager, NSFormatter, NSGarbageCollector, NSGlyphGenerator, NSGlyphInfo, NSGradient, NSGraphicsContext, NSHTTPCookie, NSHTTPCookieStorage, NSHashTable, NSHelpManager, NSHost, NSImage, NSImageRep, NSIndexPath, NSIndexSet, NSInputManager, NSInputServer, NSInvocation, NSJSONSerialization, NSLayoutConstraint, NSLayoutManager, NSLinguisticTagger, NSLocale, NSLock, NSMapTable, NSMenu, NSMenuItem, NSMetadataItem, NSMetadataQuery, NSMetadataQueryAttributeValueTuple, NSMetadataQueryResultGroup, NSMethodSignature, NSMovie, NSNetService, NSNetServiceBrowser, NSNib, NSNibConnector, NSNotification, NSNotificationCenter, NSNotificationQueue, NSNull, NSOpenGLContext, NSOpenGLPixelBuffer, NSOpenGLPixelFormat, NSOperation, NSOperationQueue, NSOrderedSet, NSOrthography, NSPageLayout, NSParagraphStyle, NSPasteboard, NSPasteboardItem, NSPipe, NSPointerArray, NSPointerFunctions, NSPort, NSPortMessage, NSPortNameServer, NSPositionalSpecifier, NSPredicate, NSPredicateEditorRowTemplate, NSPrintInfo, NSPrintOperation, NSPrintPanel, NSPrinter, NSProcessInfo, NSPropertyListSerialization, NSProxy, NSRecursiveLock, NSRegularExpression, NSResponder, NSRulerMarker, NSRunLoop, NSRunningApplication, NSScanner, NSScreen, NSScriptCoercionHandler, NSScriptCommand, NSScriptCommandDescription, NSScriptExecutionContext, NSScriptObjectSpecifier, NSScriptSuiteRegistry, NSScriptWhoseTest, NSSet, NSShadow, NSSharingService, NSSharingServicePicker, NSSortDescriptor, NSSound, NSSpeechRecognizer, NSSpeechSynthesizer, NSSpellChecker, NSSpellServer, NSStatusBar, NSStatusItem, NSStream, NSString, NSTabViewItem, NSTableColumn, NSTask, NSTextAlternatives, NSTextAttachment, NSTextBlock, NSTextCheckingResult, NSTextContainer, NSTextFinder, NSTextInputContext, NSTextList, NSTextTab, NSThread, NSTimeZone, NSTimer, NSToolbar, NSToolbarItem, NSTouch, NSTrackingArea, NSTreeNode, NSTypesetter, NSURL, NSURLAuthenticationChallenge, NSURLCache, NSURLConnection, NSURLCredential, NSURLCredentialStorage, NSURLDownload, NSURLHandle, NSURLProtectionSpace, NSURLProtocol, NSURLRequest, NSURLResponse, NSUUID, NSUbiquitousKeyValueStore, NSUndoManager, NSUserDefaults, NSUserNotification, NSUserNotificationCenter, NSUserScriptTask, NSValue, NSValueTransformer, NSWorkspace, NSXMLNode, NSXMLParser, NSXPCConnection, NSXPCInterface, NSXPCListener
Constant Summary
Constants included
from Cocoa
CA_WARN_DEPRECATED, CFByteOrderBigEndian, CFByteOrderLittleEndian, CFByteOrderUnknown, CFNotificationSuspensionBehaviorCoalesce, CFNotificationSuspensionBehaviorDeliverImmediately, CFNotificationSuspensionBehaviorDrop, CFNotificationSuspensionBehaviorHold, CF_USE_OSBYTEORDER_H, CGDisplayNoErr, CGEventNoErr, CGGlyphMax, CGGlyphMin, CGPDFDataFormatJPEG2000, CGPDFDataFormatJPEGEncoded, CGPDFDataFormatRaw, CGRectMaxXEdge, CGRectMaxYEdge, CGRectMinXEdge, CGRectMinYEdge, COREFOUNDATION_CFPLUGINCOM_SEPARATE, E_ABORT, E_ACCESSDENIED, E_FAIL, E_HANDLE, E_INVALIDARG, E_NOINTERFACE, E_NOTIMPL, E_OUTOFMEMORY, E_POINTER, E_UNEXPECTED, FALSE, NSASCIIStringEncoding, NSAWTEventType, NSAboveBottom, NSAboveTop, NSAddTraitFontAction, NSAdminApplicationDirectory, NSAdobeCNS1CharacterCollection, NSAdobeGB1CharacterCollection, NSAdobeJapan1CharacterCollection, NSAdobeJapan2CharacterCollection, NSAdobeKorea1CharacterCollection, NSAggregateExpressionType, NSAlertAlternateReturn, NSAlertDefaultReturn, NSAlertErrorReturn, NSAlertFirstButtonReturn, NSAlertOtherReturn, NSAlertSecondButtonReturn, NSAlertThirdButtonReturn, NSAlignAllEdgesInward, NSAlignAllEdgesNearest, NSAlignAllEdgesOutward, NSAlignHeightInward, NSAlignHeightNearest, NSAlignHeightOutward, NSAlignMaxXInward, NSAlignMaxXNearest, NSAlignMaxXOutward, NSAlignMaxYInward, NSAlignMaxYNearest, NSAlignMaxYOutward, NSAlignMinXInward, NSAlignMinXNearest, NSAlignMinXOutward, NSAlignMinYInward, NSAlignMinYNearest, NSAlignMinYOutward, NSAlignRectFlipped, NSAlignWidthInward, NSAlignWidthNearest, NSAlignWidthOutward, NSAllApplicationsDirectory, NSAllDomainsMask, NSAllLibrariesDirectory, NSAllPredicateModifier, NSAllScrollerParts, NSAlphaFirstBitmapFormat, NSAlphaNonpremultipliedBitmapFormat, NSAlphaShiftKeyMask, NSAlternateKeyMask, NSAnchoredSearch, NSAndPredicateType, NSAnimationBlocking, NSAnimationEaseIn, NSAnimationEaseInOut, NSAnimationEaseOut, NSAnimationEffectDisappearingItemDefault, NSAnimationEffectPoof, NSAnimationLinear, NSAnimationNonblocking, NSAnimationNonblockingThreaded, NSAnyEventMask, NSAnyPredicateModifier, NSAnyType, NSAppKitDefined, NSAppKitDefinedMask, NSAppKitVersionNumber10_0, NSAppKitVersionNumber10_1, NSAppKitVersionNumber10_2, NSAppKitVersionNumber10_2_3, NSAppKitVersionNumber10_3, NSAppKitVersionNumber10_3_2, NSAppKitVersionNumber10_3_3, NSAppKitVersionNumber10_3_5, NSAppKitVersionNumber10_3_7, NSAppKitVersionNumber10_3_9, NSAppKitVersionNumber10_4, NSAppKitVersionNumber10_4_1, NSAppKitVersionNumber10_4_3, NSAppKitVersionNumber10_4_4, NSAppKitVersionNumber10_4_7, NSAppKitVersionNumber10_5, NSAppKitVersionNumber10_5_2, NSAppKitVersionNumber10_5_3, NSAppKitVersionNumber10_6, NSAppKitVersionNumber10_7, NSAppKitVersionNumber10_7_2, NSAppKitVersionNumberWithColumnResizingBrowser, NSAppKitVersionNumberWithContinuousScrollingBrowser, NSAppKitVersionNumberWithCursorSizeSupport, NSAppKitVersionNumberWithCustomSheetPosition, NSAppKitVersionNumberWithDeferredWindowDisplaySupport, NSAppKitVersionNumberWithDirectionalTabs, NSAppKitVersionNumberWithDockTilePlugInSupport, NSAppKitVersionNumberWithPatternColorLeakFix, NSApplicationActivateAllWindows, NSApplicationActivateIgnoringOtherApps, NSApplicationActivatedEventType, NSApplicationActivationPolicyAccessory, NSApplicationActivationPolicyProhibited, NSApplicationActivationPolicyRegular, NSApplicationDeactivatedEventType, NSApplicationDefined, NSApplicationDefinedMask, NSApplicationDelegateReplyCancel, NSApplicationDelegateReplyFailure, NSApplicationDelegateReplySuccess, NSApplicationDirectory, NSApplicationPresentationAutoHideDock, NSApplicationPresentationAutoHideMenuBar, NSApplicationPresentationAutoHideToolbar, NSApplicationPresentationDefault, NSApplicationPresentationDisableAppleMenu, NSApplicationPresentationDisableForceQuit, NSApplicationPresentationDisableHideApplication, NSApplicationPresentationDisableMenuBarTransparency, NSApplicationPresentationDisableProcessSwitching, NSApplicationPresentationDisableSessionTermination, NSApplicationPresentationFullScreen, NSApplicationPresentationHideDock, NSApplicationPresentationHideMenuBar, NSApplicationScriptsDirectory, NSApplicationSupportDirectory, NSArgumentEvaluationScriptError, NSArgumentsWrongScriptError, NSAscendingPageOrder, NSAtBottom, NSAtTop, NSAtomicWrite, NSAttachmentCharacter, NSAttributedStringEnumerationLongestEffectiveRangeNotRequired, NSAttributedStringEnumerationReverse, NSAutoPagination, NSAutosaveAsOperation, NSAutosaveElsewhereOperation, NSAutosaveInPlaceOperation, NSAutosaveOperation, NSAutosavedInformationDirectory, NSBMPFileType, NSBackTabCharacter, NSBackgroundStyleDark, NSBackgroundStyleLight, NSBackgroundStyleLowered, NSBackgroundStyleRaised, NSBackgroundTab, NSBackingStoreBuffered, NSBackingStoreNonretained, NSBackingStoreRetained, NSBackspaceCharacter, NSBacktabTextMovement, NSBackwardsSearch, NSBeginFunctionKey, NSBeginsWithComparison, NSBeginsWithPredicateOperatorType, NSBelowBottom, NSBelowTop, NSBetweenPredicateOperatorType, NSBevelLineJoinStyle, NSBezelBorder, NSBinarySearchingFirstEqual, NSBinarySearchingInsertionIndex, NSBinarySearchingLastEqual, NSBlockExpressionType, NSBlueControlTint, NSBoldFontMask, NSBorderlessWindowMask, NSBottomTabsBezelBorder, NSBoxCustom, NSBoxOldStyle, NSBoxPrimary, NSBoxSecondary, NSBoxSeparator, NSBreakFunctionKey, NSBrowserAutoColumnResizing, NSBrowserDropAbove, NSBrowserDropOn, NSBrowserNoColumnResizing, NSBrowserUserColumnResizing, NSBundleExecutableArchitectureI386, NSBundleExecutableArchitecturePPC, NSBundleExecutableArchitecturePPC64, NSBundleExecutableArchitectureX86_64, NSButtLineCapStyle, NSByteCountFormatterCountStyleBinary, NSByteCountFormatterCountStyleDecimal, NSByteCountFormatterCountStyleFile, NSByteCountFormatterCountStyleMemory, NSByteCountFormatterUseAll, NSByteCountFormatterUseBytes, NSByteCountFormatterUseDefault, NSByteCountFormatterUseEB, NSByteCountFormatterUseGB, NSByteCountFormatterUseKB, NSByteCountFormatterUseMB, NSByteCountFormatterUsePB, NSByteCountFormatterUseTB, NSByteCountFormatterUseYBOrHigher, NSByteCountFormatterUseZB, NSCMYKColorSpaceModel, NSCMYKModeColorPanel, NSCachesDirectory, NSCalculationDivideByZero, NSCalculationLossOfPrecision, NSCalculationNoError, NSCalculationOverflow, NSCalculationUnderflow, NSCalendarCalendarUnit, NSCancelButton, NSCancelTextMovement, NSCannotCreateScriptCommandError, NSCarriageReturnCharacter, NSCaseInsensitivePredicateOption, NSCaseInsensitiveSearch, NSCellAllowsMixedState, NSCellChangesContents, NSCellDisabled, NSCellEditable, NSCellHasImageHorizontal, NSCellHasImageOnLeftOrBottom, NSCellHasOverlappingImage, NSCellHighlighted, NSCellHitContentArea, NSCellHitEditableTextArea, NSCellHitNone, NSCellHitTrackableArea, NSCellIsBordered, NSCellIsInsetButton, NSCellLightsByBackground, NSCellLightsByContents, NSCellLightsByGray, NSCellState, NSCenterTabStopType, NSCenterTextAlignment, NSChangeAutosaved, NSChangeBackgroundCell, NSChangeBackgroundCellMask, NSChangeCleared, NSChangeDiscardable, NSChangeDone, NSChangeGrayCell, NSChangeGrayCellMask, NSChangeReadOtherContents, NSChangeRedone, NSChangeUndone, NSCircularBezelStyle, NSCircularSlider, NSClearControlTint, NSClearDisplayFunctionKey, NSClearLineFunctionKey, NSClipPagination, NSClockAndCalendarDatePickerStyle, NSClosableWindowMask, NSClosePathBezierPathElement, NSCollectionViewDropBefore, NSCollectionViewDropOn, NSCollectorDisabledOption, NSColorListModeColorPanel, NSColorPanelAllModesMask, NSColorPanelCMYKModeMask, NSColorPanelColorListModeMask, NSColorPanelCrayonModeMask, NSColorPanelCustomPaletteModeMask, NSColorPanelGrayModeMask, NSColorPanelHSBModeMask, NSColorPanelRGBModeMask, NSColorPanelWheelModeMask, NSColorRenderingIntentAbsoluteColorimetric, NSColorRenderingIntentDefault, NSColorRenderingIntentPerceptual, NSColorRenderingIntentRelativeColorimetric, NSColorRenderingIntentSaturation, NSCommandKeyMask, NSCompositeClear, NSCompositeCopy, NSCompositeDestinationAtop, NSCompositeDestinationIn, NSCompositeDestinationOut, NSCompositeDestinationOver, NSCompositeHighlight, NSCompositePlusDarker, NSCompositePlusLighter, NSCompositeSourceAtop, NSCompositeSourceIn, NSCompositeSourceOut, NSCompositeSourceOver, NSCompositeXOR, NSCompressedFontMask, NSCondensedFontMask, NSConstantValueExpressionType, NSContainerSpecifierError, NSContainsComparison, NSContainsPredicateOperatorType, NSContentsCellMask, NSContinuousCapacityLevelIndicatorStyle, NSControlGlyph, NSControlKeyMask, NSCoreServiceDirectory, NSCorrectionIndicatorTypeDefault, NSCorrectionIndicatorTypeGuesses, NSCorrectionIndicatorTypeReversion, NSCorrectionResponseAccepted, NSCorrectionResponseEdited, NSCorrectionResponseIgnored, NSCorrectionResponseNone, NSCorrectionResponseRejected, NSCorrectionResponseReverted, NSCrayonModeColorPanel, NSCriticalAlertStyle, NSCriticalRequest, NSCursorPointingDevice, NSCursorUpdate, NSCursorUpdateMask, NSCurveToBezierPathElement, NSCustomPaletteModeColorPanel, NSCustomSelectorPredicateOperatorType, NSDataReadingMapped, NSDataReadingMappedAlways, NSDataReadingMappedIfSafe, NSDataReadingUncached, NSDataSearchAnchored, NSDataSearchBackwards, NSDataWritingAtomic, NSDataWritingFileProtectionComplete, NSDataWritingFileProtectionCompleteUnlessOpen, NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication, NSDataWritingFileProtectionMask, NSDataWritingFileProtectionNone, NSDataWritingWithoutOverwriting, NSDateFormatterBehavior10_0, NSDateFormatterBehavior10_4, NSDateFormatterBehaviorDefault, NSDateFormatterFullStyle, NSDateFormatterLongStyle, NSDateFormatterMediumStyle, NSDateFormatterNoStyle, NSDateFormatterShortStyle, NSDayCalendarUnit, NSDecimalMaxSize, NSDecimalNoScale, NSDecimalTabStopType, NSDefaultControlTint, NSDefaultTokenStyle, NSDeleteCharFunctionKey, NSDeleteCharacter, NSDeleteFunctionKey, NSDeleteLineFunctionKey, NSDemoApplicationDirectory, NSDescendingPageOrder, NSDesktopDirectory, NSDeveloperApplicationDirectory, NSDeveloperDirectory, NSDeviceIndependentModifierFlagsMask, NSDeviceNColorSpaceModel, NSDiacriticInsensitivePredicateOption, NSDiacriticInsensitiveSearch, NSDirectPredicateModifier, NSDirectSelection, NSDirectoryEnumerationSkipsHiddenFiles, NSDirectoryEnumerationSkipsPackageDescendants, NSDirectoryEnumerationSkipsSubdirectoryDescendants, NSDisclosureBezelStyle, NSDiscreteCapacityLevelIndicatorStyle, NSDisplayWindowRunLoopOrdering, NSDocModalWindowMask, NSDocumentDirectory, NSDocumentationDirectory, NSDoubleType, NSDownArrowFunctionKey, NSDownTextMovement, NSDownloadsDirectory, NSDragOperationAll, NSDragOperationAll_Obsolete, NSDragOperationCopy, NSDragOperationDelete, NSDragOperationEvery, NSDragOperationGeneric, NSDragOperationLink, NSDragOperationMove, NSDragOperationNone, NSDragOperationPrivate, NSDraggingContextOutsideApplication, NSDraggingContextWithinApplication, NSDraggingFormationDefault, NSDraggingFormationList, NSDraggingFormationNone, NSDraggingFormationPile, NSDraggingFormationStack, NSDraggingItemEnumerationClearNonenumeratedImages, NSDraggingItemEnumerationConcurrent, NSDrawerClosedState, NSDrawerClosingState, NSDrawerOpenState, NSDrawerOpeningState, NSEndFunctionKey, NSEndsWithComparison, NSEndsWithPredicateOperatorType, NSEnterCharacter, NSEnumerationConcurrent, NSEnumerationReverse, NSEqualToComparison, NSEqualToPredicateOperatorType, NSEraCalendarUnit, NSEraDatePickerElementFlag, NSEraserPointingDevice, NSEvaluatedObjectExpressionType, NSEvenOddWindingRule, NSEventGestureAxisHorizontal, NSEventGestureAxisNone, NSEventGestureAxisVertical, NSEventMaskBeginGesture, NSEventMaskEndGesture, NSEventMaskGesture, NSEventMaskMagnify, NSEventMaskRotate, NSEventMaskSmartMagnify, NSEventMaskSwipe, NSEventPhaseBegan, NSEventPhaseCancelled, NSEventPhaseChanged, NSEventPhaseEnded, NSEventPhaseMayBegin, NSEventPhaseNone, NSEventPhaseStationary, NSEventSwipeTrackingClampGestureAmount, NSEventSwipeTrackingLockDirection, NSEventTypeBeginGesture, NSEventTypeEndGesture, NSEventTypeGesture, NSEventTypeMagnify, NSEventTypeQuickLook, NSEventTypeRotate, NSEventTypeSmartMagnify, NSEventTypeSwipe, NSEverySubelement, NSExclude10_4ElementsIconCreationOption, NSExcludeQuickDrawElementsIconCreationOption, NSExecutableArchitectureMismatchError, NSExecutableErrorMaximum, NSExecutableErrorMinimum, NSExecutableLinkError, NSExecutableLoadError, NSExecutableNotLoadableError, NSExecutableRuntimeMismatchError, NSExecuteFunctionKey, NSExpandedFontMask, NSF10FunctionKey, NSF11FunctionKey, NSF12FunctionKey, NSF13FunctionKey, NSF14FunctionKey, NSF15FunctionKey, NSF16FunctionKey, NSF17FunctionKey, NSF18FunctionKey, NSF19FunctionKey, NSF1FunctionKey, NSF20FunctionKey, NSF21FunctionKey, NSF22FunctionKey, NSF23FunctionKey, NSF24FunctionKey, NSF25FunctionKey, NSF26FunctionKey, NSF27FunctionKey, NSF28FunctionKey, NSF29FunctionKey, NSF2FunctionKey, NSF30FunctionKey, NSF31FunctionKey, NSF32FunctionKey, NSF33FunctionKey, NSF34FunctionKey, NSF35FunctionKey, NSF3FunctionKey, NSF4FunctionKey, NSF5FunctionKey, NSF6FunctionKey, NSF7FunctionKey, NSF8FunctionKey, NSF9FunctionKey, NSFPCurrentField, NSFPPreviewButton, NSFPPreviewField, NSFPRevertButton, NSFPSetButton, NSFPSizeField, NSFPSizeTitle, NSFeatureUnsupportedError, NSFileCoordinatorReadingResolvesSymbolicLink, NSFileCoordinatorReadingWithoutChanges, NSFileCoordinatorWritingForDeleting, NSFileCoordinatorWritingForMerging, NSFileCoordinatorWritingForMoving, NSFileCoordinatorWritingForReplacing, NSFileErrorMaximum, NSFileErrorMinimum, NSFileHandlingPanelCancelButton, NSFileHandlingPanelOKButton, NSFileLockingError, NSFileManagerItemReplacementUsingNewMetadataOnly, NSFileManagerItemReplacementWithoutDeletingBackupItem, NSFileNoSuchFileError, NSFileReadCorruptFileError, NSFileReadInapplicableStringEncodingError, NSFileReadInvalidFileNameError, NSFileReadNoPermissionError, NSFileReadNoSuchFileError, NSFileReadTooLargeError, NSFileReadUnknownError, NSFileReadUnknownStringEncodingError, NSFileReadUnsupportedSchemeError, NSFileVersionAddingByMoving, NSFileVersionReplacingByMoving, NSFileWrapperReadingImmediate, NSFileWrapperReadingWithoutMapping, NSFileWrapperWritingAtomic, NSFileWrapperWritingWithNameUpdating, NSFileWriteFileExistsError, NSFileWriteInapplicableStringEncodingError, NSFileWriteInvalidFileNameError, NSFileWriteNoPermissionError, NSFileWriteOutOfSpaceError, NSFileWriteUnknownError, NSFileWriteUnsupportedSchemeError, NSFileWriteVolumeReadOnlyError, NSFindFunctionKey, NSFindPanelActionNext, NSFindPanelActionPrevious, NSFindPanelActionReplace, NSFindPanelActionReplaceAll, NSFindPanelActionReplaceAllInSelection, NSFindPanelActionReplaceAndFind, NSFindPanelActionSelectAll, NSFindPanelActionSelectAllInSelection, NSFindPanelActionSetFindString, NSFindPanelActionShowFindPanel, NSFindPanelSubstringMatchTypeContains, NSFindPanelSubstringMatchTypeEndsWith, NSFindPanelSubstringMatchTypeFullWord, NSFindPanelSubstringMatchTypeStartsWith, NSFitPagination, NSFixedPitchFontMask, NSFlagsChanged, NSFlagsChangedMask, NSFloatType, NSFloatingPointSamplesBitmapFormat, NSFocusRingAbove, NSFocusRingBelow, NSFocusRingOnly, NSFocusRingTypeDefault, NSFocusRingTypeExterior, NSFocusRingTypeNone, NSFontAntialiasedIntegerAdvancementsRenderingMode, NSFontAntialiasedRenderingMode, NSFontBoldTrait, NSFontClarendonSerifsClass, NSFontCollectionApplicationOnlyMask, NSFontCollectionVisibilityComputer, NSFontCollectionVisibilityProcess, NSFontCollectionVisibilityUser, NSFontCondensedTrait, NSFontDefaultRenderingMode, NSFontExpandedTrait, NSFontFamilyClassMask, NSFontFreeformSerifsClass, NSFontIntegerAdvancementsRenderingMode, NSFontItalicTrait, NSFontModernSerifsClass, NSFontMonoSpaceTrait, NSFontOldStyleSerifsClass, NSFontOrnamentalsClass, NSFontPanelAllEffectsModeMask, NSFontPanelAllModesMask, NSFontPanelCollectionModeMask, NSFontPanelDocumentColorEffectModeMask, NSFontPanelFaceModeMask, NSFontPanelShadowEffectModeMask, NSFontPanelSizeModeMask, NSFontPanelStandardModesMask, NSFontPanelStrikethroughEffectModeMask, NSFontPanelTextColorEffectModeMask, NSFontPanelUnderlineEffectModeMask, NSFontSansSerifClass, NSFontScriptsClass, NSFontSlabSerifsClass, NSFontSymbolicClass, NSFontTransitionalSerifsClass, NSFontUIOptimizedTrait, NSFontUnknownClass, NSFontVerticalTrait, NSForcedOrderingSearch, NSFormFeedCharacter, NSFormattingError, NSFormattingErrorMaximum, NSFormattingErrorMinimum, NSFoundationVersionNumber10_0, NSFoundationVersionNumber10_1, NSFoundationVersionNumber10_1_1, NSFoundationVersionNumber10_1_2, NSFoundationVersionNumber10_1_3, NSFoundationVersionNumber10_1_4, NSFoundationVersionNumber10_2, NSFoundationVersionNumber10_2_1, NSFoundationVersionNumber10_2_2, NSFoundationVersionNumber10_2_3, NSFoundationVersionNumber10_2_4, NSFoundationVersionNumber10_2_5, NSFoundationVersionNumber10_2_6, NSFoundationVersionNumber10_2_7, NSFoundationVersionNumber10_2_8, NSFoundationVersionNumber10_3, NSFoundationVersionNumber10_3_1, NSFoundationVersionNumber10_3_2, NSFoundationVersionNumber10_3_3, NSFoundationVersionNumber10_3_4, NSFoundationVersionNumber10_3_5, NSFoundationVersionNumber10_3_6, NSFoundationVersionNumber10_3_7, NSFoundationVersionNumber10_3_8, NSFoundationVersionNumber10_3_9, NSFoundationVersionNumber10_4, NSFoundationVersionNumber10_4_1, NSFoundationVersionNumber10_4_10, NSFoundationVersionNumber10_4_11, NSFoundationVersionNumber10_4_2, NSFoundationVersionNumber10_4_3, NSFoundationVersionNumber10_4_4_Intel, NSFoundationVersionNumber10_4_4_PowerPC, NSFoundationVersionNumber10_4_5, NSFoundationVersionNumber10_4_6, NSFoundationVersionNumber10_4_7, NSFoundationVersionNumber10_4_8, NSFoundationVersionNumber10_4_9, NSFoundationVersionNumber10_5, NSFoundationVersionNumber10_5_1, NSFoundationVersionNumber10_5_2, NSFoundationVersionNumber10_5_3, NSFoundationVersionNumber10_5_4, NSFoundationVersionNumber10_5_5, NSFoundationVersionNumber10_5_6, NSFoundationVersionNumber10_5_7, NSFoundationVersionNumber10_5_8, NSFoundationVersionNumber10_6, NSFoundationVersionNumber10_6_1, NSFoundationVersionNumber10_6_2, NSFoundationVersionNumber10_6_3, NSFoundationVersionNumber10_6_4, NSFoundationVersionNumber10_6_5, NSFoundationVersionNumber10_6_6, NSFoundationVersionNumber10_6_7, NSFoundationVersionNumber10_6_8, NSFoundationVersionNumber10_7, NSFoundationVersionNumber10_7_1, NSFoundationVersionNumber10_7_2, NSFoundationVersionNumber10_7_3, NSFoundationVersionNumber10_7_4, NSFoundationVersionWithFileManagerResourceForkSupport, NSFullScreenWindowMask, NSFunctionExpressionType, NSFunctionKeyMask, NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES, NSGIFFileType, NSGlyphAttributeBidiLevel, NSGlyphAttributeElastic, NSGlyphAttributeInscribe, NSGlyphAttributeSoft, NSGlyphInscribeAbove, NSGlyphInscribeBase, NSGlyphInscribeBelow, NSGlyphInscribeOverBelow, NSGlyphInscribeOverstrike, NSGradientConcaveStrong, NSGradientConcaveWeak, NSGradientConvexStrong, NSGradientConvexWeak, NSGradientDrawsAfterEndingLocation, NSGradientDrawsBeforeStartingLocation, NSGradientNone, NSGraphiteControlTint, NSGrayColorSpaceModel, NSGrayModeColorPanel, NSGreaterThanComparison, NSGreaterThanOrEqualToComparison, NSGreaterThanOrEqualToPredicateOperatorType, NSGreaterThanPredicateOperatorType, NSGrooveBorder, NSHPUXOperatingSystem, NSHSBModeColorPanel, NSHTTPCookieAcceptPolicyAlways, NSHTTPCookieAcceptPolicyNever, NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain, NSHUDWindowMask, NSHashTableCopyIn, NSHashTableObjectPointerPersonality, NSHashTableStrongMemory, NSHashTableWeakMemory, NSHashTableZeroingWeakMemory, NSHeavierFontAction, NSHelpButtonBezelStyle, NSHelpFunctionKey, NSHelpKeyMask, NSHighlightModeMatrix, NSHomeFunctionKey, NSHorizontalRuler, NSHourCalendarUnit, NSHourMinuteDatePickerElementFlag, NSHourMinuteSecondDatePickerElementFlag, NSINTEGER_DEFINED, NSISO2022JPStringEncoding, NSISOLatin1StringEncoding, NSISOLatin2StringEncoding, NSIdentityMappingCharacterCollection, NSIllegalTextMovement, NSImageAbove, NSImageAlignBottom, NSImageAlignBottomLeft, NSImageAlignBottomRight, NSImageAlignCenter, NSImageAlignLeft, NSImageAlignRight, NSImageAlignTop, NSImageAlignTopLeft, NSImageAlignTopRight, NSImageBelow, NSImageCacheAlways, NSImageCacheBySize, NSImageCacheDefault, NSImageCacheNever, NSImageCellType, NSImageFrameButton, NSImageFrameGrayBezel, NSImageFrameGroove, NSImageFrameNone, NSImageFramePhoto, NSImageInterpolationDefault, NSImageInterpolationHigh, NSImageInterpolationLow, NSImageInterpolationMedium, NSImageInterpolationNone, NSImageLeft, NSImageLoadStatusCancelled, NSImageLoadStatusCompleted, NSImageLoadStatusInvalidData, NSImageLoadStatusReadError, NSImageLoadStatusUnexpectedEOF, NSImageOnly, NSImageOverlaps, NSImageRepLoadStatusCompleted, NSImageRepLoadStatusInvalidData, NSImageRepLoadStatusReadingHeader, NSImageRepLoadStatusUnexpectedEOF, NSImageRepLoadStatusUnknownType, NSImageRepLoadStatusWillNeedAllData, NSImageRepMatchesDevice, NSImageRight, NSImageScaleAxesIndependently, NSImageScaleNone, NSImageScaleProportionallyDown, NSImageScaleProportionallyUpOrDown, NSInPredicateOperatorType, NSIndexSubelement, NSIndexedColorSpaceModel, NSInformationalAlertStyle, NSInformationalRequest, NSInlineBezelStyle, NSInputMethodsDirectory, NSInsertCharFunctionKey, NSInsertFunctionKey, NSInsertLineFunctionKey, NSIntType, NSIntegerMax, NSIntegerMin, NSInternalScriptError, NSInternalSpecifierError, NSIntersectSetExpressionType, NSInvalidIndexSpecifierError, NSItalicFontMask, NSItemReplacementDirectory, NSJPEG2000FileType, NSJPEGFileType, NSJSONReadingAllowFragments, NSJSONReadingMutableContainers, NSJSONReadingMutableLeaves, NSJSONWritingPrettyPrinted, NSJapaneseEUCStringEncoding, NSJustifiedTextAlignment, NSKeyDown, NSKeyDownMask, NSKeyPathExpressionType, NSKeySpecifierEvaluationScriptError, NSKeyUp, NSKeyUpMask, NSKeyValueChangeInsertion, NSKeyValueChangeRemoval, NSKeyValueChangeReplacement, NSKeyValueChangeSetting, NSKeyValueIntersectSetMutation, NSKeyValueMinusSetMutation, NSKeyValueObservingOptionInitial, NSKeyValueObservingOptionNew, NSKeyValueObservingOptionOld, NSKeyValueObservingOptionPrior, NSKeyValueSetSetMutation, NSKeyValueUnionSetMutation, NSKeyValueValidationError, NSLABColorSpaceModel, NSLandscapeOrientation, NSLayoutAttributeBaseline, NSLayoutAttributeBottom, NSLayoutAttributeCenterX, NSLayoutAttributeCenterY, NSLayoutAttributeHeight, NSLayoutAttributeLeading, NSLayoutAttributeLeft, NSLayoutAttributeNotAnAttribute, NSLayoutAttributeRight, NSLayoutAttributeTop, NSLayoutAttributeTrailing, NSLayoutAttributeWidth, NSLayoutConstraintOrientationHorizontal, NSLayoutConstraintOrientationVertical, NSLayoutFormatAlignAllBaseline, NSLayoutFormatAlignAllBottom, NSLayoutFormatAlignAllCenterX, NSLayoutFormatAlignAllCenterY, NSLayoutFormatAlignAllLeading, NSLayoutFormatAlignAllLeft, NSLayoutFormatAlignAllRight, NSLayoutFormatAlignAllTop, NSLayoutFormatAlignAllTrailing, NSLayoutFormatAlignmentMask, NSLayoutFormatDirectionLeadingToTrailing, NSLayoutFormatDirectionLeftToRight, NSLayoutFormatDirectionMask, NSLayoutFormatDirectionRightToLeft, NSLayoutPriorityDefaultHigh, NSLayoutPriorityDefaultLow, NSLayoutPriorityDragThatCanResizeWindow, NSLayoutPriorityDragThatCannotResizeWindow, NSLayoutPriorityFittingSizeCompression, NSLayoutPriorityRequired, NSLayoutPriorityWindowSizeStayPut, NSLayoutRelationEqual, NSLayoutRelationGreaterThanOrEqual, NSLayoutRelationLessThanOrEqual, NSLeftArrowFunctionKey, NSLeftMouseDown, NSLeftMouseDownMask, NSLeftMouseDragged, NSLeftMouseDraggedMask, NSLeftMouseUp, NSLeftMouseUpMask, NSLeftTabStopType, NSLeftTabsBezelBorder, NSLeftTextAlignment, NSLeftTextMovement, NSLessThanComparison, NSLessThanOrEqualToComparison, NSLessThanOrEqualToPredicateOperatorType, NSLessThanPredicateOperatorType, NSLibraryDirectory, NSLighterFontAction, NSLikePredicateOperatorType, NSLineBorder, NSLineBreakByCharWrapping, NSLineBreakByClipping, NSLineBreakByTruncatingHead, NSLineBreakByTruncatingMiddle, NSLineBreakByTruncatingTail, NSLineBreakByWordWrapping, NSLineDoesntMove, NSLineMovesDown, NSLineMovesLeft, NSLineMovesRight, NSLineMovesUp, NSLineSeparatorCharacter, NSLineSweepDown, NSLineSweepLeft, NSLineSweepRight, NSLineSweepUp, NSLineToBezierPathElement, NSLinearSlider, NSLinguisticTaggerJoinNames, NSLinguisticTaggerOmitOther, NSLinguisticTaggerOmitPunctuation, NSLinguisticTaggerOmitWhitespace, NSLinguisticTaggerOmitWords, NSListModeMatrix, NSLiteralSearch, NSLocalDomainMask, NSLocaleLanguageDirectionBottomToTop, NSLocaleLanguageDirectionLeftToRight, NSLocaleLanguageDirectionRightToLeft, NSLocaleLanguageDirectionTopToBottom, NSLocaleLanguageDirectionUnknown, NSMACHOperatingSystem, NSMacOSRomanStringEncoding, NSMachPortDeallocateNone, NSMachPortDeallocateReceiveRight, NSMachPortDeallocateSendRight, NSMacintoshInterfaceStyle, NSMapTableCopyIn, NSMapTableObjectPointerPersonality, NSMapTableStrongMemory, NSMapTableWeakMemory, NSMapTableZeroingWeakMemory, NSMappedRead, NSMatchesPredicateOperatorType, NSMatchingAnchored, NSMatchingCompleted, NSMatchingHitEnd, NSMatchingInternalError, NSMatchingProgress, NSMatchingReportCompletion, NSMatchingReportProgress, NSMatchingRequiredEnd, NSMatchingWithTransparentBounds, NSMatchingWithoutAnchoringBounds, NSMaxXEdge, NSMaxYEdge, NSMaximumStringLength, NSMenuFunctionKey, NSMenuPropertyItemAccessibilityDescription, NSMenuPropertyItemAttributedTitle, NSMenuPropertyItemEnabled, NSMenuPropertyItemImage, NSMenuPropertyItemKeyEquivalent, NSMenuPropertyItemTitle, NSMiddleSubelement, NSMinXEdge, NSMinYEdge, NSMiniControlSize, NSMiniaturizableWindowMask, NSMinusSetExpressionType, NSMinuteCalendarUnit, NSMiterLineJoinStyle, NSMixedState, NSModeSwitchFunctionKey, NSMomentaryChangeButton, NSMomentaryLight, NSMomentaryLightButton, NSMomentaryPushButton, NSMomentaryPushInButton, NSMonthCalendarUnit, NSMouseEntered, NSMouseEnteredMask, NSMouseEventSubtype, NSMouseExited, NSMouseExitedMask, NSMouseMoved, NSMouseMovedMask, NSMoveToBezierPathElement, NSMoviesDirectory, NSMusicDirectory, NSNEXTSTEPStringEncoding, NSNarrowFontMask, NSNativeShortGlyphPacking, NSNaturalTextAlignment, NSNetServiceNoAutoRename, NSNetServicesActivityInProgress, NSNetServicesBadArgumentError, NSNetServicesCancelledError, NSNetServicesCollisionError, NSNetServicesInvalidError, NSNetServicesNotFoundError, NSNetServicesTimeoutError, NSNetServicesUnknownError, NSNetworkDomainMask, NSNewlineCharacter, NSNextFunctionKey, NSNextStepInterfaceStyle, NSNoBorder, NSNoCellMask, NSNoFontChangeAction, NSNoImage, NSNoInterfaceStyle, NSNoModeColorPanel, NSNoScriptError, NSNoScrollerParts, NSNoSpecifierError, NSNoSubelement, NSNoTabsBezelBorder, NSNoTabsLineBorder, NSNoTabsNoBorder, NSNoTitle, NSNoTopLevelContainersSpecifierError, NSNoUnderlineStyle, NSNonLossyASCIIStringEncoding, NSNonStandardCharacterSetFontMask, NSNonZeroWindingRule, NSNonactivatingPanelMask, NSNormalizedPredicateOption, NSNotEqualToPredicateOperatorType, NSNotFound, NSNotPredicateType, NSNotificationCoalescingOnName, NSNotificationCoalescingOnSender, NSNotificationDeliverImmediately, NSNotificationNoCoalescing, NSNotificationPostToAllSessions, NSNotificationSuspensionBehaviorCoalesce, NSNotificationSuspensionBehaviorDeliverImmediately, NSNotificationSuspensionBehaviorDrop, NSNotificationSuspensionBehaviorHold, NSNullCellType, NSNullGlyph, NSNumberFormatterBehavior10_0, NSNumberFormatterBehavior10_4, NSNumberFormatterBehaviorDefault, NSNumberFormatterCurrencyStyle, NSNumberFormatterDecimalStyle, NSNumberFormatterNoStyle, NSNumberFormatterPadAfterPrefix, NSNumberFormatterPadAfterSuffix, NSNumberFormatterPadBeforePrefix, NSNumberFormatterPadBeforeSuffix, NSNumberFormatterPercentStyle, NSNumberFormatterRoundCeiling, NSNumberFormatterRoundDown, NSNumberFormatterRoundFloor, NSNumberFormatterRoundHalfDown, NSNumberFormatterRoundHalfEven, NSNumberFormatterRoundHalfUp, NSNumberFormatterRoundUp, NSNumberFormatterScientificStyle, NSNumberFormatterSpellOutStyle, NSNumericPadKeyMask, NSNumericSearch, NSOKButton, NSOPENGL_CURRENT_VERSION, NSOSF1OperatingSystem, NSObjectAutoreleasedEvent, NSObjectExtraRefDecrementedEvent, NSObjectExtraRefIncrementedEvent, NSObjectInternalRefDecrementedEvent, NSObjectInternalRefIncrementedEvent, NSOffState, NSOnOffButton, NSOnState, NSOnlyScrollerArrows, NSOpenGLCPCurrentRendererID, NSOpenGLCPGPUFragmentProcessing, NSOpenGLCPGPUVertexProcessing, NSOpenGLCPHasDrawable, NSOpenGLCPMPSwapsInFlight, NSOpenGLCPRasterizationEnable, NSOpenGLCPReclaimResources, NSOpenGLCPStateValidation, NSOpenGLCPSurfaceBackingSize, NSOpenGLCPSurfaceOpacity, NSOpenGLCPSurfaceOrder, NSOpenGLCPSurfaceSurfaceVolatile, NSOpenGLCPSwapInterval, NSOpenGLCPSwapRectangle, NSOpenGLCPSwapRectangleEnable, NSOpenGLGOClearFormatCache, NSOpenGLGOFormatCacheSize, NSOpenGLGOResetLibrary, NSOpenGLGORetainRenderers, NSOpenGLGOUseBuildCache, NSOpenGLPFAAccelerated, NSOpenGLPFAAcceleratedCompute, NSOpenGLPFAAccumSize, NSOpenGLPFAAllRenderers, NSOpenGLPFAAllowOfflineRenderers, NSOpenGLPFAAlphaSize, NSOpenGLPFAAuxBuffers, NSOpenGLPFAAuxDepthStencil, NSOpenGLPFABackingStore, NSOpenGLPFAClosestPolicy, NSOpenGLPFAColorFloat, NSOpenGLPFAColorSize, NSOpenGLPFACompliant, NSOpenGLPFADepthSize, NSOpenGLPFADoubleBuffer, NSOpenGLPFAFullScreen, NSOpenGLPFAMPSafe, NSOpenGLPFAMaximumPolicy, NSOpenGLPFAMinimumPolicy, NSOpenGLPFAMultiScreen, NSOpenGLPFAMultisample, NSOpenGLPFANoRecovery, NSOpenGLPFAOffScreen, NSOpenGLPFAOpenGLProfile, NSOpenGLPFAPixelBuffer, NSOpenGLPFARemotePixelBuffer, NSOpenGLPFARendererID, NSOpenGLPFARobust, NSOpenGLPFASampleAlpha, NSOpenGLPFASampleBuffers, NSOpenGLPFASamples, NSOpenGLPFAScreenMask, NSOpenGLPFASingleRenderer, NSOpenGLPFAStencilSize, NSOpenGLPFAStereo, NSOpenGLPFASupersample, NSOpenGLPFATripleBuffer, NSOpenGLPFAVirtualScreenCount, NSOpenGLPFAWindow, NSOpenGLProfileVersion3_2Core, NSOpenGLProfileVersionLegacy, NSOpenStepUnicodeReservedBase, NSOperationNotSupportedForKeyScriptError, NSOperationNotSupportedForKeySpecifierError, NSOperationQueueDefaultMaxConcurrentOperationCount, NSOperationQueuePriorityHigh, NSOperationQueuePriorityLow, NSOperationQueuePriorityNormal, NSOperationQueuePriorityVeryHigh, NSOperationQueuePriorityVeryLow, NSOrPredicateType, NSOrderedAscending, NSOrderedDescending, NSOrderedSame, NSOtherMouseDown, NSOtherMouseDownMask, NSOtherMouseDragged, NSOtherMouseDraggedMask, NSOtherMouseUp, NSOtherMouseUpMask, NSOtherTextMovement, NSOutlineViewDropOnItemIndex, NSPNGFileType, NSPageControllerTransitionStyleHorizontalStrip, NSPageControllerTransitionStyleStackBook, NSPageControllerTransitionStyleStackHistory, NSPageDownFunctionKey, NSPageUpFunctionKey, NSParagraphSeparatorCharacter, NSPasteboardReadingAsData, NSPasteboardReadingAsKeyedArchive, NSPasteboardReadingAsPropertyList, NSPasteboardReadingAsString, NSPasteboardWritingPromised, NSPathStyleNavigationBar, NSPathStylePopUp, NSPathStyleStandard, NSPatternColorSpaceModel, NSPauseFunctionKey, NSPenLowerSideMask, NSPenPointingDevice, NSPenTipMask, NSPenUpperSideMask, NSPeriodic, NSPeriodicMask, NSPicturesDirectory, NSPlainTextTokenStyle, NSPoint, NSPointerFunctionsCStringPersonality, NSPointerFunctionsCopyIn, NSPointerFunctionsIntegerPersonality, NSPointerFunctionsMachVirtualMemory, NSPointerFunctionsMallocMemory, NSPointerFunctionsObjectPersonality, NSPointerFunctionsObjectPointerPersonality, NSPointerFunctionsOpaqueMemory, NSPointerFunctionsOpaquePersonality, NSPointerFunctionsStrongMemory, NSPointerFunctionsStructPersonality, NSPointerFunctionsWeakMemory, NSPointerFunctionsZeroingWeakMemory, NSPopUpArrowAtBottom, NSPopUpArrowAtCenter, NSPopUpNoArrow, NSPopoverAppearanceHUD, NSPopoverAppearanceMinimal, NSPopoverBehaviorApplicationDefined, NSPopoverBehaviorSemitransient, NSPopoverBehaviorTransient, NSPortraitOrientation, NSPositionAfter, NSPositionBefore, NSPositionBeginning, NSPositionEnd, NSPositionReplace, NSPositiveDoubleType, NSPositiveFloatType, NSPositiveIntType, NSPostASAP, NSPostNow, NSPostWhenIdle, NSPosterFontMask, NSPowerOffEventType, NSPreferencePanesDirectory, NSPressedTab, NSPrevFunctionKey, NSPrintFunctionKey, NSPrintPanelShowsCopies, NSPrintPanelShowsOrientation, NSPrintPanelShowsPageRange, NSPrintPanelShowsPageSetupAccessory, NSPrintPanelShowsPaperSize, NSPrintPanelShowsPreview, NSPrintPanelShowsPrintSelection, NSPrintPanelShowsScaling, NSPrintRenderingQualityBest, NSPrintRenderingQualityResponsive, NSPrintScreenFunctionKey, NSPrinterDescriptionDirectory, NSPrinterTableError, NSPrinterTableNotFound, NSPrinterTableOK, NSPrintingCancelled, NSPrintingFailure, NSPrintingReplyLater, NSPrintingSuccess, NSProgressIndicatorBarStyle, NSProgressIndicatorPreferredAquaThickness, NSProgressIndicatorPreferredLargeThickness, NSProgressIndicatorPreferredSmallThickness, NSProgressIndicatorPreferredThickness, NSProgressIndicatorSpinningStyle, NSPropertyListBinaryFormat_v1_0, NSPropertyListErrorMaximum, NSPropertyListErrorMinimum, NSPropertyListImmutable, NSPropertyListMutableContainers, NSPropertyListMutableContainersAndLeaves, NSPropertyListOpenStepFormat, NSPropertyListReadCorruptError, NSPropertyListReadStreamError, NSPropertyListReadUnknownVersionError, NSPropertyListWriteStreamError, NSPropertyListXMLFormat_v1_0, NSProprietaryStringEncoding, NSPushInCell, NSPushInCellMask, NSPushOnPushOffButton, NSQuarterCalendarUnit, NSRGBColorSpaceModel, NSRGBModeColorPanel, NSRadioButton, NSRadioModeMatrix, NSRandomSubelement, NSRange, NSRangeDateMode, NSRatingLevelIndicatorStyle, NSReceiverEvaluationScriptError, NSReceiversCantHandleCommandScriptError, NSRecessedBezelStyle, NSRect, NSRedoFunctionKey, NSRegularControlSize, NSRegularExpressionAllowCommentsAndWhitespace, NSRegularExpressionAnchorsMatchLines, NSRegularExpressionCaseInsensitive, NSRegularExpressionDotMatchesLineSeparators, NSRegularExpressionIgnoreMetacharacters, NSRegularExpressionSearch, NSRegularExpressionUseUnicodeWordBoundaries, NSRegularExpressionUseUnixLineSeparators, NSRegularSquareBezelStyle, NSRelativeAfter, NSRelativeBefore, NSRelevancyLevelIndicatorStyle, NSRemoteNotificationTypeAlert, NSRemoteNotificationTypeBadge, NSRemoteNotificationTypeNone, NSRemoteNotificationTypeSound, NSRemoveTraitFontAction, NSRequiredArgumentsMissingScriptError, NSResetCursorRectsRunLoopOrdering, NSResetFunctionKey, NSResizableWindowMask, NSReturnTextMovement, NSRightArrowFunctionKey, NSRightMouseDown, NSRightMouseDownMask, NSRightMouseDragged, NSRightMouseDraggedMask, NSRightMouseUp, NSRightMouseUpMask, NSRightTabStopType, NSRightTabsBezelBorder, NSRightTextAlignment, NSRightTextMovement, NSRoundBankers, NSRoundDown, NSRoundLineCapStyle, NSRoundLineJoinStyle, NSRoundPlain, NSRoundRectBezelStyle, NSRoundUp, NSRoundedBezelStyle, NSRoundedDisclosureBezelStyle, NSRoundedTokenStyle, NSRuleEditorNestingModeCompound, NSRuleEditorNestingModeList, NSRuleEditorNestingModeSimple, NSRuleEditorNestingModeSingle, NSRuleEditorRowTypeCompound, NSRuleEditorRowTypeSimple, NSRunAbortedResponse, NSRunContinuesResponse, NSRunStoppedResponse, NSSaveAsOperation, NSSaveOperation, NSSaveOptionsAsk, NSSaveOptionsNo, NSSaveOptionsYes, NSSaveToOperation, NSScaleNone, NSScaleProportionally, NSScaleToFit, NSScannedOption, NSScreenChangedEventType, NSScrollElasticityAllowed, NSScrollElasticityAutomatic, NSScrollElasticityNone, NSScrollLockFunctionKey, NSScrollViewFindBarPositionAboveContent, NSScrollViewFindBarPositionAboveHorizontalRuler, NSScrollViewFindBarPositionBelowContent, NSScrollWheel, NSScrollWheelMask, NSScrollerArrowsDefaultSetting, NSScrollerArrowsMaxEnd, NSScrollerArrowsMinEnd, NSScrollerArrowsNone, NSScrollerDecrementArrow, NSScrollerDecrementLine, NSScrollerDecrementPage, NSScrollerIncrementArrow, NSScrollerIncrementLine, NSScrollerIncrementPage, NSScrollerKnob, NSScrollerKnobSlot, NSScrollerKnobStyleDark, NSScrollerKnobStyleDefault, NSScrollerKnobStyleLight, NSScrollerNoPart, NSScrollerStyleLegacy, NSScrollerStyleOverlay, NSSearchFieldClearRecentsMenuItemTag, NSSearchFieldNoRecentsMenuItemTag, NSSearchFieldRecentsMenuItemTag, NSSearchFieldRecentsTitleMenuItemTag, NSSecondCalendarUnit, NSSegmentStyleAutomatic, NSSegmentStyleCapsule, NSSegmentStyleRoundRect, NSSegmentStyleRounded, NSSegmentStyleSmallSquare, NSSegmentStyleTexturedRounded, NSSegmentStyleTexturedSquare, NSSegmentSwitchTrackingMomentary, NSSegmentSwitchTrackingSelectAny, NSSegmentSwitchTrackingSelectOne, NSSelectByCharacter, NSSelectByParagraph, NSSelectByWord, NSSelectFunctionKey, NSSelectedTab, NSSelectingNext, NSSelectingPrevious, NSSelectionAffinityDownstream, NSSelectionAffinityUpstream, NSServiceApplicationLaunchFailedError, NSServiceApplicationNotFoundError, NSServiceErrorMaximum, NSServiceErrorMinimum, NSServiceInvalidPasteboardDataError, NSServiceMalformedServiceDictionaryError, NSServiceMiscellaneousError, NSServiceRequestTimedOutError, NSShadowlessSquareBezelStyle, NSSharedPublicDirectory, NSSharingContentScopeFull, NSSharingContentScopeItem, NSSharingContentScopePartial, NSShiftJISStringEncoding, NSShiftKeyMask, NSShowControlGlyphs, NSShowInvisibleGlyphs, NSSingleDateMode, NSSingleUnderlineStyle, NSSize, NSSizeDownFontAction, NSSizeUpFontAction, NSSmallCapsFontMask, NSSmallControlSize, NSSmallIconButtonBezelStyle, NSSmallSquareBezelStyle, NSSolarisOperatingSystem, NSSortConcurrent, NSSortStable, NSSpecialPageOrder, NSSpeechImmediateBoundary, NSSpeechSentenceBoundary, NSSpeechWordBoundary, NSSpellingStateGrammarFlag, NSSpellingStateSpellingFlag, NSSplitViewDividerStylePaneSplitter, NSSplitViewDividerStyleThick, NSSplitViewDividerStyleThin, NSSquareLineCapStyle, NSSquareStatusItemLength, NSStopFunctionKey, NSStreamEventEndEncountered, NSStreamEventErrorOccurred, NSStreamEventHasBytesAvailable, NSStreamEventHasSpaceAvailable, NSStreamEventNone, NSStreamEventOpenCompleted, NSStreamStatusAtEnd, NSStreamStatusClosed, NSStreamStatusError, NSStreamStatusNotOpen, NSStreamStatusOpen, NSStreamStatusOpening, NSStreamStatusReading, NSStreamStatusWriting, NSStringDrawingDisableScreenFontSubstitution, NSStringDrawingOneShot, NSStringDrawingTruncatesLastVisibleLine, NSStringDrawingUsesDeviceMetrics, NSStringDrawingUsesFontLeading, NSStringDrawingUsesLineFragmentOrigin, NSStringEncodingConversionAllowLossy, NSStringEncodingConversionExternalRepresentation, NSStringEnumerationByComposedCharacterSequences, NSStringEnumerationByLines, NSStringEnumerationByParagraphs, NSStringEnumerationBySentences, NSStringEnumerationByWords, NSStringEnumerationLocalized, NSStringEnumerationReverse, NSStringEnumerationSubstringNotRequired, NSSubqueryExpressionType, NSSunOSOperatingSystem, NSSwitchButton, NSSymbolStringEncoding, NSSysReqFunctionKey, NSSystemDefined, NSSystemDefinedMask, NSSystemDomainMask, NSSystemFunctionKey, NSTIFFCompressionCCITTFAX3, NSTIFFCompressionCCITTFAX4, NSTIFFCompressionJPEG, NSTIFFCompressionLZW, NSTIFFCompressionNEXT, NSTIFFCompressionNone, NSTIFFCompressionOldJPEG, NSTIFFCompressionPackBits, NSTIFFFileType, NSTabCharacter, NSTabTextMovement, NSTableColumnAutoresizingMask, NSTableColumnNoResizing, NSTableColumnUserResizingMask, NSTableViewAnimationEffectFade, NSTableViewAnimationEffectGap, NSTableViewAnimationEffectNone, NSTableViewAnimationSlideDown, NSTableViewAnimationSlideLeft, NSTableViewAnimationSlideRight, NSTableViewAnimationSlideUp, NSTableViewDashedHorizontalGridLineMask, NSTableViewDraggingDestinationFeedbackStyleNone, NSTableViewDraggingDestinationFeedbackStyleRegular, NSTableViewDraggingDestinationFeedbackStyleSourceList, NSTableViewDropAbove, NSTableViewDropOn, NSTableViewFirstColumnOnlyAutoresizingStyle, NSTableViewGridNone, NSTableViewLastColumnOnlyAutoresizingStyle, NSTableViewNoColumnAutoresizing, NSTableViewReverseSequentialColumnAutoresizingStyle, NSTableViewRowSizeStyleCustom, NSTableViewRowSizeStyleDefault, NSTableViewRowSizeStyleLarge, NSTableViewRowSizeStyleMedium, NSTableViewRowSizeStyleSmall, NSTableViewSelectionHighlightStyleNone, NSTableViewSelectionHighlightStyleRegular, NSTableViewSelectionHighlightStyleSourceList, NSTableViewSequentialColumnAutoresizingStyle, NSTableViewSolidHorizontalGridLineMask, NSTableViewSolidVerticalGridLineMask, NSTableViewUniformColumnAutoresizingStyle, NSTabletPoint, NSTabletPointEventSubtype, NSTabletPointMask, NSTabletProximity, NSTabletProximityEventSubtype, NSTabletProximityMask, NSTaskTerminationReasonExit, NSTaskTerminationReasonUncaughtSignal, NSTerminateCancel, NSTerminateLater, NSTerminateNow, NSTextBlockAbsoluteValueType, NSTextBlockBaselineAlignment, NSTextBlockBorder, NSTextBlockBottomAlignment, NSTextBlockHeight, NSTextBlockMargin, NSTextBlockMaximumHeight, NSTextBlockMaximumWidth, NSTextBlockMiddleAlignment, NSTextBlockMinimumHeight, NSTextBlockMinimumWidth, NSTextBlockPadding, NSTextBlockPercentageValueType, NSTextBlockTopAlignment, NSTextBlockWidth, NSTextCellType, NSTextCheckingAllCustomTypes, NSTextCheckingAllSystemTypes, NSTextCheckingAllTypes, NSTextCheckingTypeAddress, NSTextCheckingTypeCorrection, NSTextCheckingTypeDash, NSTextCheckingTypeDate, NSTextCheckingTypeGrammar, NSTextCheckingTypeLink, NSTextCheckingTypeOrthography, NSTextCheckingTypePhoneNumber, NSTextCheckingTypeQuote, NSTextCheckingTypeRegularExpression, NSTextCheckingTypeReplacement, NSTextCheckingTypeSpelling, NSTextCheckingTypeTransitInformation, NSTextFieldAndStepperDatePickerStyle, NSTextFieldDatePickerStyle, NSTextFieldRoundedBezel, NSTextFieldSquareBezel, NSTextFinderActionHideFindInterface, NSTextFinderActionHideReplaceInterface, NSTextFinderActionNextMatch, NSTextFinderActionPreviousMatch, NSTextFinderActionReplace, NSTextFinderActionReplaceAll, NSTextFinderActionReplaceAllInSelection, NSTextFinderActionReplaceAndFind, NSTextFinderActionSelectAll, NSTextFinderActionSelectAllInSelection, NSTextFinderActionSetSearchString, NSTextFinderActionShowFindInterface, NSTextFinderActionShowReplaceInterface, NSTextFinderMatchingTypeContains, NSTextFinderMatchingTypeEndsWith, NSTextFinderMatchingTypeFullWord, NSTextFinderMatchingTypeStartsWith, NSTextLayoutOrientationHorizontal, NSTextLayoutOrientationVertical, NSTextListPrependEnclosingMarker, NSTextReadInapplicableDocumentTypeError, NSTextReadWriteErrorMaximum, NSTextReadWriteErrorMinimum, NSTextStorageEditedAttributes, NSTextStorageEditedCharacters, NSTextTableAutomaticLayoutAlgorithm, NSTextTableFixedLayoutAlgorithm, NSTextWriteInapplicableDocumentTypeError, NSTextWritingDirectionEmbedding, NSTextWritingDirectionOverride, NSTexturedBackgroundWindowMask, NSTexturedRoundedBezelStyle, NSTexturedSquareBezelStyle, NSThickSquareBezelStyle, NSThickerSquareBezelStyle, NSTickMarkAbove, NSTickMarkBelow, NSTickMarkLeft, NSTickMarkRight, NSTimeIntervalSince1970, NSTimeZoneCalendarUnit, NSTimeZoneDatePickerElementFlag, NSTimeZoneNameStyleDaylightSaving, NSTimeZoneNameStyleGeneric, NSTimeZoneNameStyleShortDaylightSaving, NSTimeZoneNameStyleShortGeneric, NSTimeZoneNameStyleShortStandard, NSTimeZoneNameStyleStandard, NSTitledWindowMask, NSToggleButton, NSToolbarDisplayModeDefault, NSToolbarDisplayModeIconAndLabel, NSToolbarDisplayModeIconOnly, NSToolbarDisplayModeLabelOnly, NSToolbarItemVisibilityPriorityHigh, NSToolbarItemVisibilityPriorityLow, NSToolbarItemVisibilityPriorityStandard, NSToolbarItemVisibilityPriorityUser, NSToolbarSizeModeDefault, NSToolbarSizeModeRegular, NSToolbarSizeModeSmall, NSTopTabsBezelBorder, NSTouchEventSubtype, NSTouchPhaseAny, NSTouchPhaseBegan, NSTouchPhaseCancelled, NSTouchPhaseEnded, NSTouchPhaseMoved, NSTouchPhaseStationary, NSTouchPhaseTouching, NSTrackModeMatrix, NSTrackingActiveAlways, NSTrackingActiveInActiveApp, NSTrackingActiveInKeyWindow, NSTrackingActiveWhenFirstResponder, NSTrackingAssumeInside, NSTrackingCursorUpdate, NSTrackingEnabledDuringMouseDrag, NSTrackingInVisibleRect, NSTrackingMouseEnteredAndExited, NSTrackingMouseMoved, NSTrashDirectory, NSTypesetterBehavior_10_2, NSTypesetterBehavior_10_2_WithCompatibility, NSTypesetterBehavior_10_3, NSTypesetterBehavior_10_4, NSTypesetterContainerBreakAction, NSTypesetterHorizontalTabAction, NSTypesetterLatestBehavior, NSTypesetterLineBreakAction, NSTypesetterOriginalBehavior, NSTypesetterParagraphBreakAction, NSTypesetterWhitespaceAction, NSTypesetterZeroAdvancementAction, NSUIntegerMax, NSURLBookmarkCreationMinimalBookmark, NSURLBookmarkCreationPreferFileIDResolution, NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess, NSURLBookmarkCreationSuitableForBookmarkFile, NSURLBookmarkCreationWithSecurityScope, NSURLBookmarkResolutionWithSecurityScope, NSURLBookmarkResolutionWithoutMounting, NSURLBookmarkResolutionWithoutUI, NSURLCacheStorageAllowed, NSURLCacheStorageAllowedInMemoryOnly, NSURLCacheStorageNotAllowed, NSURLCredentialPersistenceForSession, NSURLCredentialPersistenceNone, NSURLCredentialPersistencePermanent, NSURLErrorBadServerResponse, NSURLErrorBadURL, NSURLErrorCallIsActive, NSURLErrorCancelled, NSURLErrorCannotCloseFile, NSURLErrorCannotConnectToHost, NSURLErrorCannotCreateFile, NSURLErrorCannotDecodeContentData, NSURLErrorCannotDecodeRawData, NSURLErrorCannotFindHost, NSURLErrorCannotLoadFromNetwork, NSURLErrorCannotMoveFile, NSURLErrorCannotOpenFile, NSURLErrorCannotParseResponse, NSURLErrorCannotRemoveFile, NSURLErrorCannotWriteToFile, NSURLErrorClientCertificateRejected, NSURLErrorClientCertificateRequired, NSURLErrorDNSLookupFailed, NSURLErrorDataLengthExceedsMaximum, NSURLErrorDataNotAllowed, NSURLErrorDownloadDecodingFailedMidStream, NSURLErrorDownloadDecodingFailedToComplete, NSURLErrorFileDoesNotExist, NSURLErrorFileIsDirectory, NSURLErrorHTTPTooManyRedirects, NSURLErrorInternationalRoamingOff, NSURLErrorNetworkConnectionLost, NSURLErrorNoPermissionsToReadFile, NSURLErrorNotConnectedToInternet, NSURLErrorRedirectToNonExistentLocation, NSURLErrorRequestBodyStreamExhausted, NSURLErrorResourceUnavailable, NSURLErrorSecureConnectionFailed, NSURLErrorServerCertificateHasBadDate, NSURLErrorServerCertificateHasUnknownRoot, NSURLErrorServerCertificateNotYetValid, NSURLErrorServerCertificateUntrusted, NSURLErrorTimedOut, NSURLErrorUnknown, NSURLErrorUnsupportedURL, NSURLErrorUserAuthenticationRequired, NSURLErrorUserCancelledAuthentication, NSURLErrorZeroByteResource, NSURLHandleLoadFailed, NSURLHandleLoadInProgress, NSURLHandleLoadSucceeded, NSURLHandleNotLoaded, NSURLNetworkServiceTypeBackground, NSURLNetworkServiceTypeDefault, NSURLNetworkServiceTypeVideo, NSURLNetworkServiceTypeVoIP, NSURLNetworkServiceTypeVoice, NSURLRequestReloadIgnoringCacheData, NSURLRequestReloadIgnoringLocalAndRemoteCacheData, NSURLRequestReloadIgnoringLocalCacheData, NSURLRequestReloadRevalidatingCacheData, NSURLRequestReturnCacheDataDontLoad, NSURLRequestReturnCacheDataElseLoad, NSURLRequestUseProtocolCachePolicy, NSURLResponseUnknownLength, NSUTF16BigEndianStringEncoding, NSUTF16LittleEndianStringEncoding, NSUTF16StringEncoding, NSUTF32BigEndianStringEncoding, NSUTF32LittleEndianStringEncoding, NSUTF32StringEncoding, NSUTF8StringEncoding, NSUbiquitousKeyValueStoreAccountChange, NSUbiquitousKeyValueStoreInitialSyncChange, NSUbiquitousKeyValueStoreQuotaViolationChange, NSUbiquitousKeyValueStoreServerChange, NSUnboldFontMask, NSUncachedRead, NSUndefinedDateComponent, NSUnderlinePatternDash, NSUnderlinePatternDashDot, NSUnderlinePatternDashDotDot, NSUnderlinePatternDot, NSUnderlinePatternSolid, NSUnderlineStyleDouble, NSUnderlineStyleNone, NSUnderlineStyleSingle, NSUnderlineStyleThick, NSUndoCloseGroupingRunLoopOrdering, NSUndoFunctionKey, NSUnicodeStringEncoding, NSUnifiedTitleAndToolbarWindowMask, NSUnionSetExpressionType, NSUnitalicFontMask, NSUnknownColorSpaceModel, NSUnknownKeyScriptError, NSUnknownKeySpecifierError, NSUnknownPageOrder, NSUnknownPointingDevice, NSUnscaledWindowMask, NSUpArrowFunctionKey, NSUpTextMovement, NSUpdateWindowsRunLoopOrdering, NSUserCancelledError, NSUserDirectory, NSUserDomainMask, NSUserFunctionKey, NSUserInterfaceLayoutDirectionLeftToRight, NSUserInterfaceLayoutDirectionRightToLeft, NSUserNotificationActivationTypeActionButtonClicked, NSUserNotificationActivationTypeContentsClicked, NSUserNotificationActivationTypeNone, NSUtilityWindowMask, NSValidationErrorMaximum, NSValidationErrorMinimum, NSVariableExpressionType, NSVariableStatusItemLength, NSVerticalRuler, NSViaPanelFontAction, NSViewHeightSizable, NSViewLayerContentsPlacementBottom, NSViewLayerContentsPlacementBottomLeft, NSViewLayerContentsPlacementBottomRight, NSViewLayerContentsPlacementCenter, NSViewLayerContentsPlacementLeft, NSViewLayerContentsPlacementRight, NSViewLayerContentsPlacementScaleAxesIndependently, NSViewLayerContentsPlacementScaleProportionallyToFill, NSViewLayerContentsPlacementScaleProportionallyToFit, NSViewLayerContentsPlacementTop, NSViewLayerContentsPlacementTopLeft, NSViewLayerContentsPlacementTopRight, NSViewLayerContentsRedrawBeforeViewResize, NSViewLayerContentsRedrawDuringViewResize, NSViewLayerContentsRedrawNever, NSViewLayerContentsRedrawOnSetNeedsDisplay, NSViewMaxXMargin, NSViewMaxYMargin, NSViewMinXMargin, NSViewMinYMargin, NSViewNotSizable, NSViewWidthSizable, NSVolumeEnumerationProduceFileReferenceURLs, NSVolumeEnumerationSkipHiddenVolumes, NSWantsBidiLevels, NSWarningAlertStyle, NSWeekCalendarUnit, NSWeekOfMonthCalendarUnit, NSWeekOfYearCalendarUnit, NSWeekdayCalendarUnit, NSWeekdayOrdinalCalendarUnit, NSWheelModeColorPanel, NSWidthInsensitiveSearch, NSWindowAbove, NSWindowAnimationBehaviorAlertPanel, NSWindowAnimationBehaviorDefault, NSWindowAnimationBehaviorDocumentWindow, NSWindowAnimationBehaviorNone, NSWindowAnimationBehaviorUtilityWindow, NSWindowBackingLocationDefault, NSWindowBackingLocationMainMemory, NSWindowBackingLocationVideoMemory, NSWindowBelow, NSWindowCloseButton, NSWindowCollectionBehaviorCanJoinAllSpaces, NSWindowCollectionBehaviorDefault, NSWindowCollectionBehaviorFullScreenAuxiliary, NSWindowCollectionBehaviorFullScreenPrimary, NSWindowCollectionBehaviorIgnoresCycle, NSWindowCollectionBehaviorManaged, NSWindowCollectionBehaviorMoveToActiveSpace, NSWindowCollectionBehaviorParticipatesInCycle, NSWindowCollectionBehaviorStationary, NSWindowCollectionBehaviorTransient, NSWindowDepthOnehundredtwentyeightBitRGB, NSWindowDepthSixtyfourBitRGB, NSWindowDepthTwentyfourBitRGB, NSWindowDocumentIconButton, NSWindowDocumentVersionsButton, NSWindowExposedEventType, NSWindowFullScreenButton, NSWindowMiniaturizeButton, NSWindowMovedEventType, NSWindowNumberListAllApplications, NSWindowNumberListAllSpaces, NSWindowOut, NSWindowSharingNone, NSWindowSharingReadOnly, NSWindowSharingReadWrite, NSWindowToolbarButton, NSWindowZoomButton, NSWindows95InterfaceStyle, NSWindows95OperatingSystem, NSWindowsCP1250StringEncoding, NSWindowsCP1251StringEncoding, NSWindowsCP1252StringEncoding, NSWindowsCP1253StringEncoding, NSWindowsCP1254StringEncoding, NSWindowsNTOperatingSystem, NSWorkspaceLaunchAllowingClassicStartup, NSWorkspaceLaunchAndHide, NSWorkspaceLaunchAndHideOthers, NSWorkspaceLaunchAndPrint, NSWorkspaceLaunchAsync, NSWorkspaceLaunchDefault, NSWorkspaceLaunchInhibitingBackgroundOnly, NSWorkspaceLaunchNewInstance, NSWorkspaceLaunchPreferringClassic, NSWorkspaceLaunchWithoutActivation, NSWorkspaceLaunchWithoutAddingToRecents, NSWrapCalendarComponents, NSWritingDirectionLeftToRight, NSWritingDirectionNatural, NSWritingDirectionRightToLeft, NSXMLAttributeCDATAKind, NSXMLAttributeDeclarationKind, NSXMLAttributeEntitiesKind, NSXMLAttributeEntityKind, NSXMLAttributeEnumerationKind, NSXMLAttributeIDKind, NSXMLAttributeIDRefKind, NSXMLAttributeIDRefsKind, NSXMLAttributeKind, NSXMLAttributeNMTokenKind, NSXMLAttributeNMTokensKind, NSXMLAttributeNotationKind, NSXMLCommentKind, NSXMLDTDKind, NSXMLDocumentHTMLKind, NSXMLDocumentIncludeContentTypeDeclaration, NSXMLDocumentKind, NSXMLDocumentTextKind, NSXMLDocumentTidyHTML, NSXMLDocumentTidyXML, NSXMLDocumentValidate, NSXMLDocumentXHTMLKind, NSXMLDocumentXInclude, NSXMLDocumentXMLKind, NSXMLElementDeclarationAnyKind, NSXMLElementDeclarationElementKind, NSXMLElementDeclarationEmptyKind, NSXMLElementDeclarationKind, NSXMLElementDeclarationMixedKind, NSXMLElementDeclarationUndefinedKind, NSXMLElementKind, NSXMLEntityDeclarationKind, NSXMLEntityGeneralKind, NSXMLEntityParameterKind, NSXMLEntityParsedKind, NSXMLEntityPredefined, NSXMLEntityUnparsedKind, NSXMLInvalidKind, NSXMLNamespaceKind, NSXMLNodeCompactEmptyElement, NSXMLNodeExpandEmptyElement, NSXMLNodeIsCDATA, NSXMLNodeLoadExternalEntitiesAlways, NSXMLNodeLoadExternalEntitiesNever, NSXMLNodeLoadExternalEntitiesSameOriginOnly, NSXMLNodeOptionsNone, NSXMLNodePreserveAll, NSXMLNodePreserveAttributeOrder, NSXMLNodePreserveCDATA, NSXMLNodePreserveCharacterReferences, NSXMLNodePreserveDTD, NSXMLNodePreserveEmptyElements, NSXMLNodePreserveEntities, NSXMLNodePreserveNamespaceOrder, NSXMLNodePreservePrefixes, NSXMLNodePreserveQuotes, NSXMLNodePreserveWhitespace, NSXMLNodePrettyPrint, NSXMLNodeUseDoubleQuotes, NSXMLNodeUseSingleQuotes, NSXMLNotationDeclarationKind, NSXMLParserAttributeHasNoValueError, NSXMLParserAttributeListNotFinishedError, NSXMLParserAttributeListNotStartedError, NSXMLParserAttributeNotFinishedError, NSXMLParserAttributeNotStartedError, NSXMLParserAttributeRedefinedError, NSXMLParserCDATANotFinishedError, NSXMLParserCharacterRefAtEOFError, NSXMLParserCharacterRefInDTDError, NSXMLParserCharacterRefInEpilogError, NSXMLParserCharacterRefInPrologError, NSXMLParserCommentContainsDoubleHyphenError, NSXMLParserCommentNotFinishedError, NSXMLParserConditionalSectionNotFinishedError, NSXMLParserConditionalSectionNotStartedError, NSXMLParserDOCTYPEDeclNotFinishedError, NSXMLParserDelegateAbortedParseError, NSXMLParserDocumentStartError, NSXMLParserElementContentDeclNotFinishedError, NSXMLParserElementContentDeclNotStartedError, NSXMLParserEmptyDocumentError, NSXMLParserEncodingNotSupportedError, NSXMLParserEntityBoundaryError, NSXMLParserEntityIsExternalError, NSXMLParserEntityIsParameterError, NSXMLParserEntityNotFinishedError, NSXMLParserEntityNotStartedError, NSXMLParserEntityRefAtEOFError, NSXMLParserEntityRefInDTDError, NSXMLParserEntityRefInEpilogError, NSXMLParserEntityRefInPrologError, NSXMLParserEntityRefLoopError, NSXMLParserEntityReferenceMissingSemiError, NSXMLParserEntityReferenceWithoutNameError, NSXMLParserEntityValueRequiredError, NSXMLParserEqualExpectedError, NSXMLParserExternalStandaloneEntityError, NSXMLParserExternalSubsetNotFinishedError, NSXMLParserExtraContentError, NSXMLParserGTRequiredError, NSXMLParserInternalError, NSXMLParserInvalidCharacterError, NSXMLParserInvalidCharacterInEntityError, NSXMLParserInvalidCharacterRefError, NSXMLParserInvalidConditionalSectionError, NSXMLParserInvalidDecimalCharacterRefError, NSXMLParserInvalidEncodingError, NSXMLParserInvalidEncodingNameError, NSXMLParserInvalidHexCharacterRefError, NSXMLParserInvalidURIError, NSXMLParserLTRequiredError, NSXMLParserLTSlashRequiredError, NSXMLParserLessThanSymbolInAttributeError, NSXMLParserLiteralNotFinishedError, NSXMLParserLiteralNotStartedError, NSXMLParserMisplacedCDATAEndStringError, NSXMLParserMisplacedXMLDeclarationError, NSXMLParserMixedContentDeclNotFinishedError, NSXMLParserMixedContentDeclNotStartedError, NSXMLParserNAMERequiredError, NSXMLParserNMTOKENRequiredError, NSXMLParserNamespaceDeclarationError, NSXMLParserNoDTDError, NSXMLParserNotWellBalancedError, NSXMLParserNotationNotFinishedError, NSXMLParserNotationNotStartedError, NSXMLParserOutOfMemoryError, NSXMLParserPCDATARequiredError, NSXMLParserParsedEntityRefAtEOFError, NSXMLParserParsedEntityRefInEpilogError, NSXMLParserParsedEntityRefInInternalError, NSXMLParserParsedEntityRefInInternalSubsetError, NSXMLParserParsedEntityRefInPrologError, NSXMLParserParsedEntityRefMissingSemiError, NSXMLParserParsedEntityRefNoNameError, NSXMLParserPrematureDocumentEndError, NSXMLParserProcessingInstructionNotFinishedError, NSXMLParserProcessingInstructionNotStartedError, NSXMLParserPublicIdentifierRequiredError, NSXMLParserSeparatorRequiredError, NSXMLParserSpaceRequiredError, NSXMLParserStandaloneValueError, NSXMLParserStringNotClosedError, NSXMLParserStringNotStartedError, NSXMLParserTagNameMismatchError, NSXMLParserURIFragmentError, NSXMLParserURIRequiredError, NSXMLParserUndeclaredEntityError, NSXMLParserUnfinishedTagError, NSXMLParserUnknownEncodingError, NSXMLParserUnparsedEntityError, NSXMLParserXMLDeclNotFinishedError, NSXMLParserXMLDeclNotStartedError, NSXMLProcessingInstructionKind, NSXMLTextKind, NSXPCConnectionErrorMaximum, NSXPCConnectionErrorMinimum, NSXPCConnectionInterrupted, NSXPCConnectionInvalid, NSXPCConnectionPrivileged, NSXPCConnectionReplyInvalid, NSYearCalendarUnit, NSYearForWeekOfYearCalendarUnit, NSYearMonthDatePickerElementFlag, NSYearMonthDayDatePickerElementFlag, NSZeroPoint, NSZeroRect, NS_BLOCKS_AVAILABLE, NS_BigEndian, NS_LittleEndian, NS_UNICHAR_IS_EIGHT_BIT, NS_UnknownByteOrder, SEVERITY_ERROR, SEVERITY_SUCCESS, S_FALSE, S_OK, TRUE
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Cocoa
#CFRangeMake, #CGRectMake, #NSMakePoint, #NSMakeRange, #NSMakeRect, #NSMakeSize, attach_nsstring_getter, #const_missing, #instance_for, #instances
Constructor Details
#initialize(allocated = false) ⇒ NSObject
Returns a new instance of NSObject.
62
63
64
65
66
67
68
|
# File 'lib/cocoa/extensions.rb', line 62
def initialize allocated=false
@klass = ObjC.objc_getClass(self.class.native_name)
unless allocated
self.object = @klass
new
end
end
|
Instance Attribute Details
#klass ⇒ Object
Returns the value of attribute klass.
82
83
84
|
# File 'lib/cocoa/helpers.rb', line 82
def klass
@klass
end
|
#object ⇒ Object
Returns the value of attribute object.
83
84
85
|
# File 'lib/cocoa/helpers.rb', line 83
def object
@object
end
|
Class Method Details
.alloc ⇒ Object
38
39
40
41
42
|
# File 'lib/cocoa/extensions.rb', line 38
def self.alloc
instance = new(true)
instance.object = ObjC.msgSend_pointer(get_class,"alloc")
instance
end
|
.attach_method(method, *_params) ⇒ Object
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
# File 'lib/cocoa/helpers.rb', line 124
def self.attach_method method,*_params
return if method==:class
@method_specs ||= {}
@method_specs[method] = []
[_params].flatten.each do |spec|
@method_specs[method] << ObjC::MethodDef.new(method,spec)
end
define_method method do |*args|
klass = self.class; klass = klass.superclass while !klass.instance_methods(false).include?(method)
spec = klass.instance_variable_get(:@method_specs)[method]
matching = if args.size <= 1
matching = spec.select do |m|
m.types.size == args.size
end
else
matching = if args.last.is_a? Hash
spec.select do |m|
args.last.keys == m.names
end
else
raise "hell" unless args.size == 1
spec.select do |m|
m.types.size == 1
end
end
end
raise "hell" unless matching.size == 1
m = matching.first
m.call(self,@object,*args)
end
end
|
.attach_singular_method(method, *__params) ⇒ Object
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
# File 'lib/cocoa/helpers.rb', line 85
def self.attach_singular_method method,*__params
return if method == :superclass
return if method == :class
return if method == :new
@@singular_specs ||= {}
@@singular_specs[method] = []
[__params].flatten.each do |spec|
@@singular_specs[method] << ObjC::MethodDef.new(method,spec)
end
define_singleton_method method do |*args|
matching = if args.size <= 1
matching = @@singular_specs[method].select do |m|
m.types.size == args.size
end
else
matching = if args.last.is_a? Hash
@@singular_specs[method].select do |m|
args.last.keys == m.names
end
else
if args.size == 1
@@singular_specs[method].select do |m|
m.types.size == 1
end
else
@@singular_specs[method].select do |m|
m.variadic? && m.types.size == 1
end
end
end
end
raise "hell" unless matching.size == 1
m = matching.first
m.call(self,ObjC.objc_getClass(name.split('::').last),*args)
end
end
|
.const_missing(name) ⇒ Object
24
25
26
|
# File 'lib/cocoa/extensions.rb', line 24
def self.const_missing name
Cocoa.const_get name
end
|
.get_class ⇒ Object
58
59
60
|
# File 'lib/cocoa/extensions.rb', line 58
def self.get_class
ObjC.objc_getClass(native_name)
end
|
.inherited(parent) ⇒ Object
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/cocoa/extensions.rb', line 44
def self.inherited(parent)
if parent.name
klass = begin
Cocoa::const_get(parent.native_name)
ObjC.objc_getClass(parent.native_name)
rescue
end
unless klass && klass.address != 0
klass = ObjC.objc_allocateClassPair(ObjC.objc_getClass(native_name),parent.native_name,0)
ObjC.objc_registerClassPair(klass)
end
end
end
|
.method_added(name) ⇒ Object
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
|
# File 'lib/cocoa/helpers.rb', line 192
def self.method_added(name)
return if name == :== return if name.to_s[-1] == '='
return if caller[1].split('`').last[0..-2] == 'method_added' return if caller.first.split('`').last[0..-2] == 'define_method' return if caller.first.split('`').last[0..-2] == 'attach_method'
keys = instance_method(name).parameters.select{ |param| param.first == :key }.map{ |param| param.last }
ruby_name = name
if keys.size > 0
ruby_name = "_#{name}_with_#{keys.join('_and_')}".to_sym
alias_method ruby_name, name
end
defs = method_defs name
defs ||= ObjC::MethodDef.new(name, :names => [], :types => ['@'], :retval => 'v')
[defs].flatten.each do |m|
@callbacks ||= []
@callbacks << Proc.new do |this,cmd,*args|
m.ruby_name = ruby_name
begin
instance = Cocoa.instances[this.address]
params = instance_method(ruby_name).parameters
m.callback(instance,params,args)
rescue => e
puts e.message
puts e.backtrace
end
end
callback_name = "#{self.name.gsub('::','__')}_#{m.selector.gsub(/:/,'_')}".to_sym
add_method = "add_#{callback_name}".to_sym
native_name = begin
arr = self.name.split('::')
native = if arr.first == 'Cocoa'
arr.last
else
self.name.gsub(/::/,'__')
end
native
end
ObjC.callback callback_name, [:pointer, :pointer]+m.ffi_types, m.ffi_return_type
ObjC.attach_function add_method, :class_addMethod, [:pointer,:pointer,callback_name,:string], :void
ObjC.send(add_method,ObjC.objc_getClass(native_name),ObjC.sel_registerName(m.selector),@callbacks.last,m.objc_types)
end
end
|
.method_defs(method) ⇒ Object
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
# File 'lib/cocoa/helpers.rb', line 162
def self.method_defs method
klass = self
method_specs = klass.instance_variable_get(:@method_specs)
while klass && (!method_specs || !method_specs[method])
klass = klass.superclass
method_specs = klass.instance_variable_get(:@method_specs)
end
return nil unless method_specs
spec = method_specs[method]
params = instance_method(method).parameters
keys = params.select{ |param| param.first == :key }.map{ |param| param.last }
if params.size > 0 && params.last.first == :rest
filtered = spec.select do |m|
((m.types.size == 0 && keys.size == 0) || (m.types.size > keys.size)) &&
(m.names[0,keys.size-1] || []) == keys
end
return nil if filtered.size == 0
filtered
else
filtered = spec.select do |m|
((m.types.size == 0 && keys.size == 0) || (m.types.size == keys.size+1)) &&
m.names == keys
end
return nil if filtered.size == 0
raise filtered.inspect unless filtered.size == 1
filtered.first
end
end
|
.native_name ⇒ Object
28
29
30
31
32
33
34
35
36
|
# File 'lib/cocoa/extensions.rb', line 28
def self.native_name
arr = name.split('::')
native = if arr.first == 'Cocoa'
arr.last
else
name.gsub(/::/,'__')
end
native
end
|
Instance Method Details
#autorelease ⇒ Object
80
81
82
83
|
# File 'lib/cocoa/extensions.rb', line 80
def autorelease
self.object = ObjC.msgSend_pointer(@object,"autorelease")
self
end
|
#init ⇒ Object
70
71
72
73
|
# File 'lib/cocoa/extensions.rb', line 70
def init
self.object = ObjC.msgSend_pointer(@object,"init")
self
end
|
#new ⇒ Object
75
76
77
78
|
# File 'lib/cocoa/extensions.rb', line 75
def new
self.object = ObjC.msgSend_pointer(@object,"new")
self
end
|