Classes

NSAffineTransform
NSAppleEventDescriptor
NSAppleEventManager
NSAppleScript
NSArchiver
NSArray
NSAssertionHandler
NSAttributedString
NSAutoreleasePool
NSBackgroundActivityScheduler
NSBlockOperation
NSBundle
NSByteCountFormatter
NSCache
NSCachedURLResponse
NSCalendar
NSCalendarDate
NSCharacterSet
NSClassDescription
NSCoder
NSComparisonPredicate
NSCompoundPredicate
NSCondition
NSConditionLock
NSConnection
NSCountedSet
NSData
NSDate
NSDateComponents
NSDateComponentsFormatter
NSDateFormatter
NSDateInterval
NSDateIntervalFormatter
NSDecimalNumber
NSDecimalNumberHandler
NSDeserializer
NSDictionary
NSDimension
NSDirectoryEnumerator
NSDistantObject
NSDistributedLock
NSDistributedNotificationCenter
NSEnergyFormatter
NSEnumerator
NSError
NSException
NSExpression
NSExtensionContext
NSExtensionItem
NSFileAccessIntent
NSFileCoordinator
NSFileHandle
NSFileManager
NSFileVersion
NSFileWrapper
NSFormatter
NSGarbageCollector
NSHTTPCookie
NSHTTPCookieStorage
NSHTTPURLResponse
NSHashTable
NSHost
NSISO8601DateFormatter
NSIndexPath
NSIndexSet
NSInputStream
NSInvocation
NSInvocationOperation
NSItemProvider
NSItemProviderReadingWriting
NSJSONSerialization
NSKeyedArchiver
NSKeyedUnarchiver
NSLengthFormatter
NSLinguisticTagger
NSLocale
NSLock
NSMapTable
NSMassFormatter
NSMeasurement
NSMeasurementFormatter
NSMessagePort
NSMessagePortNameServer
NSMetadataItem
NSMetadataQuery
NSMetadataQueryAttributeValueTuple
NSMetadataQueryResultGroup
NSMethodSignature
NSMutableArray
NSMutableAttributedString
NSMutableCharacterSet
NSMutableData
NSMutableDictionary
NSMutableIndexSet
NSMutableOrderedSet
NSMutableSet
NSMutableString
NSMutableURLRequest
NSNetService
NSNetServiceBrowser
NSNotification
NSNotificationCenter
NSNotificationQueue
NSNull
NSNumber
NSNumberFormatter
NSObject
NSObjectScripting
NSOperation
NSOperationQueue
NSOrderedSet
NSOrthography
NSOutputStream
NSPersonNameComponents
NSPersonNameComponentsFormatter
NSPipe
NSPointerArray
NSPointerFunctions
NSPort
NSPortCoder
NSPortMessage
NSPortNameServer
NSPredicate
NSProcessInfo
NSProgress
NSPropertyListSerialization
NSProtocolChecker
NSProxy
NSRecursiveLock
NSRegularExpression
NSRunLoop
NSScanner
NSScriptClassDescription
NSScriptCoercionHandler
NSScriptCommand
NSScriptCommandDescription
NSScriptExecutionContext
NSScriptKeyValueCoding
NSScriptObjectSpecifiers
NSScriptStandardSuiteCommands
NSScriptSuiteRegistry
NSSerializer
NSSet
NSSocketPort
NSSocketPortNameServer
NSSortDescriptor
NSSpellServer
NSStream
NSString
NSTask
NSTextCheckingResult
NSThread
NSTimeZone
NSTimeZoneDetail
NSTimer
NSURL
NSURLAuthenticationChallenge
NSURLCache
NSURLComponents
NSURLConnection
NSURLCredential
NSURLCredentialStorage
NSURLDownload
NSURLHandle
NSURLProtectionSpace
NSURLProtocol
NSURLQueryItem
NSURLRequest
NSURLResponse
NSURLSessionConfiguration
NSURLSessionDataTask
NSURLSessionDownloadTask
NSURLSessionStreamTask
NSURLSessionTask
NSURLSessionUploadTask
NSUUID
NSUbiquitousKeyValueStore
NSUnarchiver
NSUndoManager
NSUnit
NSUnitAcceleration
NSUnitAngle
NSUnitArea
NSUnitConcentrationMass
NSUnitConverter
NSUnitConverterLinear
NSUnitDispersion
NSUnitDuration
NSUnitElectricCharge
NSUnitElectricCurrent
NSUnitElectricPotentialDifference
NSUnitElectricResistance
NSUnitEnergy
NSUnitFrequency
NSUnitFuelEfficiency
NSUnitIlluminance
NSUnitLength
NSUnitMass
NSUnitPower
NSUnitPressure
NSUnitSpeed
NSUnitTemperature
NSUnitVolume
NSUserActivity
NSUserDefaults
NSUserNotification
NSUserNotificationCenter
NSUserScriptTask
NSValue
NSValueTransformer
NSXMLDTD
NSXMLDTDNode
NSXMLDocument
NSXMLElement
NSXMLNode
NSXMLParser
NSXPCConnection
NSXPCInterface
NSXPCListener
NSXPCListenerEndpoint
NXConstantString

Protocols

<GSLogDelegate>
<NSCacheDelegate>
<NSCoding>
<NSCopying>
<NSDecimalNumberBehaviors>
<NSDiscardableContent>
<NSExtensionRequestHandling>
<NSFastEnumeration>
<NSFileManagerDelegate>
<NSFilePresenter>
<NSItemProviderReading>
<NSItemProviderWriting>
<NSLocking>
<NSMetadataQueryDelegate>
<NSMutableCopying>
<NSNetServiceBrowserDelegate>
<NSNetServiceDelegate>
<NSObjCTypeSerializationCallBack>
<NSObject>
<NSProgressReporting>
<NSSecureCoding>
<NSStreamDelegate>
<NSURLAuthenticationChallengeSender>
<NSURLConnectionDataDelegate>
<NSURLHandleClient>
<NSURLProtocolClient>
<NSURLSessionDataDelegate>
<NSURLSessionDelegate>
<NSURLSessionDownloadDelegate>
<NSURLSessionTaskDelegate>
<NSUserNotificationCenterDelegate>
<NSXMLParserDelegate>
<NSXPCListenerDelegate>
<NSXPCProxyCreating>
<RunLoopEvents>
(GSTraceLocks)
(NSComparisonMethods)
(NSConnectionDelegate)
(NSErrorRecoveryAttempting)
(NSFileManagerDelegate)
(NSFileManagerHandler)
(NSFilePresenter)
(NSKeyValueCoding)
(NSMetadataQueryDelegate)
(NSNetServiceBrowserDelegateMethods)
(NSNetServiceDelegateMethods)
(NSSpellServerDelegate)
(NSStreamDelegate)
(NSUserNotificationCenterDelegateMethods)
(RunLoopEvents)
(TimedPerformers)

Constants

