🆗

iOS SDKのFoundationで使われているBool値のプロパティ名一覧

2023/01/24に公開

これなに?

  • Apple系OSのSDK(macOS, iOS, iPadOS, watchOS, tvOS, SDKs)に含まれるFoundation.frameworkのヘッダーファイルからBool値のプロパティ名を抜き出して表にまとめたものです
  • バージョン
    • Xcode14.2
  • この記事のFoundation版

留意事項

  • Bool値を返すメソッドはここには含まれていません
  • ファイル名単位でまとめてあるので型がファイル名と一致しているとは限りません

目的

  • 命名時の参考にしたかったため

Bool値のプロパティ名一覧

ファイル名 プロパティ名
NSAttributedString.h allowsExtendedAttributes
NSAttributedString.h appliesSourcePositionAttributes
NSBundle.h isLoaded
NSByteCountFormatter.h allowsNonnumericFormatting
NSByteCountFormatter.h includesActualByteCount
NSByteCountFormatter.h includesCount
NSByteCountFormatter.h includesUnit
NSByteCountFormatter.h isAdaptive
NSByteCountFormatter.h zeroPadsFractionDigits
NSCache.h evictsObjectsWithDiscardedContent
NSCalendar.h isLeapMonth
NSCalendar.h isValidDate
NSCoder.h allowsKeyedCoding
NSCoder.h requiresSecureCoding
NSDateComponentsFormatter.h allowsFractionalUnits
NSDateComponentsFormatter.h collapsesLargestUnit
NSDateComponentsFormatter.h includesApproximationPhrase
NSDateComponentsFormatter.h includesTimeRemainingPhrase
NSDateFormatter.h doesRelativeDateFormatting
NSDateFormatter.h generatesCalendarDates
NSDateFormatter.h isLenient
NSEnergyFormatter.h isForFoodEnergyUse
NSFileManager.h isEnumeratingDirectoryPostOrder
NSFileVersion.h hasLocalContents
NSFileVersion.h hasThumbnail
NSFileVersion.h isConflict
NSFileVersion.h isDiscardable
NSFileVersion.h isResolved
NSFileWrapper.h isDirectory
NSFileWrapper.h isRegularFile
NSFileWrapper.h isSymbolicLink
NSHTTPCookie.h isHTTPOnly
NSHTTPCookie.h isSecure
NSHTTPCookie.h isSessionOnly
NSInflectionRule.h canInflectPreferredLocalization
NSInvocation.h argumentsRetained
NSKeyValueCoding.h accessInstanceVariablesDirectly
NSKeyedArchiver.h requiresSecureCoding
NSKeyedArchiver.h requiresSecureCoding
NSLengthFormatter.h isForPersonHeightUse
NSLocale.h usesMetricSystem
NSMassFormatter.h isForPersonMassUse
NSMetadata.h isGathering
NSMetadata.h isStarted
NSMetadata.h isStopped
NSMorphology.h isUnspecified
NSNetServices.h includesPeerToPeer
NSNetServices.h includesPeerToPeer
NSNumberFormatter.h allowsFloats
NSNumberFormatter.h alwaysShowsDecimalSeparator
NSNumberFormatter.h generatesDecimalNumbers
NSNumberFormatter.h hasThousandSeparators
NSNumberFormatter.h isLenient
NSNumberFormatter.h isPartialStringValidationEnabled
NSNumberFormatter.h localizesFormat
NSNumberFormatter.h usesGroupingSeparator
NSNumberFormatter.h usesSignificantDigits
NSObject.h supportsSecureCoding
NSOperation.h isAsynchronous
NSOperation.h isCancelled
NSOperation.h isConcurrent
NSOperation.h isExecuting
NSOperation.h isFinished
NSOperation.h isReady
NSOperation.h isSuspended
NSOrderedCollectionDifference.h hasChanges
NSPathUtilities.h isAbsolutePath
NSPersonNameComponentsFormatter.h isPhonetic
NSPointerFunctions.h shouldCopy
NSPointerFunctions.h usesStrongWriteBarrier
NSPointerFunctions.h usesWeakReadAndWriteBarriers
NSPointerFunctions.h ``
NSPort.h isValid
NSProcessInfo.h automaticTerminationSupportEnabled
NSProcessInfo.h isLowPowerModeEnabled
NSProcessInfo.h isMacCatalystApp
NSProcessInfo.h isiOSAppOnMac
NSProgress.h isCancellable
NSProgress.h isCancelled
NSProgress.h isFinished
NSProgress.h isIndeterminate
NSProgress.h isOld
NSProgress.h isPausable
NSProgress.h isPaused
NSScanner.h caseSensitive
NSScanner.h isAtEnd
NSSortDescriptor.h ascending
NSStream.h hasBytesAvailable
NSStream.h hasSpaceAvailable
NSString.h boolValue
NSThread.h isCancelled
NSThread.h isExecuting
NSThread.h isFinished
NSThread.h isMainThread
NSThread.h isMainThread
NSTimeZone.h isDaylightSavingTime
NSTimer.h isValid
NSURLCredential.h hasPassword
NSURLProtectionSpace.h isProxy
NSURLProtectionSpace.h receivesCredentialSecurely
NSURLRequest.h HTTPShouldHandleCookies
NSURLRequest.h HTTPShouldHandleCookies
NSURLRequest.h HTTPShouldUsePipelining
NSURLRequest.h HTTPShouldUsePipelining
NSURLRequest.h allowsCellularAccess
NSURLRequest.h allowsCellularAccess
NSURLRequest.h allowsConstrainedNetworkAccess
NSURLRequest.h allowsConstrainedNetworkAccess
NSURLRequest.h allowsExpensiveNetworkAccess
NSURLRequest.h allowsExpensiveNetworkAccess
NSURLRequest.h assumesHTTP3Capable
NSURLRequest.h assumesHTTP3Capable
NSURLRequest.h requiresDNSSECValidation
NSURLRequest.h requiresDNSSECValidation
NSURLRequest.h supportsSecureCoding
NSURLSession.h HTTPShouldSetCookies
NSURLSession.h HTTPShouldUsePipelining
NSURLSession.h allowsCellularAccess
NSURLSession.h allowsConstrainedNetworkAccess
NSURLSession.h allowsExpensiveNetworkAccess
NSURLSession.h isCellular
NSURLSession.h isConstrained
NSURLSession.h isDiscretionary
NSURLSession.h isExpensive
NSURLSession.h isMultipath
NSURLSession.h isProxyConnection
NSURLSession.h isReusedConnection
NSURLSession.h prefersIncrementalDelivery
NSURLSession.h requiresDNSSECValidation
NSURLSession.h sessionSendsLaunchEvents
NSURLSession.h shouldUseExtendedBackgroundIdleMode
NSURLSession.h waitsForConnectivity
NSURL.h hasDirectoryPath
NSURL.h isFileURL
NSUndoManager.h canRedo
NSUndoManager.h canUndo
NSUndoManager.h groupsByEvent
NSUndoManager.h isRedoing
NSUndoManager.h isUndoRegistrationEnabled
NSUndoManager.h isUndoing
NSUndoManager.h redoActionIsDiscardable
NSUndoManager.h undoActionIsDiscardable
NSUserActivity.h isEligibleForHandoff
NSUserActivity.h isEligibleForPrediction
NSUserActivity.h isEligibleForPublicIndexing
NSUserActivity.h isEligibleForSearch
NSUserActivity.h needsSave
NSUserActivity.h supportsContinuationStreams
NSValue.h boolValue
NSXMLParser.h shouldProcessNamespaces
NSXMLParser.h shouldReportNamespacePrefixes
NSXMLParser.h shouldResolveExternalEntities

Discussion