GSCACertificateFilePath
GSConfigDomain
GSFileHandleConnectCompletionNotification
GSFileHandleNotificationError
GSFileHandleWriteCompletionNotification
GSHTTPPropertyCertificateFileKey
GSHTTPPropertyKeyFileKey
GSHTTPPropertyLocalHostKey
GSHTTPPropertyMethodKey
GSHTTPPropertyPasswordKey
GSHTTPPropertyProxyHostKey
GSHTTPPropertyProxyPortKey
GSLocale
GSNetworkNotificationCenterType
GSPublicNotificationCenterType
GSTLSCAFile
GSTLSCertificateFile
GSTLSCertificateKeyFile
GSTLSCertificateKeyPassword
GSTLSDebug
GSTLSIssuers
GSTLSOwners
GSTLSPriority
GSTLSRemoteHosts
GSTLSRevokeFile
GSTLSServerName
GSTLSVerify
NSAMPMDesignation
NSArgumentDomain
NSAssertionHandlerKey
NSBuddhistCalendar
NSBundleDidLoadNotification
NSCalendarIdentifierBuddhist
NSCalendarIdentifierChinese
NSCalendarIdentifierCoptic
NSCalendarIdentifierEthiopicAmeteAlem
NSCalendarIdentifierEthiopicAmeteMihret
NSCalendarIdentifierGregorian
NSCalendarIdentifierHebrew
NSCalendarIdentifierISO8601
NSCalendarIdentifierIndian
NSCalendarIdentifierIslamic
NSCalendarIdentifierIslamicCivil
NSCalendarIdentifierIslamicTabular
NSCalendarIdentifierIslamicUmmAlQura
NSCalendarIdentifierJapanese
NSCalendarIdentifierPersian
NSCalendarIdentifierRepublicOfChina
NSCharacterConversionException
NSChineseCalendar
NSClassDescriptionNeededForClassNotification
NSConnectionDidDieNotification
NSConnectionDidInitializeNotification
NSConnectionLocalCount
NSConnectionProxyCount
NSConnectionRepliesReceived
NSConnectionRepliesSent
NSConnectionReplyMode
NSConnectionRequestsReceived
NSConnectionRequestsSent
NSCurrencyString
NSCurrencySymbol
NSCurrentLocaleDidChangeNotification
NSDateFormatString
NSDateTimeOrdering
NSDecimalDigits
NSDecimalSeparator
NSDestinationInvalidException
NSEarlierTimeDesignations
NSEdgeInsetsZero
NSErrorFailingURLStringKey
NSExtensionHostDidBecomeActiveNotification
NSExtensionHostDidEnterBackgroundNotification
NSExtensionHostWillEnterForegroundNotification
NSExtensionHostWillResignActiveNotification
NSExtensionItemAttachmentsKey
NSExtensionItemAttributedContentTextKey
NSExtensionItemAttributedTitleKey
NSExtensionItemsAndErrorsKey
NSExtensionJavaScriptFinalizeArgumentKey
NSExtensionJavaScriptPreprocessingResultsKey
NSFailedAuthenticationException
NSFileAppendOnly
NSFileCreationDate
NSFileDeviceIdentifier
NSFileExtensionHidden
NSFileGroupOwnerAccountID
NSFileGroupOwnerAccountName
NSFileHFSCreatorCode
NSFileHFSTypeCode
NSFileHandleConnectionAcceptedNotification
NSFileHandleDataAvailableNotification
NSFileHandleNotificationDataItem
NSFileHandleNotificationFileHandleItem
NSFileHandleNotificationMonitorModes
NSFileHandleOperationException
NSFileHandleReadCompletionNotification
NSFileHandleReadToEndOfFileCompletionNotification
NSFileImmutable
NSFileModificationDate
NSFileOwnerAccountID
NSFileOwnerAccountName
NSFilePathErrorKey
NSFilePosixPermissions
NSFileReferenceCount
NSFileSize
NSFileSystemFileNumber
NSFileSystemFreeNodes
NSFileSystemFreeSize
NSFileSystemNodes
NSFileSystemNumber
NSFileSystemSize
NSFileType
NSFileTypeBlockSpecial
NSFileTypeCharacterSpecial
NSFileTypeDirectory
NSFileTypeFifo
NSFileTypeRegular
NSFileTypeSocket
NSFileTypeSymbolicLink
NSFileTypeUnknown
NSFormalName
NSGenericException
NSGlobalDomain
NSGrammarCorrections
NSGrammarRange
NSGrammarUserDescription
NSGregorianCalendar
NSHTTPCookieComment
NSHTTPCookieCommentURL
NSHTTPCookieDiscard
NSHTTPCookieDomain
NSHTTPCookieExpires
NSHTTPCookieManagerAcceptPolicyChangedNotification
NSHTTPCookieManagerCookiesChangedNotification
NSHTTPCookieMaximumAge
NSHTTPCookieName
NSHTTPCookieOriginURL
NSHTTPCookiePath
NSHTTPCookiePort
NSHTTPCookieSecure
NSHTTPCookieValue
NSHTTPCookieVersion
NSHTTPPropertyErrorPageDataKey
NSHTTPPropertyRedirectionHeadersKey
NSHTTPPropertyServerHTTPVersionKey
NSHTTPPropertyStatusCodeKey
NSHTTPPropertyStatusReasonKey
NSHebrewCalendar
NSHourNameDesignations
NSISO8601Calendar
NSInconsistentArchiveException
NSIndianCalendar
NSIntHashCallBacks
NSIntMapKeyCallBacks
NSIntMapValueCallBacks
NSIntegerHashCallBacks
NSIntegerMapKeyCallBacks
NSIntegerMapValueCallBacks
NSInternalInconsistencyException
NSInternationalCurrencyString
NSInvalidArchiveOperationException
NSInvalidArgumentException
NSInvalidReceivePortException
NSInvalidSendPortException
NSInvalidUnarchiveOperationException
NSInvocationOperationCancelledException
NSInvocationOperationVoidResultException
NSIsNilTransformerName
NSIsNotNilTransformerName
NSIslamicCalendar
NSIslamicCivilCalendar
NSItemProviderErrorDomain
NSItemProviderPreferredImageSizeKey
NSJapaneseCalendar
NSKeyValueChangeIndexesKey
NSKeyValueChangeKindKey
NSKeyValueChangeNewKey
NSKeyValueChangeNotificationIsPriorKey
NSKeyValueChangeOldKey
NSLanguageCode
NSLanguageName
NSLaterTimeDesignations
NSLoadedClasses
NSLocalNotificationCenterType
NSLocaleAlternateQuotationBeginDelimiterKey
NSLocaleAlternateQuotationEndDelimiterKey
NSLocaleCalendar
NSLocaleCalendarIdentifier
NSLocaleCollationIdentifier
NSLocaleCollatorIdentifier
NSLocaleCountryCode
NSLocaleCurrencyCode
NSLocaleCurrencySymbol
NSLocaleDecimalSeparator
NSLocaleExemplarCharacterSet
NSLocaleGroupingSeparator
NSLocaleIdentifier
NSLocaleLanguageCode
NSLocaleMeasurementSystem
NSLocaleQuotationBeginDelimiterKey
NSLocaleQuotationEndDelimiterKey
NSLocaleScriptCode
NSLocaleUsesMetricSystem
NSLocaleVariantCode
NSLocalizedDescriptionKey
NSLocalizedFailureReasonErrorKey
NSLocalizedRecoveryOptionsErrorKey
NSLocalizedRecoverySuggestionErrorKey
NSMallocException
NSMatchingAnchored
NSMatchingCompleted
NSMatchingHitEnd
NSMatchingInternalError
NSMatchingProgress
NSMatchingReportCompletion
NSMatchingReportProgress
NSMatchingRequiredEnd
NSMatchingWithTransparentBounds
NSMatchingWithoutAnchoringBounds
NSMetadataItemAcquisitionMakeKey
NSMetadataItemAcquisitionModelKey
NSMetadataItemAlbumKey
NSMetadataItemAltitudeKey
NSMetadataItemApertureKey
NSMetadataItemAppleLoopDescriptorsKey
NSMetadataItemAppleLoopsKeyFilterTypeKey
NSMetadataItemAppleLoopsLoopModeKey
NSMetadataItemAppleLoopsRootKeyKey
NSMetadataItemApplicationCategoriesKey
NSMetadataItemAttributeChangeDateKey
NSMetadataItemAudiencesKey
NSMetadataItemAudioBitRateKey
NSMetadataItemAudioChannelCountKey
NSMetadataItemAudioEncodingApplicationKey
NSMetadataItemAudioSampleRateKey
NSMetadataItemAudioTrackNumberKey
NSMetadataItemAuthorAddressesKey
NSMetadataItemAuthorEmailAddressesKey
NSMetadataItemAuthorsKey
NSMetadataItemBitsPerSampleKey
NSMetadataItemCFBundleIdentifierKey
NSMetadataItemCameraOwnerKey
NSMetadataItemCityKey
NSMetadataItemCodecsKey
NSMetadataItemColorSpaceKey
NSMetadataItemCommentKey
NSMetadataItemComposerKey
NSMetadataItemContactKeywordsKey
NSMetadataItemContentCreationDateKey
NSMetadataItemContentModificationDateKey
NSMetadataItemContentTypeKey
NSMetadataItemContentTypeTreeKey
NSMetadataItemContributorsKey
NSMetadataItemCopyrightKey
NSMetadataItemCountryKey
NSMetadataItemCoverageKey
NSMetadataItemCreatorKey
NSMetadataItemDateAddedKey
NSMetadataItemDeliveryTypeKey
NSMetadataItemDescriptionKey
NSMetadataItemDirectorKey
NSMetadataItemDisplayNameKey
NSMetadataItemDownloadedDateKey
NSMetadataItemDueDateKey
NSMetadataItemDurationSecondsKey
NSMetadataItemEXIFGPSVersionKey
NSMetadataItemEXIFVersionKey
NSMetadataItemEditorsKey
NSMetadataItemEmailAddressesKey
NSMetadataItemEncodingApplicationsKey
NSMetadataItemExecutableArchitecturesKey
NSMetadataItemExecutablePlatformKey
NSMetadataItemExposureModeKey
NSMetadataItemExposureProgramKey
NSMetadataItemExposureTimeSecondsKey
NSMetadataItemExposureTimeStringKey
NSMetadataItemFNumberKey
NSMetadataItemFSContentChangeDateKey
NSMetadataItemFSCreationDateKey
NSMetadataItemFSNameKey
NSMetadataItemFSSizeKey
NSMetadataItemFinderCommentKey
NSMetadataItemFlashOnOffKey
NSMetadataItemFocalLength35mmKey
NSMetadataItemFocalLengthKey
NSMetadataItemFontsKey
NSMetadataItemGPSAreaInformationKey
NSMetadataItemGPSDOPKey
NSMetadataItemGPSDateStampKey
NSMetadataItemGPSDestBearingKey
NSMetadataItemGPSDestDistanceKey
NSMetadataItemGPSDestLatitudeKey
NSMetadataItemGPSDestLongitudeKey
NSMetadataItemGPSDifferentalKey
NSMetadataItemGPSMapDatumKey
NSMetadataItemGPSMeasureModeKey
NSMetadataItemGPSProcessingMethodKey
NSMetadataItemGPSStatusKey
NSMetadataItemGPSTrackKey
NSMetadataItemGenreKey
NSMetadataItemHasAlphaChannelKey
NSMetadataItemHeadlineKey
NSMetadataItemISOSpeedKey
NSMetadataItemIdentifierKey
NSMetadataItemImageDirectionKey
NSMetadataItemInformationKey
NSMetadataItemInstantMessageAddressesKey
NSMetadataItemInstructionsKey
NSMetadataItemIsApplicationManagedKey
NSMetadataItemIsGeneralMIDISequenceKey
NSMetadataItemIsLikelyJunkKey
NSMetadataItemIsUbiquitousKey
NSMetadataItemKeySignatureKey
NSMetadataItemKeywordsKey
NSMetadataItemKindKey
NSMetadataItemLanguagesKey
NSMetadataItemLastUsedDateKey
NSMetadataItemLatitudeKey
NSMetadataItemLayerNamesKey
NSMetadataItemLensModelKey
NSMetadataItemLongitudeKey
NSMetadataItemLyricistKey
NSMetadataItemMaxApertureKey
NSMetadataItemMediaTypesKey
NSMetadataItemMeteringModeKey
NSMetadataItemMusicalGenreKey
NSMetadataItemMusicalInstrumentCategoryKey
NSMetadataItemMusicalInstrumentNameKey
NSMetadataItemNamedLocationKey
NSMetadataItemNumberOfPagesKey
NSMetadataItemOrganizationsKey
NSMetadataItemOrientationKey
NSMetadataItemOriginalFormatKey
NSMetadataItemOriginalSourceKey
NSMetadataItemPageHeightKey
NSMetadataItemPageWidthKey
NSMetadataItemParticipantsKey
NSMetadataItemPathKey
NSMetadataItemPerformersKey
NSMetadataItemPhoneNumbersKey
NSMetadataItemPixelCountKey
NSMetadataItemPixelHeightKey
NSMetadataItemPixelWidthKey
NSMetadataItemProducerKey
NSMetadataItemProfileNameKey
NSMetadataItemProjectsKey
NSMetadataItemPublishersKey
NSMetadataItemRecipientAddressesKey
NSMetadataItemRecipientEmailAddressesKey
NSMetadataItemRecipientsKey
NSMetadataItemRecordingDateKey
NSMetadataItemRecordingYearKey
NSMetadataItemRedEyeOnOffKey
NSMetadataItemResolutionHeightDPIKey
NSMetadataItemResolutionWidthDPIKey
NSMetadataItemRightsKey
NSMetadataItemSecurityMethodKey
NSMetadataItemSpeedKey
NSMetadataItemStarRatingKey
NSMetadataItemStateOrProvinceKey
NSMetadataItemStreamableKey
NSMetadataItemSubjectKey
NSMetadataItemTempoKey
NSMetadataItemTextContentKey
NSMetadataItemThemeKey
NSMetadataItemTimeSignatureKey
NSMetadataItemTimestampKey
NSMetadataItemTitleKey
NSMetadataItemTotalBitRateKey
NSMetadataItemURLKey
NSMetadataItemVersionKey
NSMetadataItemVideoBitRateKey
NSMetadataItemWhereFromsKey
NSMetadataItemWhiteBalanceKey
NSMetadataQueryDidFinishGatheringNotification
NSMetadataQueryDidStartGatheringNotification
NSMetadataQueryDidUpdateNotification
NSMetadataQueryGatheringProgressNotification
NSMetadataQueryLocalComputerScope
NSMetadataQueryNetworkScope
NSMetadataQueryUbiquitousDataScope
NSMetadataQueryUbiquitousDocumentsScope
NSMetadataQueryUserHomeScope
NSMetadataUbiquitousItemContainerDisplayNameKey
NSMetadataUbiquitousItemDownloadRequestedKey
NSMetadataUbiquitousItemDownloadingErrorKey
NSMetadataUbiquitousItemDownloadingStatusCurrent
NSMetadataUbiquitousItemDownloadingStatusDownloaded
NSMetadataUbiquitousItemDownloadingStatusKey
NSMetadataUbiquitousItemDownloadingStatusNotDownloaded
NSMetadataUbiquitousItemHasUnresolvedConflictsKey
NSMetadataUbiquitousItemIsDownloadedKey
NSMetadataUbiquitousItemIsDownloadingKey
NSMetadataUbiquitousItemIsExternalDocumentKey
NSMetadataUbiquitousItemIsSharedKey
NSMetadataUbiquitousItemIsUploadedKey
NSMetadataUbiquitousItemIsUploadingKey
NSMetadataUbiquitousItemPercentDownloadedKey
NSMetadataUbiquitousItemPercentUploadedKey
NSMetadataUbiquitousItemURLInLocalContainerKey
NSMetadataUbiquitousItemUploadingErrorKey
NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey
NSMetadataUbiquitousSharedItemCurrentUserRoleKey
NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey
NSMetadataUbiquitousSharedItemOwnerNameComponentsKey
NSMetadataUbiquitousSharedItemPermissionsReadOnly
NSMetadataUbiquitousSharedItemPermissionsReadWrite
NSMetadataUbiquitousSharedItemRoleOwner
NSMetadataUbiquitousSharedItemRoleParticipant
NSMonthNameArray
NSNegateBooleanTransformerName
NSNetServicesErrorCode
NSNetServicesErrorDomain
NSNextDayDesignations
NSNextNextDayDesignations
NSNonOwnedPointerHashCallBacks
NSNonOwnedPointerMapKeyCallBacks
NSNonOwnedPointerMapValueCallBacks
NSNonOwnedPointerOrNullMapKeyCallBacks
NSNonRetainedObjectHashCallBacks
NSNonRetainedObjectMapKeyCallBacks
NSNonRetainedObjectMapValueCallBacks
NSObjectHashCallBacks
NSObjectInaccessibleException
NSObjectMapKeyCallBacks
NSObjectMapValueCallBacks
NSObjectNotAvailableException
NSOldStyleException
NSOwnedPointerHashCallBacks
NSOwnedPointerMapKeyCallBacks
NSOwnedPointerMapValueCallBacks
NSParseErrorException
NSPersianCalendar
NSPersonNameComponentDelimiter
NSPersonNameComponentFamilyName
NSPersonNameComponentGivenName
NSPersonNameComponentKey
NSPersonNameComponentMiddleName
NSPersonNameComponentNickname
NSPersonNameComponentPrefix
NSPersonNameComponentSuffix
NSPointerToStructHashCallBacks
NSPortDidBecomeInvalidNotification
NSPortReceiveException
NSPortSendException
NSPortTimeoutException
NSPriorDayDesignations
NSRangeException
NSRecoveryAttempterErrorKey
NSRegistrationDomain
NSRegularExpressionAllowCommentsAndWhitespace
NSRegularExpressionAnchorsMatchLines
NSRegularExpressionCaseInsensitive
NSRegularExpressionDotMatchesLineSeparators
NSRegularExpressionIgnoreMetacharacters
NSRegularExpressionUseUnicodeWordBoundaries
NSRegularExpressionUseUnixLineSeparators
NSRepublicOfChinaCalendar
NSShortDateFormatString
NSShortMonthNameArray
NSShortTimeDateFormatString
NSShortWeekDayNameArray
NSShowNonLocalizedStrings
NSStreamDataWrittenToMemoryStreamKey
NSStreamFileCurrentOffsetKey
NSStreamSOCKSErrorDomain
NSStreamSOCKSProxyConfigurationKey
NSStreamSOCKSProxyHostKey
NSStreamSOCKSProxyPasswordKey
NSStreamSOCKSProxyPortKey
NSStreamSOCKSProxyUserKey
NSStreamSOCKSProxyVersion4
NSStreamSOCKSProxyVersion5
NSStreamSOCKSProxyVersionKey
NSStreamSocketSSLErrorDomain
NSStreamSocketSecurityLevelKey
NSStreamSocketSecurityLevelNegotiatedSSL
NSStreamSocketSecurityLevelNone
NSStreamSocketSecurityLevelSSLv2
NSStreamSocketSecurityLevelSSLv3
NSStreamSocketSecurityLevelTLSv1
NSStringEncodingErrorKey
NSSystemClockDidChangeNotification
NSSystemTimeZoneDidChangeNotification
NSTaskDidTerminateNotification
NSThisDayDesignations
NSThousandsSeparator
NSThreadDidStartNotification
NSThreadWillExitNotification
NSThumbnail1024x1024SizeKey
NSTimeDateFormatString
NSTimeFormatString
NSTimeIntervalSince1970
NSURLAddedToDirectoryDateKey
NSURLApplicationIsScriptableKey
NSURLAttributeModificationDateKey
NSURLAuthenticationMethodClientCertificate
NSURLAuthenticationMethodDefault
NSURLAuthenticationMethodHTMLForm
NSURLAuthenticationMethodHTTPBasic
NSURLAuthenticationMethodHTTPDigest
NSURLAuthenticationMethodNTLM
NSURLAuthenticationMethodNegotiate
NSURLAuthenticationMethodServerTrust
NSURLContentAccessDateKey
NSURLContentModificationDateKey
NSURLCreationDateKey
NSURLCredentialStorageChangedNotification
NSURLCustomIconKey
NSURLDocumentIdentifierKey
NSURLEffectiveIconKey
NSURLErrorDomain
NSURLErrorFailingURLErrorKey
NSURLErrorFailingURLStringErrorKey
NSURLErrorKey
NSURLFileAllocatedSizeKey
NSURLFileResourceIdentifierKey
NSURLFileResourceTypeBlockSpecial
NSURLFileResourceTypeCharacterSpecial
NSURLFileResourceTypeDirectory
NSURLFileResourceTypeKey
NSURLFileResourceTypeNamedPipe
NSURLFileResourceTypeRegular
NSURLFileResourceTypeSocket
NSURLFileResourceTypeSymbolicLink
NSURLFileResourceTypeUnknown
NSURLFileScheme
NSURLFileSecurityKey
NSURLFileSizeKey
NSURLGenerationIdentifierKey
NSURLHasHiddenExtensionKey
NSURLIsAliasFileKey
NSURLIsApplicationKey
NSURLIsDirectoryKey
NSURLIsExcludedFromBackupKey
NSURLIsExecutableKey
NSURLIsHiddenKey
NSURLIsMountTriggerKey
NSURLIsPackageKey
NSURLIsReadableKey
NSURLIsRegularFileKey
NSURLIsSymbolicLinkKey
NSURLIsSystemImmutableKey
NSURLIsUbiquitousItemKey
NSURLIsUserImmutableKey
NSURLIsVolumeKey
NSURLIsWritableKey
NSURLLabelColorKey
NSURLLabelNumberKey
NSURLLinkCountKey
NSURLLocalizedLabelKey
NSURLLocalizedNameKey
NSURLLocalizedTypeDescriptionKey
NSURLNameKey
NSURLParentDirectoryURLKey
NSURLPathKey
NSURLPreferredIOBlockSizeKey
NSURLProtectionSpaceFTPProxy
NSURLProtectionSpaceHTTPProxy
NSURLProtectionSpaceHTTPSProxy
NSURLProtectionSpaceSOCKSProxy
NSURLQuarantinePropertiesKey
NSURLSessionTaskPriorityDefault
NSURLSessionTaskPriorityHigh
NSURLSessionTaskPriorityLow
NSURLSessionTransferSizeUnknown
NSURLTagNamesKey
NSURLTotalFileAllocatedSizeKey
NSURLTotalFileSizeKey
NSURLTypeIdentifierKey
NSURLUbiquitousItemContainerDisplayNameKey
NSURLUbiquitousItemDownloadRequestedKey
NSURLUbiquitousItemDownloadingErrorKey
NSURLUbiquitousItemDownloadingStatusCurrent
NSURLUbiquitousItemDownloadingStatusDownloaded
NSURLUbiquitousItemDownloadingStatusKey
NSURLUbiquitousItemDownloadingStatusNotDownloaded
NSURLUbiquitousItemHasUnresolvedConflictsKey
NSURLUbiquitousItemIsDownloadingKey
NSURLUbiquitousItemIsUploadedKey
NSURLUbiquitousItemIsUploadingKey
NSURLUbiquitousItemUploadingErrorKey
NSURLVolumeAvailableCapacityKey
NSURLVolumeCreationDateKey
NSURLVolumeIdentifierKey
NSURLVolumeIsAutomountedKey
NSURLVolumeIsBrowsableKey
NSURLVolumeIsEjectableKey
NSURLVolumeIsInternalKey
NSURLVolumeIsJournalingKey
NSURLVolumeIsLocalKey
NSURLVolumeIsReadOnlyKey
NSURLVolumeIsRemovableKey
NSURLVolumeLocalizedFormatDescriptionKey
NSURLVolumeLocalizedNameKey
NSURLVolumeMaximumFileSizeKey
NSURLVolumeNameKey
NSURLVolumeResourceCountKey
NSURLVolumeSupportsAdvisoryFileLockingKey
NSURLVolumeSupportsCasePreservedNamesKey
NSURLVolumeSupportsCaseSensitiveNamesKey
NSURLVolumeSupportsExtendedSecurityKey
NSURLVolumeSupportsHardLinksKey
NSURLVolumeSupportsJournalingKey
NSURLVolumeSupportsPersistentIDsKey
NSURLVolumeSupportsRenamingKey
NSURLVolumeSupportsRootDirectoryDatesKey
NSURLVolumeSupportsSparseFilesKey
NSURLVolumeSupportsSymbolicLinksKey
NSURLVolumeSupportsVolumeSizesKey
NSURLVolumeSupportsZeroRunsKey
NSURLVolumeTotalCapacityKey
NSURLVolumeURLForRemountingKey
NSURLVolumeURLKey
NSURLVolumeUUIDStringKey
NSUbiquitousKeyValueStoreChangeReasonKey
NSUbiquitousKeyValueStoreDidChangeExternallyNotification
NSUnarchiveFromDataTransformerName
NSUndefinedKeyException
NSUnderlyingErrorKey
NSUndoManagerCheckpointNotification
NSUndoManagerDidOpenUndoGroupNotification
NSUndoManagerDidRedoChangeNotification
NSUndoManagerDidUndoChangeNotification
NSUndoManagerWillCloseUndoGroupNotification
NSUndoManagerWillRedoChangeNotification
NSUndoManagerWillUndoChangeNotification
NSUserDefaultsDidChangeNotification
NSUserNotificationDefaultSoundName
NSWeekDayNameArray
NSWillBecomeMultiThreadedNotification
NSXMLParserErrorDomain
NSYearMonthWeekDesignations
NSZeroPoint
NSZeroRect
NSZeroSize

Functions

GNUstepConfig
GNUstepUserConfig
GSDebugAllocationActive
GSDebugAllocationAdd
GSDebugAllocationBytes
GSDebugAllocationClassList
GSDebugAllocationCount
GSDebugAllocationList
GSDebugAllocationListAll
GSDebugAllocationListRecordedObjects
GSDebugAllocationPeak
GSDebugAllocationRecordAndTrace
GSDebugAllocationRecordObjects
GSDebugAllocationRemove
GSDebugAllocationTagRecordedObject
GSDebugAllocationTaggedObjects
GSDebugAllocationTotal
GSDebugSet
GSDefaultsRootForUser
GSInitializeProcess
GSInitializeProcessAndroid
GSInitializeProcessAndroidWithArgs
GSLogLock
GSOutOfMemory
GSRegisterCurrentThread
GSSetDebugAllocationFunctions
GSSetUserName
GSSpellServerName
GSSwapBigI128ToHost
GSSwapBigI16ToHost
GSSwapBigI32ToHost
GSSwapBigI64ToHost
GSSwapHostI128ToBig
GSSwapHostI128ToLittle
GSSwapHostI16ToBig
GSSwapHostI16ToLittle
GSSwapHostI32ToBig
GSSwapHostI32ToLittle
GSSwapHostI64ToBig
GSSwapHostI64ToLittle
GSSwapI128
GSSwapI16
GSSwapI32
GSSwapI64
GSSwapLittleI128ToHost
GSSwapLittleI16ToHost
GSSwapLittleI32ToHost
GSSwapLittleI64ToHost
GSUPurge
GSUSet
GSUnique
GSUniquing
GSUnregisterCurrentThread
NSAllHashTableObjects
NSAllMapTableKeys
NSAllMapTableValues
NSAllocateCollectable
NSAllocateMemoryPages
NSAllocateObject
NSClassFromString
NSCompareHashTables
NSCompareMapTables
NSContainsRect
NSConvertHostDoubleToSwapped
NSConvertHostFloatToSwapped
NSConvertSwappedDoubleToHost
NSConvertSwappedFloatToHost
NSCopyHashTableWithZone
NSCopyMapTableWithZone
NSCopyMemoryPages
NSCopyObject
NSCountFrames
NSCountHashTable
NSCountMapTable
NSCreateHashTable
NSCreateHashTableWithZone
NSCreateMapTable
NSCreateMapTableWithZone
NSCreateZone
NSDeallocateMemoryPages
NSDeallocateObject
NSDecimalAdd
NSDecimalCompact
NSDecimalCompare
NSDecimalCopy
NSDecimalDivide
NSDecimalDouble
NSDecimalFromComponents
NSDecimalFromString
NSDecimalIsNotANumber
NSDecimalMax
NSDecimalMin
NSDecimalMultiply
NSDecimalMultiplyByPowerOf10
NSDecimalNormalize
NSDecimalPower
NSDecimalRound
NSDecimalString
NSDecimalSubtract
NSDecrementExtraRefCountWasZero
NSDefaultMallocZone
NSDivideRect
NSEdgeInsetsEqual
NSEdgeInsetsMake
NSEndHashTableEnumeration
NSEndMapTableEnumeration
NSEnumerateHashTable
NSEnumerateMapTable
NSEqualPoints
NSEqualRanges
NSEqualRects
NSEqualSizes
NSExtraRefCount
NSFileTypeForHFSTypeCode
NSFrameAddress
NSFreeHashTable
NSFreeMapTable
NSFullUserName
NSGetSizeAndAlignment
NSGetUncaughtExceptionHandler
NSHFSTypeCodeFromFileType
NSHFSTypeOfFile
NSHashGet
NSHashInsert
NSHashInsertIfAbsent
NSHashInsertKnownAbsent
NSHashRemove
NSHeight
NSHomeDirectory
NSHomeDirectoryForUser
NSHostByteOrder
NSIncrementExtraRefCount
NSInsetRect
NSIntegralRect
NSIntersectionRange
NSIntersectionRect
NSIntersectsRect
NSIsEmptyRect
NSLocationInRange
NSLock_error_handler
NSLog
NSLogPageSize
NSLog_printf_handler
NSLogv
NSMakeCollectable
NSMakePoint
NSMakeRange
NSMakeRect
NSMakeSize
NSMapGet
NSMapInsert
NSMapInsertIfAbsent
NSMapInsertKnownAbsent
NSMapMember
NSMapRemove
NSMaxRange
NSMaxX
NSMaxY
NSMidX
NSMidY
NSMinX
NSMinY
NSMouseInRect
NSNextHashEnumeratorItem
NSNextMapEnumeratorPair
NSOffsetRect
NSOpenStepRootDirectory
NSPageSize
NSPointFromString
NSPointInRect
NSProtocolFromString
NSRangeFromString
NSRealMemoryAvailable
NSReallocateCollectable
NSRectFromString
NSRecycleZone
NSResetHashTable
NSResetMapTable
NSReturnAddress
NSRoundDownToMultipleOfPageSize
NSRoundUpToMultipleOfPageSize
NSSearchPathForDirectoriesInDomains
NSSelectorFromString
NSSetUncaughtExceptionHandler
NSSetZoneName
NSShouldRetainWithZone
NSSizeFromString
NSStandardApplicationPaths
NSStandardLibraryPaths
NSStringFromClass
NSStringFromHashTable
NSStringFromMapTable
NSStringFromPoint
NSStringFromProtocol
NSStringFromRange
NSStringFromRect
NSStringFromSelector
NSStringFromSize
NSSwapBigDoubleToHost
NSSwapBigFloatToHost
NSSwapBigIntToHost
NSSwapBigLongLongToHost
NSSwapBigLongToHost
NSSwapBigShortToHost
NSSwapDouble
NSSwapFloat
NSSwapHostDoubleToBig
NSSwapHostDoubleToLittle
NSSwapHostFloatToBig
NSSwapHostFloatToLittle
NSSwapHostIntToBig
NSSwapHostIntToLittle
NSSwapHostLongLongToBig
NSSwapHostLongLongToLittle
NSSwapHostLongToBig
NSSwapHostLongToLittle
NSSwapHostShortToBig
NSSwapHostShortToLittle
NSSwapInt
NSSwapLittleDoubleToHost
NSSwapLittleFloatToHost
NSSwapLittleIntToHost
NSSwapLittleLongLongToHost
NSSwapLittleLongToHost
NSSwapLittleShortToHost
NSSwapLong
NSSwapLongLong
NSSwapShort
NSTemporaryDirectory
NSUncaughtExceptionHandler
NSUnionRange
NSUnionRect
NSUserName
NSWidth
NSZoneCalloc
NSZoneCheck
NSZoneFree
NSZoneFromPointer
NSZoneMalloc
NSZoneName
NSZoneRealloc
NSZoneStats
_NSAddHandler
_NSRangeExceptionRaise
_NSRemoveHandler
_gcc3_1_hack
gs_consumed

Macros

FOUNDATION_EXPORT
GS_API_LATEST
GS_API_MACOSX
GS_API_NONE
GS_API_OPENSTEP
GS_API_OSSPEC
GS_API_VERSION
GS_CLANG_MINREQ
GS_DEPRECATED_FUNC
GS_EXPOSE
GS_GCC_MINREQ
GS_NORETURN_METHOD
GS_UNIMPLEMENTED
GS_UNUSED_ARG
GS_UNUSED_FUNC
GS_UNUSED_IVAR
MAC_OS_X_VERSION_MAX_ALLOWED
NSAssert
NSAssert1
NSAssert2
NSAssert3
NSAssert4
NSAssert5
NSCAssert
NSCAssert1
NSCAssert2
NSCAssert3
NSCAssert4
NSCAssert5
NSCParameterAssert
NSDecimalMaxDigit
NSDecimalMaxSize
NSDecimalNoScale
NSLocalizedString
NSLocalizedStringFromTable
NSLocalizedStringFromTableInBundle
NSParameterAssert
NS_AVAILABLE
NS_AVAILABLE_MAC
NS_CLASS_AVAILABLE
NS_CLASS_AVAILABLE_MAC
NS_CLASS_DEPRECATED
NS_CLASS_DEPRECATED_MAC
NS_CONSUMED
NS_CONSUMES_SELF
NS_DEPRECATED
NS_DEPRECATED_MAC
NS_DESIGNATED_INITIALIZER
NS_ENUM_AVAILABLE
NS_ENUM_AVAILABLE_MAC
NS_ENUM_DEPRECATED
NS_ENUM_DEPRECATED_MAC
NS_INVOCATION
NS_MESSAGE
NS_RETURNS_NOT_RETAINED
NS_RETURNS_RETAINED
NS_ROOT_CLASS
NS_UNAVAILABLE
OS_API_VERSION
__has_feature

Types

GSDebugAllocationTraceFunction
GSFileWrapperType
NSActivityOptions
NSAttributedStringKey
NSBackgroundActivityResult
NSBinarySearchingOptions
NSByteCountFormatterCountStyle
NSByteCountFormatterUnits
NSByteOrder
NSCalculationError
NSCalendarOptions
NSCalendarUnit
NSComparisonPredicateModifier
NSComparisonPredicateOptions
NSComparisonResult
NSCompoundPredicateType
NSDataBase64DecodingOptions
NSDataBase64EncodingOptions
NSDataSearchOptions
NSDateComponentsFormatterUnitsStyle
NSDateComponentsFormatterZeroFormattingBehavior
NSDateFormatterBehavior
NSDateFormatterStyle
NSDateIntervalFormatterStyle
NSDirectoryEnumerationOptions
NSEnergyFormatterUnit
NSEnumerationOptions
NSErrorDomain
NSExceptionName
NSExpressionType
NSFileCoordinatorReadingOptions
NSFileCoordinatorWritingOptions
NSFileVersionAddingOptions
NSFileVersionReplacingOptions
NSFileWrapperReadingOptions
NSFileWrapperWritingOptions
NSFormattingContext
NSFormattingUnitStyle
NSHTTPCookieAcceptPolicy
NSHashTableOptions
NSISO8601DateFormatOptions
NSInteger
NSItemProviderErrorCode
NSItemProviderFileOptions
NSItemProviderRepresentationVisibility
NSJSONReadingOptions
NSJSONWritingOptions
NSKeyValueChange
NSKeyValueChangeKey
NSKeyValueObservingOptions
NSKeyValueSetMutationKind
NSLengthFormatterUnit
NSLinguisticTag
NSLinguisticTagScheme
NSLinguisticTaggerOptions
NSLinguisticTaggerUnit
NSLocaleLanguageDirection
NSMapTableOptions
NSMapTableValueCallBacks
NSMassFormatterUnit
NSMatchingFlags
NSMatchingOptions
NSMeasurementFormatterUnitOptions
NSNetServiceOptions
NSNetServicesError
NSNotificationCoalescing
NSNotificationName
NSNotificationSuspensionBehavior
NSNumberFormatterBehavior
NSNumberFormatterPadPosition
NSNumberFormatterRoundingMode
NSNumberFormatterStyle
NSOperationQueuePriority
NSPersonNameComponentsFormatterOptions
NSPersonNameComponentsFormatterStyle
NSPoint
NSPointArray
NSPointPointer
NSPointerFunctionsOptions
NSPostingStyle
NSPredicateOperatorType
NSProgressFileOperationKind
NSProgressKind
NSProgressUserInfoKey
NSPropertyListFormat
NSPropertyListMutabilityOptions
NSPropertyListReadOptions
NSPropertyListWriteOptions
NSQualityOfService
NSRange
NSRangePointer
NSRect
NSRectArray
NSRectEdge
NSRectPointer
NSRegularExpressionOptions
NSRoundingMode
NSRunLoopMode
NSSearchPathDirectory
NSSearchPathDomainMask
NSSize
NSSizeArray
NSSizePointer
NSSocketNativeHandle
NSSortOptions
NSStreamEvent
NSStreamStatus
NSStringCompareOptions
NSStringEncoding
NSStringEncodingConversionOptions
NSStringEnumerationOptions
NSSwappedDouble
NSSwappedFloat
NSTaskTerminationReason
NSTextCheckingType
NSTextCheckingTypes
NSTimeInterval
NSTimeZoneNameStyle
NSUInteger
NSURLBookmarkResolutionOptions
NSURLCacheStoragePolicy
NSURLCredentialPersistence
NSURLHandleStatus
NSURLRequestCachePolicy
NSURLRequestNetworkServiceType
NSURLSessionAuthChallengeDisposition
NSURLSessionResponseDisposition
NSUserNotificationActivationType
NSXMLDTDNodeKind
NSXMLDocumentContentKind
NSXMLNodeKind
NSXMLParserError
NSXPCConnectionOptions
NSZone
OSType
RunLoopEventType
gid_t
gsuuid_t
pid_t
struct NSEdgeInsets
struct _NSHandler
struct _NSHashTableCallBacks
struct _NSMapTableKeyCallBacks
struct autorelease_array_list
struct autorelease_thread_vars
uid_t
unichar

Variables

NSCocoaErrorDomain
NSDeallocateZombies
NSDebugEnabled
NSDefaultRunLoopMode
NSLinguisticTagAdjective
NSLinguisticTagAdverb
NSLinguisticTagClassifier
NSLinguisticTagCloseParenthesis
NSLinguisticTagCloseQuote
NSLinguisticTagConjunction
NSLinguisticTagDash
NSLinguisticTagDeterminer
NSLinguisticTagIdiom
NSLinguisticTagInterjection
NSLinguisticTagNoun
NSLinguisticTagNumber
NSLinguisticTagOpenParenthesis
NSLinguisticTagOpenQuote
NSLinguisticTagOrganizationName
NSLinguisticTagOther
NSLinguisticTagOtherPunctuation
NSLinguisticTagOtherWhitespace
NSLinguisticTagOtherWord
NSLinguisticTagParagraphBreak
NSLinguisticTagParticle
NSLinguisticTagPersonalName
NSLinguisticTagPlaceName
NSLinguisticTagPreposition
NSLinguisticTagPronoun
NSLinguisticTagPunctuation
NSLinguisticTagSchemeLanguage
NSLinguisticTagSchemeLemma
NSLinguisticTagSchemeLexicalClass
NSLinguisticTagSchemeNameType
NSLinguisticTagSchemeNameTypeOrLexicalClass
NSLinguisticTagSchemeScript
NSLinguisticTagSchemeTokenType
NSLinguisticTagSentenceTerminator
NSLinguisticTagVerb
NSLinguisticTagWhitespace
NSLinguisticTagWord
NSLinguisticTagWordJoiner
NSMACHErrorDomain
NSOSStatusErrorDomain
NSPOSIXErrorDomain
NSRunLoopCommonModes
NSZombieEnabled
_NSConstantStringClassReference
_NSLock_error_handler
_NSLogDescriptor
_NSLog_printf_handler
enum _NSDirectoryEnumerationOptions
struct NSZoneStats
struct _NSMapTableValueCallBacks
struct _NSNotificationQueueList
struct _NSRange

Up

NSDecimalNumber class reference

Authors

Fred Kiefer (FredKiefer@gmx.de)

Date: Generated at 2024-11-18 21:56:13 +0100

Copyright: (C) 2000 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSDecimalNumber class
  2. Software documentation for the NSDecimalNumberHandler class
  3. Software documentation for the NSNumber(NSDecimalNumber) category
  4. Software documentation for the NSDecimalNumberBehaviors protocol

Software documentation for the NSDecimalNumber class

NSDecimalNumber : NSNumber

class_NSDecimalNumber NSNumber NSNumber NSDecimalNumber NSDecimalNumber NSNumber->NSDecimalNumber p_NSDecimalNumberBehaviors NSDecimalNumberBehaviors p_NSDecimalNumberBehaviors->NSDecimalNumber
Declared in:
Foundation/NSDecimalNumber.h
Conforms to:
NSDecimalNumberBehaviors
Availability: MacOS-X 10.0.0

Class that implements a number of methods for performing decimal arithmetic to arbitrary precision. The behavior in terms of rounding choices and exception handling may be customized using the NSDecimalNumberHandler class, and defaults to [NSDecimalNumberHandler +defaultDecimalNumberHandler] .

Equivalent functionality to the NSDecimalNumber class may be accessed through functions, mostly named NSDecimalXXX, e.g., NSDecimalMin() . Both the class and the functions use a structure called NSDecimal.

Note that instances of NSDecimalNumber are immutable.


Instance Variables

Method summary


decimalNumberWithDecimal: 

+ (NSDecimalNumber*) decimalNumberWithDecimal: (NSDecimal)decimal;
Availability: MacOS-X 10.0.0

New instance with given value. Note an NSDecimal may be created using the function NSDecimalFromString() .

decimalNumberWithMantissa: exponent: isNegative: 

+ (NSDecimalNumber*) decimalNumberWithMantissa: (unsigned long long)mantissa exponent: (short)exponent isNegative: (BOOL)isNegative;
Availability: MacOS-X 10.0.0

New instance by component. Note that the precision of this initializer is limited.

decimalNumberWithString: 

+ (NSDecimalNumber*) decimalNumberWithString: (NSString*)numericString;
Availability: MacOS-X 10.0.0

New instance from string. Arbitrary precision is preserved, though calling one of the decimalNumberBy... methods will return a result constrained by the current scale. Number format is parsed according to current default locale.

decimalNumberWithString: locale: 

+ (NSDecimalNumber*) decimalNumberWithString: (NSString*)numericString locale: (NSDictionary*)locale;
Availability: MacOS-X 10.0.0

New instance from string. Arbitrary precision is preserved, though calling one of the decimalNumberBy... methods will return a result constrained by the current scale. Number format is parsed according to given locale.

defaultBehavior 

+ (id<NSDecimalNumberBehaviors>) defaultBehavior;
Availability: MacOS-X 10.0.0

Returns the default rounding/precision/exception handling behavior, which is same as [NSDecimalNumberHandler +defaultDecimalNumberHandler] unless it has been explicitly set otherwise.

maximumDecimalNumber 

+ (NSDecimalNumber*) maximumDecimalNumber;
Availability: MacOS-X 10.0.0

Return maximum positive value that can be represented.

minimumDecimalNumber 

+ (NSDecimalNumber*) minimumDecimalNumber;
Availability: MacOS-X 10.0.0

Return minimum negative value (not the smallest positive value) that can be represented.

notANumber 

+ (NSDecimalNumber*) notANumber;
Availability: MacOS-X 10.0.0

Return a fixed value representing an NaN.

one 

+ (NSDecimalNumber*) one;
Availability: MacOS-X 10.0.0

Return a constant object with a value of one.

setDefaultBehavior: 

+ (void) setDefaultBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Sets the default rounding/precision/exception handling behavior to the given behavior. If this is not called, behavior defaults to [NSDecimalNumberHandler +defaultDecimalNumberHandler] .

zero 

+ (NSDecimalNumber*) zero;
Availability: MacOS-X 10.0.0

Return a constant object with a value of zero.

compare: 

- (NSComparisonResult) compare: (NSNumber*)decimalNumber;
Availability: MacOS-X 10.0.0

Compares with other number, returning less, greater, or equal.

decimalNumberByAdding: 

- (NSDecimalNumber*) decimalNumberByAdding: (NSDecimalNumber*)decimalNumber;
Availability: MacOS-X 10.0.0

Adds self to decimalNumber and returns new result, using +defaultBehavior for rounding/precision/error handling.

decimalNumberByAdding: withBehavior: 

- (NSDecimalNumber*) decimalNumberByAdding: (NSDecimalNumber*)decimalNumber withBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Adds self to decimalNumber and returns new result, using given behavior for rounding/precision/error handling.

decimalNumberByDividingBy: 

- (NSDecimalNumber*) decimalNumberByDividingBy: (NSDecimalNumber*)decimalNumber;
Availability: MacOS-X 10.0.0

Divides self by decimalNumber and returns new result, using +defaultBehavior for rounding/precision/error handling.

decimalNumberByDividingBy: withBehavior: 

- (NSDecimalNumber*) decimalNumberByDividingBy: (NSDecimalNumber*)decimalNumber withBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Divides self by decimalNumber and returns new result, using given behavior for rounding/precision/error handling.

decimalNumberByMultiplyingBy: 

- (NSDecimalNumber*) decimalNumberByMultiplyingBy: (NSDecimalNumber*)decimalNumber;
Availability: MacOS-X 10.0.0

Multiplies self by decimalNumber and returns new result, using +defaultBehavior for rounding/precision/error handling.

decimalNumberByMultiplyingBy: withBehavior: 

- (NSDecimalNumber*) decimalNumberByMultiplyingBy: (NSDecimalNumber*)decimalNumber withBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Multiplies self by decimalNumber and returns new result, using given behavior for rounding/precision/error handling.

decimalNumberByMultiplyingByPowerOf10: 

- (NSDecimalNumber*) decimalNumberByMultiplyingByPowerOf10: (short)power;
Availability: MacOS-X 10.0.0

Multiplies self by given power of 10 and returns new result, using +defaultBehavior for rounding/precision/error handling.

decimalNumberByMultiplyingByPowerOf10: withBehavior: 

- (NSDecimalNumber*) decimalNumberByMultiplyingByPowerOf10: (short)power withBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Multiplies self by given power of 10 and returns new result, using given behavior for rounding/precision/error handling.

decimalNumberByRaisingToPower: 

- (NSDecimalNumber*) decimalNumberByRaisingToPower: (NSUInteger)power;
Availability: MacOS-X 10.0.0

Raises self to given positive integer power and returns new result, using +defaultBehavior for rounding/precision/error handling.

decimalNumberByRaisingToPower: withBehavior: 

- (NSDecimalNumber*) decimalNumberByRaisingToPower: (NSUInteger)power withBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Raises self to given positive integer power and returns new result, using given behavior for rounding/precision/error handling.

decimalNumberByRoundingAccordingToBehavior: 

- (NSDecimalNumber*) decimalNumberByRoundingAccordingToBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Returns rounded version of underlying decimal.

decimalNumberBySubtracting: 

- (NSDecimalNumber*) decimalNumberBySubtracting: (NSDecimalNumber*)decimalNumber;
Availability: MacOS-X 10.0.0

Subtracts decimalNumber from self and returns new result, using +defaultBehavior for rounding/precision/error handling.

decimalNumberBySubtracting: withBehavior: 

- (NSDecimalNumber*) decimalNumberBySubtracting: (NSDecimalNumber*)decimalNumber withBehavior: (id<NSDecimalNumberBehaviors>)behavior;
Availability: MacOS-X 10.0.0

Subtracts decimalNumber from self and returns new result, using given behavior for rounding/precision/error handling.

decimalValue 

- (NSDecimal) decimalValue;
Availability: MacOS-X 10.0.0

Return underlying value as an NSDecimal structure.

descriptionWithLocale: 

- (NSString*) descriptionWithLocale: (id)locale;
Availability: MacOS-X 10.0.0

Returns string version of number formatted according to locale.

doubleValue 

- (double) doubleValue;
Availability: MacOS-X 10.0.0

Returns underlying value as a double, which may be an approximation if precision greater than the default of 38.

initWithDecimal: 

- (id) initWithDecimal: (NSDecimal)decimal;
Availability: MacOS-X 10.0.0

Initialize with given value. Note an NSDecimal may be created using the function NSDecimalFromString() .

initWithMantissa: exponent: isNegative: 

- (id) initWithMantissa: (unsigned long long)mantissa exponent: (short)exponent isNegative: (BOOL)flag;
Availability: MacOS-X 10.0.0

Initialize by component. Note that the precision of this initializer is limited.

initWithString: 

- (id) initWithString: (NSString*)numberValue;
Availability: MacOS-X 10.0.0

Initialize from string. Arbitrary precision is preserved, though calling one of the decimalNumberBy... methods will return a result constrained by the current scale. Number format is parsed according to current default locale.

initWithString: locale: 

- (id) initWithString: (NSString*)numberValue locale: (NSDictionary*)locale;
Availability: MacOS-X 10.0.0

Initialize from string. Arbitrary precision is preserved, though calling one of the decimalNumberBy... methods will return a result constrained by the current scale. Number format is parsed according to given locale.

objCType 

- (const char*) objCType;
Availability: MacOS-X 10.0.0

Returns the Objective-C type ( @encode(...) compatible) of the data contained NSDecimalNumber, which is by convention "d" (for double), even though this is not strictly accurate.



Instance Variables for NSDecimalNumber Class

data

@protected NSDecimal data;
Availability: MacOS-X 10.0.0

Description forthcoming.




Software documentation for the NSDecimalNumberHandler class

NSDecimalNumberHandler : NSObject

class_NSDecimalNumberHandler NSObject NSObject NSDecimalNumberHandler NSDecimalNumberHandler NSObject->NSDecimalNumberHandler p_NSDecimalNumberBehaviors NSDecimalNumberBehaviors p_NSDecimalNumberBehaviors->NSDecimalNumberHandler
Declared in:
Foundation/NSDecimalNumber.h
Conforms to:
NSDecimalNumberBehaviors
Availability: MacOS-X 10.0.0

A utility class adopting <NSDecimalNumberBehaviors> protocol. Can be used to control NSDecimalNumber rounding and exception-handling behavior, by passing an instance as an argument to any NSDecimalNumber method ending with ...Behavior:.

Instance Variables

Method summary


decimalNumberHandlerWithRoundingMode: scale: raiseOnExactness: raiseOnOverflow: raiseOnUnderflow: raiseOnDivideByZero: 

+ (id) decimalNumberHandlerWithRoundingMode: (NSRoundingMode)roundingMode scale: (short)scale raiseOnExactness: (BOOL)raiseOnExactness raiseOnOverflow: (BOOL)raiseOnOverflow raiseOnUnderflow: (BOOL)raiseOnUnderflow raiseOnDivideByZero: (BOOL)raiseOnDivideByZero;
Availability: MacOS-X 10.0.0

Constructor setting all behavior. (For more precise control over error handling, create your own class implementing the <NSDecimalNumberBehaviors> protocol.)

defaultDecimalNumberHandler 

+ (id) defaultDecimalNumberHandler;
Availability: MacOS-X 10.0.0

Provides an instance implementing the default behavior for the NSDecimalNumber class. 38 decimal digits, rounded to closest return value (NSRoundPlain). Exceptions raised on overflow, underflow, and divide by zero.

initWithRoundingMode: scale: raiseOnExactness: raiseOnOverflow: raiseOnUnderflow: raiseOnDivideByZero: 

- (id) initWithRoundingMode: (NSRoundingMode)roundingMode scale: (short)scale raiseOnExactness: (BOOL)raiseOnExactness raiseOnOverflow: (BOOL)raiseOnOverflow raiseOnUnderflow: (BOOL)raiseOnUnderflow raiseOnDivideByZero: (BOOL)raiseOnDivideByZero;
Availability: MacOS-X 10.0.0

Initializer setting all behavior. (For more precise control over error handling, create your own class implementing the <NSDecimalNumberBehaviors> protocol.)



Instance Variables for NSDecimalNumberHandler Class

_raiseOnDivideByZero

@protected BOOL _raiseOnDivideByZero;
Availability: MacOS-X 10.0.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_raiseOnExactness

@protected BOOL _raiseOnExactness;
Availability: MacOS-X 10.0.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_raiseOnOverflow

@protected BOOL _raiseOnOverflow;
Availability: MacOS-X 10.0.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_raiseOnUnderflow

@protected BOOL _raiseOnUnderflow;
Availability: MacOS-X 10.0.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_roundingMode

@protected NSRoundingMode _roundingMode;
Availability: MacOS-X 10.0.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_scale

@protected short int _scale;
Availability: MacOS-X 10.0.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




Software documentation for the NSNumber(NSDecimalNumber) category

NSNumber(NSDecimalNumber)

Declared in:
Foundation/NSDecimalNumber.h
Availability: MacOS-X 10.0.0

Interface for obtaining an NSDecimalNumber value from an ordinary NSNumber.

Method summary


decimalValue 

- (NSDecimal) decimalValue;
Availability: MacOS-X 10.0.0

Obtaining an NSDecimalNumber version of an ordinary NSNumber.
Returns an NSDecimal representation of the number. Float and double values may not be converted exactly

Software documentation for the NSDecimalNumberBehaviors protocol

NSDecimalNumberBehaviors

Declared in:
Foundation/NSDecimalNumber.h
Availability: MacOS-X 10.0.0

This protocol encapsulates information about how an NSDecimalNumber should round and process exceptions. Usually you can just create objects of the NSDecimalNumberHandler class, which implements this protocol, but if you don't want to use that class you can create your own implementing it.

Method summary


exceptionDuringOperation: error: leftOperand: rightOperand: 

- (NSDecimalNumber*) exceptionDuringOperation: (SEL)method error: (NSCalculationError)error leftOperand: (NSDecimalNumber*)leftOperand rightOperand: (NSDecimalNumber*)rightOperand;
Availability: MacOS-X 10.0.0

Specifies behavior when, in the course of applying method to leftOperand and rightOperand, an NSDecimalNumber instance encounters given error.

error has four possible constant values:

NSCalculationLossOfPrecision
The number can't be represented in 38 significant digits.
NSCalculationOverflow
The number is too large to represent.
NSCalculationUnderflow
The number is too small to represent.
NSCalculationDivideByZero
The caller tried to divide by 0.

Behavior on error can be one of the following:

  • Raise an exception.
  • Return nil. The calling method will return its value as though no error had occurred. If error is NSCalculationLossOfPrecision, method will return an imprecise value, constrained to 38 significant digits. If error is NSCalculationUnderflow or NSCalculationOverflow, method will return NSDecimalNumber 's notANumber. You shouldn't return nil if error is NSDivideByZero.
  • Correct the error and return a valid NSDecimalNumber. The calling method will use this as its own return value.

roundingMode 

- (NSRoundingMode) roundingMode;
Availability: MacOS-X 10.0.0

Specifies how NSDecimalNumber 's decimalNumberBy... methods round their return values. This should be set to one of the following constants:
NSRoundDown
Always round down.
NSRoundUp
Always round up.
NSRoundPlain
Round to the closest possible return value. Halfway (e.g..5) rounds up for positive numbers, down for negative (towards larger absolute value).
NSRoundBankers
Round to the closest possible return value, but halfway (e.g..5) rounds towards possibility whose last digit is even.

scale 

- (short) scale;
Availability: MacOS-X 10.0.0

Specifies the precision of the values returned by NSDecimalNumber 's decimalNumberBy... methods, in terms of the number of digits allowed after the decimal point. This can be negative, implying that the precision should be, e.g., 100's, 1000's, etc.. For unlimited precision, set to NSDecimalNoScale.


Up