One Logo Pool Ball
App Frameworks · IOS API REFERENCE

Foundation

Access essential data types, collections, and operating-system services to define the base layer of functionality for your app.

1,489 types

8,607 callable entries

1,332 skipped

87% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

Array.DecodingConfiguration

typealias · iOS 15.0+

Array.EncodingConfiguration

typealias · iOS 15.0+

Array.Regions

typealias · iOS 8.0+

ArraySlice.Regions

typealias · iOS 8.0+

AsyncCharacterSequence

struct · iOS 15.0+

AsyncCharacterSequence.AsyncIterator

struct · iOS 15.0+

AsyncCharacterSequence.AsyncIterator.Element

typealias · iOS 15.0+

AsyncCharacterSequence.Element

typealias · iOS 15.0+

AsyncLineSequence

struct · iOS 15.0+

AsyncLineSequence.AsyncIterator

struct · iOS 15.0+

AsyncLineSequence.AsyncIterator.Element

typealias · iOS 15.0+

AsyncLineSequence.Element

typealias · iOS 15.0+

AsyncUnicodeScalarSequence

struct · iOS 15.0+

AsyncUnicodeScalarSequence.AsyncIterator

struct · iOS 15.0+

AsyncUnicodeScalarSequence.AsyncIterator.Element

typealias · iOS 15.0+

AsyncUnicodeScalarSequence.Element

typealias · iOS 15.0+

AttributeContainer

struct · iOS 15.0+

AttributeContainer.Builder

struct · iOS 15.0+

AttributeContainer.DecodingConfiguration

typealias · iOS 15.0+

AttributeContainer.EncodingConfiguration

typealias · iOS 15.0+

AttributedString

struct · iOS 15.0+

AttributedString.AttributeInvalidationCondition

struct · iOS 16.0+

AttributedString.AttributeMergePolicy

enum · iOS 15.0+

AttributedString.AttributeRunBoundaries

enum · iOS 16.0+

AttributedString.CharacterView

struct · iOS 15.0+

AttributedString.CharacterView.Element

typealias · iOS 15.0+

AttributedString.CharacterView.Index

typealias · iOS 15.0+

AttributedString.CharacterView.Indices

typealias · iOS 15.0+

AttributedString.CharacterView.Iterator

typealias · iOS 15.0+

AttributedString.CharacterView.SubSequence

typealias · iOS 15.0+

AttributedString.DecodingConfiguration

typealias · iOS 15.0+

AttributedString.EncodingConfiguration

typealias · iOS 15.0+

AttributedString.ExtendedGraphemeClusterLiteralType

typealias · iOS 15.0+

AttributedString.FormattingOptions

struct · iOS 15.0+

AttributedString.FormattingOptions.ArrayLiteralElement

typealias · iOS 15.0+

AttributedString.FormattingOptions.Element

typealias · iOS 15.0+

AttributedString.FormattingOptions.RawValue

typealias · iOS 15.0+

AttributedString.Index

struct · iOS 15.0+

AttributedString.InterpolationOptions

struct · iOS 15.0+

AttributedString.InterpolationOptions.ArrayLiteralElement

typealias · iOS 15.0+

AttributedString.InterpolationOptions.Element

typealias · iOS 15.0+

AttributedString.InterpolationOptions.RawValue

typealias · iOS 15.0+

AttributedString.LocalizationOptions

struct · iOS 16.0+

AttributedString.MarkdownParsingOptions

struct · iOS 15.0+

AttributedString.MarkdownParsingOptions.FailurePolicy

enum · iOS 15.0+

AttributedString.MarkdownParsingOptions.FailurePolicy.RawValue

typealias · iOS 15.0+

AttributedString.MarkdownParsingOptions.InterpretedSyntax

enum · iOS 15.0+

AttributedString.MarkdownParsingOptions.InterpretedSyntax.RawValue

typealias · iOS 15.0+

AttributedString.MarkdownSourcePosition

struct · iOS 16.0+

AttributedString.Runs

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice1

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice1.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice1.Index

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice1.Indices

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice1.Iterator

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice1.Iterator.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice1.SubSequence

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice2

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice2.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice2.Index

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice2.Indices

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice2.Iterator

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice2.Iterator.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice2.SubSequence

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice3

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice3.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice3.Index

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice3.Indices

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice3.Iterator

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice3.Iterator.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice3.SubSequence

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice4

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice4.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice4.Index

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice4.Indices

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice4.Iterator

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice4.Iterator.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice4.SubSequence

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice5

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice5.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice5.Index

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice5.Indices

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice5.Iterator

struct · iOS 15.0+

AttributedString.Runs.AttributesSlice5.Iterator.Element

typealias · iOS 15.0+

AttributedString.Runs.AttributesSlice5.SubSequence

typealias · iOS 15.0+

AttributedString.Runs.Element

typealias · iOS 15.0+

AttributedString.Runs.Index

struct · iOS 15.0+

AttributedString.Runs.Index.Stride

typealias · iOS 15.0+ · Deprecated in iOS 26.0

AttributedString.Runs.Indices

typealias · iOS 15.0+

AttributedString.Runs.Iterator

typealias · iOS 15.0+

AttributedString.Runs.Run

struct · iOS 15.0+

AttributedString.Runs.SubSequence

typealias · iOS 15.0+

AttributedString.SingleAttributeTransformer

struct · iOS 15.0+

AttributedString.StringLiteralType

typealias · iOS 15.0+

AttributedString.UnicodeScalarLiteralType

typealias · iOS 15.0+

AttributedString.UnicodeScalarView

struct · iOS 15.0+

AttributedString.UnicodeScalarView.Element

typealias · iOS 15.0+

AttributedString.UnicodeScalarView.Index

typealias · iOS 15.0+

AttributedString.UnicodeScalarView.Indices

typealias · iOS 15.0+

AttributedString.UnicodeScalarView.Iterator

typealias · iOS 15.0+

AttributedString.UnicodeScalarView.SubSequence

typealias · iOS 15.0+

AttributedString.UTF16View

struct · iOS 26.0+

AttributedString.UTF16View.Element

typealias · iOS 26.0+

AttributedString.UTF16View.Index

typealias · iOS 26.0+

AttributedString.UTF16View.Indices

typealias · iOS 26.0+

AttributedString.UTF16View.Iterator

typealias · iOS 26.0+

AttributedString.UTF16View.Subsequence

typealias · iOS 26.0+

AttributedString.UTF16View.SubSequence

typealias · iOS 26.0+

AttributedString.UTF8View

struct · iOS 26.0+

AttributedString.UTF8View.Element

typealias · iOS 26.0+

AttributedString.UTF8View.Index

typealias · iOS 26.0+

AttributedString.UTF8View.Indices

typealias · iOS 26.0+

AttributedString.UTF8View.Iterator

typealias · iOS 26.0+

AttributedString.UTF8View.Subsequence

typealias · iOS 26.0+

AttributedString.UTF8View.SubSequence

typealias · iOS 26.0+

AttributedString.WritingDirection

enum · iOS 26.0+

AttributedString.WritingDirection.AllCases

typealias · iOS 26.0+

AttributedStringAttributeMutation

protocol · iOS 15.0+

AttributedStringKey

protocol · iOS 15.0+

AttributedStringProtocol

protocol · iOS 15.0+

AttributedSubstring

struct · iOS 15.0+

AttributeDynamicLookup

enum · iOS 15.0+

AttributeScope

protocol · iOS 15.0+

AttributeScopeCodableConfiguration

struct · iOS 15.0+

AttributeScopes

enum · iOS 15.0+

AttributeScopes.FoundationAttributes

struct · iOS 15.0+

AttributeScopes.FoundationAttributes.AgreementArgumentAttribute

enum · iOS 17.0+

AttributeScopes.FoundationAttributes.AgreementArgumentAttribute.Value

typealias · iOS 17.0+

AttributeScopes.FoundationAttributes.AgreementConceptAttribute

enum · iOS 17.0+

AttributeScopes.FoundationAttributes.AgreementConceptAttribute.Value

typealias · iOS 17.0+

AttributeScopes.FoundationAttributes.AlternateDescriptionAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.AlternateDescriptionAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.ByteCountAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.ByteCountAttribute.Component

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.ByteCountAttribute.Unit

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.ByteCountAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.DateFieldAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.DateFieldAttribute.Field

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.DateFieldAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.DecodingConfiguration

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.DurationFieldAttribute

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.DurationFieldAttribute.Field

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.DurationFieldAttribute.Field.RawValue

typealias · iOS 16.0+

AttributeScopes.FoundationAttributes.DurationFieldAttribute.Value

typealias · iOS 16.0+

AttributeScopes.FoundationAttributes.EncodingConfiguration

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.ImageURLAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.ImageURLAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.InflectionAlternativeAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.InflectionAlternativeAttribute.ObjectiveCValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.InflectionAlternativeAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.InflectionRuleAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.InflectionRuleAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.InlinePresentationIntentAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.InlinePresentationIntentAttribute.ObjectiveCValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.InlinePresentationIntentAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.LinkAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.LinkAttribute.ObjectiveCValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.LinkAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.ListItemDelimiterAttribute

enum · iOS 26.0+

AttributeScopes.FoundationAttributes.ListItemDelimiterAttribute.ObjectiveCValue

typealias · iOS 26.0+

AttributeScopes.FoundationAttributes.ListItemDelimiterAttribute.Value

typealias · iOS 26.0+

AttributeScopes.FoundationAttributes.LocalizedNumberFormatAttribute

enum · iOS 18.0+

AttributeScopes.FoundationAttributes.LocalizedNumberFormatAttribute.Value

struct · iOS 18.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes

struct · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedDateArgumentAttribute

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedDateArgumentAttribute.Value

typealias · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedDateIntervalArgumentAttribute

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedDateIntervalArgumentAttribute.Value

typealias · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedNumericArgumentAttribute

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedNumericArgumentAttribute.Value

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedURLArgumentAttribute

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.LocalizedStringArgumentAttributes.LocalizedURLArgumentAttribute.Value

typealias · iOS 16.0+

AttributeScopes.FoundationAttributes.MarkdownSourcePositionAttribute

enum · iOS 16.0+

AttributeScopes.FoundationAttributes.MarkdownSourcePositionAttribute.Value

typealias · iOS 16.0+

AttributeScopes.FoundationAttributes.MeasurementAttribute

struct · iOS 15.0+

AttributeScopes.FoundationAttributes.MeasurementAttribute.Component

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.MeasurementAttribute.Component.RawValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.MeasurementAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.MorphologyAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.MorphologyAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes

struct · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.DecodingConfiguration

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.EncodingConfiguration

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute.NumberPart

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute.NumberPart.RawValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute.Symbol

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute.Symbol.RawValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.PersonNameComponentAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.PersonNameComponentAttribute.Component

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.PersonNameComponentAttribute.Component.RawValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.PersonNameComponentAttribute.ObjectiveCValue

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.PersonNameComponentAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.PresentationIntentAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.PresentationIntentAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.ReferentConceptAttribute

enum · iOS 17.0+

AttributeScopes.FoundationAttributes.ReferentConceptAttribute.Value

typealias · iOS 17.0+

AttributeScopes.FoundationAttributes.ReplacementIndexAttribute

enum · iOS 15.0+

AttributeScopes.FoundationAttributes.ReplacementIndexAttribute.Value

typealias · iOS 15.0+

AttributeScopes.FoundationAttributes.WritingDirectionAttribute

enum · iOS 26.0+

AttributeScopes.FoundationAttributes.WritingDirectionAttribute.Value

typealias · iOS 26.0+

BlockOperation

class · iOS 4.0+

Bundle

class

Bundle.DidLoadMessage

struct · iOS 26.0+

Bundle.DidLoadMessage.Subject

typealias · iOS 26.0+

ByteCountFormatStyle

struct · iOS 15.0+

ByteCountFormatStyle.Attributed

struct · iOS 15.0+

ByteCountFormatStyle.Attributed.FormatInput

typealias · iOS 15.0+

ByteCountFormatStyle.Attributed.FormatOutput

typealias · iOS 15.0+

ByteCountFormatStyle.FormatInput

typealias · iOS 15.0+

ByteCountFormatStyle.FormatOutput

typealias · iOS 15.0+

ByteCountFormatStyle.Style

enum · iOS 15.0+

ByteCountFormatStyle.Style.RawValue

typealias · iOS 15.0+

ByteCountFormatStyle.Units

struct · iOS 15.0+

ByteCountFormatStyle.Units.ArrayLiteralElement

typealias · iOS 15.0+

ByteCountFormatStyle.Units.Element

typealias · iOS 15.0+

ByteCountFormatStyle.Units.RawValue

typealias · iOS 15.0+

ByteCountFormatter

class · iOS 6.0+

ByteCountFormatter.CountStyle

enum

ByteCountFormatter.Units

struct

CachedURLResponse

class · iOS 2.0+

Calendar

struct · iOS 8.0+

Calendar.CalendarDayChangedMessage

struct · iOS 26.0+

Calendar.CalendarDayChangedMessage.Subject

typealias · iOS 26.0+

Calendar.Component

enum · iOS 8.0+

Calendar.Identifier

enum · iOS 8.0+

Calendar.MatchingPolicy

enum · iOS 8.0+

Calendar.RecurrenceRule

struct · iOS 18.0+

Calendar.RecurrenceRule.End

struct · iOS 18.0+

Calendar.RecurrenceRule.Frequency

enum · iOS 18.0+

Calendar.RecurrenceRule.Frequency.RawValue

typealias · iOS 18.0+

Calendar.RecurrenceRule.Month

struct · iOS 18.0+

Calendar.RecurrenceRule.Month.IntegerLiteralType

typealias · iOS 18.0+

Calendar.RecurrenceRule.Weekday

enum · iOS 18.0+

Calendar.ReferenceType

typealias · iOS 8.0+

Calendar.RepeatedTimePolicy

enum · iOS 8.0+

Calendar.SearchDirection

enum · iOS 8.0+

CharacterSet

struct · iOS 8.0+

CharacterSet.ArrayLiteralElement

typealias · iOS 8.0+

CharacterSet.Element

typealias · iOS 8.0+

CharacterSet.ReferenceType

typealias · iOS 8.0+

CocoaError

struct · iOS 8.0+

CocoaError.Code

struct · iOS 8.0+

CocoaError.Code.RawValue

typealias · iOS 8.0+

CodableAttributedStringKey

typealias · iOS 15.0+

CodableConfiguration

struct · iOS 15.0+

CodableWithConfiguration

typealias · iOS 15.0+

ComparableComparator

struct · iOS 15.0+

Comparator

typealias

ComparisonResult

enum

ContiguousArray.Regions

typealias · iOS 8.0+

ContiguousBytes

protocol · iOS 8.0+

CurrencyFormatStyleConfiguration

enum · iOS 15.0+

CurrencyFormatStyleConfiguration.DecimalSeparatorDisplayStrategy

typealias · iOS 15.0+

CurrencyFormatStyleConfiguration.Grouping

typealias · iOS 15.0+

CurrencyFormatStyleConfiguration.Notation

typealias · iOS 18.0+

CurrencyFormatStyleConfiguration.Precision

typealias · iOS 15.0+

CurrencyFormatStyleConfiguration.Presentation

struct · iOS 15.0+

CurrencyFormatStyleConfiguration.RoundingRule

typealias · iOS 15.0+

CurrencyFormatStyleConfiguration.SignDisplayStrategy

struct · iOS 15.0+

CustomLocalizedStringResourceConvertible

protocol · iOS 16.0+

CustomNSError

protocol · iOS 8.0+

Data

struct · iOS 8.0+

Data.Base64DecodingOptions

typealias · iOS 8.0+

Data.Base64EncodingOptions

typealias · iOS 8.0+

Data.Deallocator

enum · iOS 8.0+

Data.Element

typealias · iOS 8.0+

Data.Index

typealias · iOS 8.0+

Data.Indices

typealias · iOS 8.0+

Data.Iterator

struct · iOS 8.0+

Data.Iterator.Element

typealias · iOS 8.0+

Data.ReadingOptions

typealias · iOS 8.0+

Data.ReferenceType

typealias · iOS 8.0+

Data.Regions

typealias · iOS 8.0+

Data.SearchOptions

typealias · iOS 8.0+

Data.SubSequence

typealias · iOS 8.0+

Data.WritingOptions

typealias · iOS 8.0+

DataProtocol

protocol · iOS 8.0+

Date

struct · iOS 8.0+

Date.AnchoredRelativeFormatStyle

struct · iOS 18.0+

Date.AnchoredRelativeFormatStyle.Field

typealias · iOS 18.0+

Date.AnchoredRelativeFormatStyle.FormatInput

typealias · iOS 18.0+

Date.AnchoredRelativeFormatStyle.FormatOutput

typealias · iOS 18.0+

Date.AnchoredRelativeFormatStyle.Presentation

typealias · iOS 18.0+

Date.AnchoredRelativeFormatStyle.UnitsStyle

typealias · iOS 18.0+

Date.AttributedStyle

struct · iOS 15.0+ · Deprecated in iOS 18.0

Date.AttributedStyle.FormatInput

typealias · iOS 15.0+ · Deprecated in iOS 18.0

Date.AttributedStyle.FormatOutput

typealias · iOS 15.0+ · Deprecated in iOS 18.0

Date.ComponentsFormatStyle

struct · iOS 15.0+

Date.ComponentsFormatStyle.Field

struct · iOS 15.0+

Date.ComponentsFormatStyle.FormatInput

typealias · iOS 15.0+

Date.ComponentsFormatStyle.FormatOutput

typealias · iOS 15.0+

Date.ComponentsFormatStyle.Style

struct · iOS 15.0+

Date.FormatString

struct · iOS 15.0+

Date.FormatString.ExtendedGraphemeClusterLiteralType

typealias · iOS 15.0+

Date.FormatString.StringInterpolation

struct · iOS 15.0+

Date.FormatString.StringInterpolation.StringLiteralType

typealias · iOS 15.0+

Date.FormatString.StringLiteralType

typealias · iOS 15.0+

Date.FormatString.UnicodeScalarLiteralType

typealias · iOS 15.0+

Date.FormatStyle

struct · iOS 15.0+

Date.FormatStyle.Attributed

struct · iOS 18.0+

Date.FormatStyle.Attributed.FormatInput

typealias · iOS 18.0+

Date.FormatStyle.Attributed.FormatOutput

typealias · iOS 18.0+

Date.FormatStyle.DateStyle

struct · iOS 15.0+

Date.FormatStyle.FormatInput

typealias · iOS 15.0+

Date.FormatStyle.FormatOutput

typealias · iOS 15.0+

Date.FormatStyle.ParseInput

typealias · iOS 15.0+

Date.FormatStyle.ParseOutput

typealias · iOS 15.0+

Date.FormatStyle.RegexOutput

typealias · iOS 16.0+

Date.FormatStyle.Strategy

typealias · iOS 15.0+

Date.FormatStyle.Symbol

struct · iOS 15.0+

Date.FormatStyle.Symbol.CyclicYear

struct · iOS 15.0+

Date.FormatStyle.Symbol.Day

struct · iOS 15.0+

Date.FormatStyle.Symbol.DayOfYear

struct · iOS 15.0+

Date.FormatStyle.Symbol.DayPeriod

struct · iOS 15.0+

Date.FormatStyle.Symbol.DayPeriod.Width

enum · iOS 15.0+

Date.FormatStyle.Symbol.Era

struct · iOS 15.0+

Date.FormatStyle.Symbol.Hour

struct · iOS 15.0+

Date.FormatStyle.Symbol.Hour.AMPMStyle

struct · iOS 15.0+

Date.FormatStyle.Symbol.Minute

struct · iOS 15.0+

Date.FormatStyle.Symbol.Month

struct · iOS 15.0+

Date.FormatStyle.Symbol.Quarter

struct · iOS 15.0+

Date.FormatStyle.Symbol.Second

struct · iOS 15.0+

Date.FormatStyle.Symbol.SecondFraction

struct · iOS 15.0+

Date.FormatStyle.Symbol.StandaloneMonth

struct · iOS 15.0+

Date.FormatStyle.Symbol.StandaloneQuarter

struct · iOS 15.0+

Date.FormatStyle.Symbol.StandaloneWeekday

struct · iOS 15.0+

Date.FormatStyle.Symbol.TimeZone

struct · iOS 15.0+

Date.FormatStyle.Symbol.TimeZone.Width

enum · iOS 15.0+

Date.FormatStyle.Symbol.VerbatimHour

struct · iOS 15.0+

Date.FormatStyle.Symbol.VerbatimHour.Clock

struct · iOS 15.0+

Date.FormatStyle.Symbol.VerbatimHour.HourCycle

struct · iOS 15.0+

Date.FormatStyle.Symbol.Week

struct · iOS 15.0+

Date.FormatStyle.Symbol.Weekday

struct · iOS 15.0+

Date.FormatStyle.Symbol.Year

struct · iOS 15.0+

Date.FormatStyle.Symbol.YearForWeekOfYear

struct · iOS 15.0+

Date.FormatStyle.TimeStyle

struct · iOS 15.0+

Date.HTTPFormatStyle

struct · iOS 26.0+

Date.HTTPFormatStyle.FormatInput

typealias · iOS 26.0+

Date.HTTPFormatStyle.FormatOutput

typealias · iOS 26.0+

Date.HTTPFormatStyle.ParseInput

typealias · iOS 26.0+

Date.HTTPFormatStyle.ParseOutput

typealias · iOS 26.0+

Date.HTTPFormatStyle.RegexOutput

typealias · iOS 26.0+

Date.HTTPFormatStyle.Strategy

typealias · iOS 26.0+

Date.IntervalFormatStyle

struct · iOS 15.0+

Date.IntervalFormatStyle.DateStyle

typealias · iOS 15.0+

Date.IntervalFormatStyle.FormatInput

typealias · iOS 15.0+

Date.IntervalFormatStyle.FormatOutput

typealias · iOS 15.0+

Date.IntervalFormatStyle.Symbol

typealias · iOS 15.0+

Date.IntervalFormatStyle.TimeStyle

typealias · iOS 15.0+

Date.ISO8601FormatStyle

struct · iOS 15.0+

Date.ISO8601FormatStyle.DateSeparator

enum · iOS 15.0+

Date.ISO8601FormatStyle.DateSeparator.RawValue

typealias · iOS 15.0+

Date.ISO8601FormatStyle.DateTimeSeparator

enum · iOS 15.0+

Date.ISO8601FormatStyle.DateTimeSeparator.RawValue

typealias · iOS 15.0+

Date.ISO8601FormatStyle.FormatInput

typealias · iOS 15.0+

Date.ISO8601FormatStyle.FormatOutput

typealias · iOS 15.0+

Date.ISO8601FormatStyle.ParseInput

typealias · iOS 15.0+

Date.ISO8601FormatStyle.ParseOutput

typealias · iOS 15.0+

Date.ISO8601FormatStyle.RegexOutput

typealias · iOS 16.0+

Date.ISO8601FormatStyle.Strategy

typealias · iOS 15.0+

Date.ISO8601FormatStyle.TimeSeparator

enum · iOS 15.0+

Date.ISO8601FormatStyle.TimeSeparator.RawValue

typealias · iOS 15.0+

Date.ISO8601FormatStyle.TimeZoneSeparator

enum · iOS 15.0+

Date.ISO8601FormatStyle.TimeZoneSeparator.RawValue

typealias · iOS 15.0+

Date.ParseStrategy

struct · iOS 15.0+

Date.ParseStrategy.DateStyle

typealias · iOS 16.0+

Date.ParseStrategy.ParseInput

typealias · iOS 15.0+

Date.ParseStrategy.ParseOutput

typealias · iOS 15.0+

Date.ParseStrategy.RegexOutput

typealias · iOS 16.0+

Date.ParseStrategy.TimeStyle

typealias · iOS 16.0+

Date.ReferenceType

typealias · iOS 8.0+

Date.RelativeFormatStyle

struct · iOS 15.0+

Date.RelativeFormatStyle.Field

typealias · iOS 18.0+

Date.RelativeFormatStyle.FormatInput

typealias · iOS 15.0+

Date.RelativeFormatStyle.FormatOutput

typealias · iOS 15.0+

Date.RelativeFormatStyle.Presentation

struct · iOS 15.0+

Date.RelativeFormatStyle.UnitsStyle

struct · iOS 15.0+

Date.Stride

typealias · iOS 13.0+

Date.SystemClockDidChangeMessage

struct · iOS 26.0+

Date.SystemClockDidChangeMessage.Subject

typealias · iOS 26.0+

Date.VerbatimFormatStyle

struct · iOS 15.0+

Date.VerbatimFormatStyle.Attributed

struct · iOS 18.0+

Date.VerbatimFormatStyle.Attributed.FormatInput

typealias · iOS 18.0+

Date.VerbatimFormatStyle.Attributed.FormatOutput

typealias · iOS 18.0+

Date.VerbatimFormatStyle.FormatInput

typealias · iOS 15.0+

Date.VerbatimFormatStyle.FormatOutput

typealias · iOS 15.0+

Date.VerbatimFormatStyle.RegexOutput

typealias · iOS 16.0+

Date.VerbatimFormatStyle.Strategy

typealias · iOS 15.0+

DateComponents

struct · iOS 8.0+

DateComponents.HTTPFormatStyle

struct · iOS 26.0+

DateComponents.HTTPFormatStyle.FormatInput

typealias · iOS 26.0+

DateComponents.HTTPFormatStyle.FormatOutput

typealias · iOS 26.0+

DateComponents.HTTPFormatStyle.ParseInput

typealias · iOS 26.0+

DateComponents.HTTPFormatStyle.ParseOutput

typealias · iOS 26.0+

DateComponents.HTTPFormatStyle.RegexOutput

typealias · iOS 26.0+

DateComponents.HTTPFormatStyle.Strategy

typealias · iOS 26.0+

DateComponents.ISO8601FormatStyle

struct · iOS 26.0+

DateComponents.ISO8601FormatStyle.FormatInput

typealias · iOS 26.0+

DateComponents.ISO8601FormatStyle.FormatOutput

typealias · iOS 26.0+

DateComponents.ISO8601FormatStyle.ParseInput

typealias · iOS 26.0+

DateComponents.ISO8601FormatStyle.ParseOutput

typealias · iOS 26.0+

DateComponents.ISO8601FormatStyle.RegexOutput

typealias · iOS 26.0+

DateComponents.ISO8601FormatStyle.Strategy

typealias · iOS 26.0+

DateComponents.ReferenceType

typealias · iOS 8.0+

DateComponentsFormatter

class · iOS 8.0+

DateComponentsFormatter.UnitsStyle

enum · iOS 8.0+

DateComponentsFormatter.ZeroFormattingBehavior

struct · iOS 8.0+

DateFormatter

class

DateFormatter.Behavior

enum

DateFormatter.Style

enum

DateInterval

struct · iOS 10.0+

DateInterval.ReferenceType

typealias · iOS 10.0+

DateIntervalFormatter

class · iOS 8.0+

DateIntervalFormatter.Style

enum · iOS 8.0+

Decimal

struct

Decimal.CalculationError

typealias · iOS 8.0+

Decimal.FloatLiteralType

typealias · iOS 8.0+

Decimal.FormatStyle

struct · iOS 15.0+

Decimal.FormatStyle.Attributed

struct · iOS 15.0+

Decimal.FormatStyle.Attributed.FormatInput

typealias · iOS 15.0+

Decimal.FormatStyle.Attributed.FormatOutput

typealias · iOS 15.0+

Decimal.FormatStyle.Configuration

typealias · iOS 15.0+

Decimal.FormatStyle.Currency

struct · iOS 15.0+

Decimal.FormatStyle.Currency.Configuration

typealias · iOS 15.0+

Decimal.FormatStyle.Currency.FormatInput

typealias · iOS 15.0+

Decimal.FormatStyle.Currency.FormatOutput

typealias · iOS 15.0+

Decimal.FormatStyle.Currency.RegexOutput

typealias · iOS 16.0+

Decimal.FormatStyle.Currency.Strategy

typealias · iOS 15.0+

Decimal.FormatStyle.FormatInput

typealias · iOS 15.0+

Decimal.FormatStyle.FormatOutput

typealias · iOS 15.0+

Decimal.FormatStyle.Percent

struct · iOS 15.0+

Decimal.FormatStyle.Percent.Configuration

typealias · iOS 15.0+

Decimal.FormatStyle.Percent.FormatInput

typealias · iOS 15.0+

Decimal.FormatStyle.Percent.FormatOutput

typealias · iOS 15.0+

Decimal.FormatStyle.Percent.RegexOutput

typealias · iOS 16.0+

Decimal.FormatStyle.Percent.Strategy

typealias · iOS 15.0+

Decimal.FormatStyle.RegexOutput

typealias · iOS 16.0+

Decimal.FormatStyle.Strategy

typealias · iOS 15.0+

Decimal.IntegerLiteralType

typealias · iOS 8.0+

Decimal.Magnitude

typealias · iOS 8.0+

Decimal.ParseStrategy

struct · iOS 15.0+

Decimal.ParseStrategy.ParseInput

typealias · iOS 15.0+

Decimal.ParseStrategy.ParseOutput

typealias · iOS 15.0+

Decimal.RoundingMode

typealias · iOS 8.0+

Decimal.Stride

typealias · iOS 8.0+

DecodableAttributedStringKey

protocol · iOS 15.0+

DecodableWithConfiguration

protocol · iOS 15.0+

DecodingConfigurationProviding

protocol · iOS 15.0+

DescriptiveNumberFormatConfiguration

enum · iOS 15.0+

DescriptiveNumberFormatConfiguration.CapitalizationContext

typealias · iOS 15.0+

DescriptiveNumberFormatConfiguration.Presentation

struct · iOS 15.0+

Dimension

class · iOS 10.0+

DiscontiguousAttributedSubstring

struct · iOS 26.0+

DiscreteFormatStyle

protocol · iOS 18.0+

DispatchData.Region

struct · iOS 2.0+

DispatchData.Region.Element

typealias · iOS 2.0+

DispatchData.Region.Index

typealias · iOS 2.0+

DispatchData.Region.Indices

typealias · iOS 2.0+

DispatchData.Region.Iterator

typealias · iOS 2.0+

DispatchData.Region.Regions

typealias · iOS 2.0+

DispatchData.Region.SubSequence

typealias · iOS 2.0+

DispatchData.Regions

typealias · iOS 2.0+

Duration.TimeFormatStyle

struct · iOS 16.0+

Duration.TimeFormatStyle.Attributed

struct · iOS 16.0+

Duration.TimeFormatStyle.Attributed.FormatInput

typealias · iOS 16.0+

Duration.TimeFormatStyle.Attributed.FormatOutput

typealias · iOS 16.0+

Duration.TimeFormatStyle.FormatInput

typealias · iOS 16.0+

Duration.TimeFormatStyle.FormatOutput

typealias · iOS 16.0+

Duration.TimeFormatStyle.Pattern

struct · iOS 16.0+

Duration.UnitsFormatStyle

struct · iOS 16.0+

Duration.UnitsFormatStyle.Attributed

struct · iOS 16.0+

Duration.UnitsFormatStyle.Attributed.FormatInput

typealias · iOS 16.0+

Duration.UnitsFormatStyle.Attributed.FormatOutput

typealias · iOS 16.0+

Duration.UnitsFormatStyle.FormatInput

typealias · iOS 16.0+

Duration.UnitsFormatStyle.FormatOutput

typealias · iOS 16.0+

Duration.UnitsFormatStyle.FractionalPartDisplayStrategy

struct · iOS 16.0+

Duration.UnitsFormatStyle.Unit

struct · iOS 16.0+

Duration.UnitsFormatStyle.UnitWidth

struct · iOS 16.0+

Duration.UnitsFormatStyle.ZeroValueUnitsDisplayStrategy

struct · iOS 16.0+

EmptyCollection.Regions

typealias · iOS 8.0+

EncodableAttributedStringKey

protocol · iOS 15.0+

EncodableWithConfiguration

protocol · iOS 15.0+

EncodingConfigurationProviding

protocol · iOS 15.0+

EnergyFormatter

class · iOS 8.0+

EnergyFormatter.Unit

enum · iOS 8.0+

ErrorPointer

typealias

ErrorUserInfoKey

struct · iOS 8.0+

ErrorUserInfoKey.RawValue

typealias · iOS 8.0+

Expression

struct · iOS 18.0+

Expression.DecodingConfiguration

typealias · iOS 18.0+

Expression.EncodingConfiguration

typealias · iOS 18.0+

FileAttributeKey

struct

FileAttributeType

struct

FileHandle

class

FileHandle.AsyncBytes

struct · iOS 15.0+

FileHandle.AsyncBytes.AsyncIterator

typealias · iOS 15.0+

FileHandle.AsyncBytes.Element

typealias · iOS 15.0+

FileHandle.AsyncBytes.Iterator

struct · iOS 15.0+

FileHandle.AsyncBytes.Iterator.Element

typealias · iOS 15.0+

FileHandle.ConnectionAcceptedMessage

struct · iOS 26.0+

FileHandle.ConnectionAcceptedMessage.Subject

typealias · iOS 26.0+

FileHandle.DataAvailableMessage

struct · iOS 26.0+

FileHandle.DataAvailableMessage.Subject

typealias · iOS 26.0+

FileHandle.ReadCompletionMessage

struct · iOS 26.0+

FileHandle.ReadCompletionMessage.Subject

typealias · iOS 26.0+

FileHandle.ReadToEndOfFileCompletionMessage

struct · iOS 26.0+

FileHandle.ReadToEndOfFileCompletionMessage.Subject

typealias · iOS 26.0+

FileManager

class

FileManager.DirectoryEnumerationOptions

struct · iOS 4.0+

FileManager.DirectoryEnumerator

class

FileManager.ItemReplacementOptions

struct · iOS 4.0+

FileManager.SearchPathDirectory

enum

FileManager.SearchPathDomainMask

struct

FileManager.UbiquityIdentityDidChangeMessage

struct · iOS 26.0+

FileManager.UbiquityIdentityDidChangeMessage.Subject

typealias · iOS 26.0+

FileManager.URLRelationship

enum · iOS 8.0+

FileManager.VolumeEnumerationOptions

struct · iOS 4.0+

FileManagerDelegate

protocol

FileProtectionType

struct

FileWrapper

class · iOS 4.0+

FileWrapper.ReadingOptions

struct · iOS 4.0+

FileWrapper.WritingOptions

struct · iOS 4.0+

FloatingPointFormatStyle

struct · iOS 15.0+

FloatingPointFormatStyle.Attributed

struct · iOS 15.0+

FloatingPointFormatStyle.Attributed.FormatInput

typealias · iOS 15.0+

FloatingPointFormatStyle.Attributed.FormatOutput

typealias · iOS 15.0+

FloatingPointFormatStyle.Configuration

typealias · iOS 15.0+

FloatingPointFormatStyle.Currency

struct · iOS 15.0+

FloatingPointFormatStyle.Currency.Configuration

typealias · iOS 15.0+

FloatingPointFormatStyle.Currency.FormatInput

typealias · iOS 15.0+

FloatingPointFormatStyle.Currency.FormatOutput

typealias · iOS 15.0+

FloatingPointFormatStyle.Currency.RegexOutput

typealias · iOS 16.0+

FloatingPointFormatStyle.Currency.Strategy

typealias · iOS 15.0+

FloatingPointFormatStyle.FormatInput

typealias · iOS 15.0+

FloatingPointFormatStyle.FormatOutput

typealias · iOS 15.0+

FloatingPointFormatStyle.Percent

struct · iOS 15.0+

FloatingPointFormatStyle.Percent.Configuration

typealias · iOS 15.0+

FloatingPointFormatStyle.Percent.FormatInput

typealias · iOS 15.0+

FloatingPointFormatStyle.Percent.FormatOutput

typealias · iOS 15.0+

FloatingPointFormatStyle.Percent.RegexOutput

typealias · iOS 16.0+

FloatingPointFormatStyle.Percent.Strategy

typealias · iOS 15.0+

FloatingPointFormatStyle.RegexOutput

typealias · iOS 16.0+

FloatingPointFormatStyle.Strategy

typealias · iOS 15.0+

FloatingPointParseStrategy

struct · iOS 15.0+

FloatingPointParseStrategy.ParseInput

typealias · iOS 15.0+

FloatingPointParseStrategy.ParseOutput

typealias · iOS 15.0+

FormatStyle

protocol · iOS 15.0+

FormatStyleCapitalizationContext

struct · iOS 15.0+

Formatter

class

Formatter.Context

enum · iOS 8.0+

Formatter.UnitStyle

enum · iOS 8.0+

HTTPCookie

class · iOS 2.0+

HTTPCookie.AcceptPolicy

enum

HTTPCookiePropertyKey

struct

HTTPCookieStorage

class · iOS 2.0+

HTTPCookieStorage.CookiesChangedMessage

struct · iOS 26.0+

HTTPCookieStorage.CookiesChangedMessage.Subject

typealias · iOS 26.0+

HTTPCookieStringPolicy

struct

HTTPURLResponse

class · iOS 2.0+

IndexPath

struct · iOS 8.0+

IndexPath.ArrayLiteralElement

typealias · iOS 8.0+

IndexPath.Element

typealias · iOS 8.0+

IndexPath.Index

typealias · iOS 8.0+

IndexPath.Indices

typealias · iOS 8.0+

IndexPath.Iterator

typealias · iOS 8.0+

IndexPath.ReferenceType

typealias · iOS 8.0+

IndexPath.SubSequence

typealias · iOS 8.0+

IndexSet

struct · iOS 8.0+

IndexSet.ArrayLiteralElement

typealias · iOS 8.0+

IndexSet.Element

typealias · iOS 8.0+

IndexSet.Index

struct · iOS 8.0+

IndexSet.Indices

typealias · iOS 8.0+

IndexSet.Iterator

typealias · iOS 8.0+

IndexSet.RangeView

struct · iOS 8.0+

IndexSet.RangeView.Element

typealias · iOS 8.0+

IndexSet.RangeView.Index

typealias · iOS 8.0+

IndexSet.RangeView.Indices

typealias · iOS 8.0+

IndexSet.RangeView.Iterator

typealias · iOS 8.0+

IndexSet.RangeView.SubSequence

typealias · iOS 8.0+

IndexSet.ReferenceType

typealias · iOS 8.0+

IndexSet.SubSequence

typealias · iOS 8.0+

InflectionConcept

enum · iOS 17.0+

InflectionRule

enum · iOS 15.0+

InlinePresentationIntent

struct · iOS 15.0+

InputStream

class

IntegerFormatStyle

struct · iOS 15.0+

IntegerFormatStyle.Attributed

struct · iOS 15.0+

IntegerFormatStyle.Attributed.FormatInput

typealias · iOS 15.0+

IntegerFormatStyle.Attributed.FormatOutput

typealias · iOS 15.0+

IntegerFormatStyle.Configuration

typealias · iOS 15.0+

IntegerFormatStyle.Currency

struct · iOS 15.0+

IntegerFormatStyle.Currency.Configuration

typealias · iOS 15.0+

IntegerFormatStyle.Currency.FormatInput

typealias · iOS 15.0+

IntegerFormatStyle.Currency.FormatOutput

typealias · iOS 15.0+

IntegerFormatStyle.Currency.RegexOutput

typealias · iOS 16.0+

IntegerFormatStyle.Currency.Strategy

typealias · iOS 15.0+

IntegerFormatStyle.FormatInput

typealias · iOS 15.0+

IntegerFormatStyle.FormatOutput

typealias · iOS 15.0+

IntegerFormatStyle.Percent

struct · iOS 15.0+

IntegerFormatStyle.Percent.Configuration

typealias · iOS 15.0+

IntegerFormatStyle.Percent.FormatInput

typealias · iOS 15.0+

IntegerFormatStyle.Percent.FormatOutput

typealias · iOS 15.0+

IntegerFormatStyle.Percent.RegexOutput

typealias · iOS 16.0+

IntegerFormatStyle.Percent.Strategy

typealias · iOS 15.0+

IntegerFormatStyle.RegexOutput

typealias · iOS 16.0+

IntegerFormatStyle.Strategy

typealias · iOS 15.0+

IntegerParseStrategy

struct · iOS 15.0+

IntegerParseStrategy.ParseInput

typealias · iOS 15.0+

IntegerParseStrategy.ParseOutput

typealias · iOS 15.0+

ISO8601DateFormatter

class · iOS 10.0+

ISO8601DateFormatter.Options

struct

JSONDecoder

class · iOS 8.0+

JSONDecoder.DataDecodingStrategy

enum · iOS 8.0+

JSONDecoder.DateDecodingStrategy

enum · iOS 8.0+

JSONDecoder.Input

typealias · iOS 13.0+

JSONDecoder.KeyDecodingStrategy

enum · iOS 8.0+

JSONDecoder.NonConformingFloatDecodingStrategy

enum · iOS 8.0+

JSONEncoder

class · iOS 8.0+

JSONEncoder.DataEncodingStrategy

enum · iOS 8.0+

JSONEncoder.DateEncodingStrategy

enum · iOS 8.0+

JSONEncoder.KeyEncodingStrategy

enum · iOS 8.0+

JSONEncoder.NonConformingFloatEncodingStrategy

enum · iOS 8.0+

JSONEncoder.Output

typealias · iOS 13.0+

JSONEncoder.OutputFormatting

struct · iOS 8.0+

JSONEncoder.OutputFormatting.ArrayLiteralElement

typealias · iOS 8.0+

JSONEncoder.OutputFormatting.Element

typealias · iOS 8.0+

JSONEncoder.OutputFormatting.RawValue

typealias · iOS 8.0+

JSONSerialization

class · iOS 5.0+

JSONSerialization.ReadingOptions

struct · iOS 5.0+

JSONSerialization.WritingOptions

struct · iOS 5.0+

KeyPathComparator

struct · iOS 15.0+

LengthFormatter

class · iOS 8.0+

LengthFormatter.Unit

enum · iOS 8.0+

ListFormatStyle

struct · iOS 15.0+

ListFormatStyle.FormatInput

typealias · iOS 15.0+

ListFormatStyle.FormatOutput

typealias · iOS 15.0+

ListFormatStyle.ListType

enum · iOS 15.0+

ListFormatStyle.ListType.RawValue

typealias · iOS 15.0+

ListFormatStyle.Width

enum · iOS 15.0+

ListFormatStyle.Width.RawValue

typealias · iOS 15.0+

ListFormatter

class · iOS 13.0+

Locale

struct · iOS 8.0+

Locale.Collation

struct · iOS 16.0+

Locale.Collation.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.Collation.StringLiteralType

typealias · iOS 16.0+

Locale.Collation.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.Components

struct · iOS 16.0+

Locale.Currency

struct · iOS 16.0+

Locale.Currency.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.Currency.StringLiteralType

typealias · iOS 16.0+

Locale.Currency.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.CurrentLocaleDidChangeMessage

struct · iOS 26.0+

Locale.CurrentLocaleDidChangeMessage.Subject

typealias · iOS 26.0+

Locale.HourCycle

enum · iOS 16.0+

Locale.HourCycle.RawValue

typealias · iOS 16.0+

Locale.IdentifierType

enum · iOS 16.0+

Locale.Language

struct · iOS 16.0+

Locale.Language.Components

struct · iOS 16.0+

Locale.LanguageCode

struct · iOS 16.0+

Locale.LanguageCode.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.LanguageCode.IdentifierType

enum · iOS 16.0+

Locale.LanguageCode.StringLiteralType

typealias · iOS 16.0+

Locale.LanguageCode.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.LanguageDirection

typealias · iOS 8.0+

Locale.MeasurementSystem

struct · iOS 16.0+

Locale.MeasurementSystem.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.MeasurementSystem.StringLiteralType

typealias · iOS 16.0+

Locale.MeasurementSystem.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.NumberingSystem

struct · iOS 16.0+

Locale.NumberingSystem.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.NumberingSystem.StringLiteralType

typealias · iOS 16.0+

Locale.NumberingSystem.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.ReferenceType

typealias · iOS 8.0+

Locale.Region

struct · iOS 16.0+

Locale.Region.Category

struct · iOS 26.0+

Locale.Region.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.Region.StringLiteralType

typealias · iOS 16.0+

Locale.Region.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.Script

struct · iOS 16.0+

Locale.Script.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.Script.StringLiteralType

typealias · iOS 16.0+

Locale.Script.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.Subdivision

struct · iOS 16.0+

Locale.Subdivision.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.Subdivision.StringLiteralType

typealias · iOS 16.0+

Locale.Subdivision.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.Variant

struct · iOS 16.0+

Locale.Variant.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

Locale.Variant.StringLiteralType

typealias · iOS 16.0+

Locale.Variant.UnicodeScalarLiteralType

typealias · iOS 16.0+

Locale.Weekday

enum · iOS 16.0+

Locale.Weekday.RawValue

typealias · iOS 16.0+

LocalizedError

protocol · iOS 8.0+

LocalizedStringResource

struct · iOS 16.0+

LocalizedStringResource.BundleDescription

enum · iOS 16.0+

LocalizedStringResource.ExtendedGraphemeClusterLiteralType

typealias · iOS 16.0+

LocalizedStringResource.StringInterpolation

typealias · iOS 16.0+

LocalizedStringResource.StringLiteralType

typealias · iOS 16.0+

LocalizedStringResource.UnicodeScalarLiteralType

typealias · iOS 16.0+

MachError

struct · iOS 8.0+

MachError.Code

typealias · iOS 8.0+

MarkdownDecodableAttributedStringKey

protocol · iOS 15.0+

MassFormatter

class · iOS 8.0+

MassFormatter.Unit

enum · iOS 8.0+

Measurement

struct · iOS 10.0+

Measurement.AttributedStyle

struct · iOS 15.0+

Measurement.AttributedStyle.ByteCount

struct · iOS 16.0+

Measurement.AttributedStyle.ByteCount.FormatInput

typealias · iOS 16.0+

Measurement.AttributedStyle.ByteCount.FormatOutput

typealias · iOS 16.0+

Measurement.AttributedStyle.ByteCount.Style

typealias · iOS 16.0+

Measurement.AttributedStyle.ByteCount.Units

typealias · iOS 16.0+

Measurement.AttributedStyle.FormatInput

typealias · iOS 15.0+

Measurement.AttributedStyle.FormatOutput

typealias · iOS 15.0+

Measurement.FormatStyle

struct · iOS 15.0+

Measurement.FormatStyle.ByteCount

struct · iOS 16.0+

Measurement.FormatStyle.ByteCount.FormatInput

typealias · iOS 16.0+

Measurement.FormatStyle.ByteCount.FormatOutput

typealias · iOS 16.0+

Measurement.FormatStyle.ByteCount.Style

typealias · iOS 16.0+

Measurement.FormatStyle.ByteCount.Units

typealias · iOS 16.0+

Measurement.FormatStyle.FormatInput

typealias · iOS 15.0+

Measurement.FormatStyle.FormatOutput

typealias · iOS 15.0+

Measurement.FormatStyle.UnitWidth

struct · iOS 15.0+

Measurement.ReferenceType

typealias · iOS 10.0+

MeasurementFormatter

class · iOS 10.0+

MeasurementFormatter.UnitOptions

struct · iOS 10.0+

MeasurementFormatUnitUsage

struct · iOS 15.0+

MessagePort

class

Morphology

struct · iOS 15.0+

Morphology.CustomPronoun

struct · iOS 15.0+ · Deprecated in iOS 17.0

Morphology.Definiteness

enum · iOS 17.0+

Morphology.Definiteness.RawValue

typealias · iOS 17.0+

Morphology.Determination

enum · iOS 17.0+

Morphology.Determination.RawValue

typealias · iOS 17.0+

Morphology.GrammaticalCase

enum · iOS 17.0+

Morphology.GrammaticalCase.RawValue

typealias · iOS 17.0+

Morphology.GrammaticalGender

enum · iOS 15.0+

Morphology.GrammaticalGender.RawValue

typealias · iOS 15.0+

Morphology.GrammaticalNumber

enum · iOS 15.0+

Morphology.GrammaticalNumber.RawValue

typealias · iOS 15.0+

Morphology.GrammaticalPerson

enum · iOS 17.0+

Morphology.GrammaticalPerson.RawValue

typealias · iOS 17.0+

Morphology.PartOfSpeech

enum · iOS 15.0+

Morphology.PartOfSpeech.RawValue

typealias · iOS 15.0+

Morphology.Pronoun

struct · iOS 17.0+

Morphology.PronounType

enum · iOS 17.0+

Morphology.PronounType.RawValue

typealias · iOS 17.0+

MutableDataProtocol

protocol · iOS 8.0+

MutableURLRequest

typealias

NetService

class · iOS 2.0+ · Deprecated in iOS 100000.0

NetService.ErrorCode

enum · iOS 2.0+

NetService.Options

struct · iOS 2.0+

NetServiceBrowser

class · iOS 2.0+ · Deprecated in iOS 100000.0

NetServiceBrowserDelegate

protocol · iOS 2.0+

NetServiceDelegate

protocol · iOS 2.0+

Never.Compared

typealias · iOS 15.0+

Notification

struct · iOS 8.0+

Notification.Name

typealias · iOS 8.0+

Notification.ReferenceType

typealias · iOS 8.0+

NotificationCenter

class

NotificationCenter.AsyncMessage

protocol · iOS 26.0+

NotificationCenter.BaseMessageIdentifier

struct · iOS 26.0+

NotificationCenter.MainActorMessage

protocol · iOS 26.0+

NotificationCenter.MessageIdentifier

protocol · iOS 26.0+

NotificationCenter.Notifications

class · iOS 15.0+

NotificationCenter.Notifications.AsyncIterator

typealias · iOS 15.0+

NotificationCenter.Notifications.Element

typealias · iOS 15.0+

NotificationCenter.Notifications.Iterator

struct · iOS 15.0+

NotificationCenter.Notifications.Iterator.Element

typealias · iOS 15.0+

NotificationCenter.ObservationToken

struct · iOS 26.0+

NotificationCenter.Publisher

struct · iOS 13.0+

NotificationCenter.Publisher.Failure

typealias · iOS 13.0+

NotificationCenter.Publisher.Output

typealias · iOS 13.0+

NotificationQueue

class

NotificationQueue.NotificationCoalescing

struct

NotificationQueue.PostingStyle

enum

NSArray

class

NSArray.ArrayLiteralElement

typealias · iOS 8.0+

NSArray.Element

typealias · iOS 8.0+

NSArray.Iterator

typealias · iOS 8.0+

NSAssertionHandler

class

NSAttributedString

class · iOS 3.2+

NSAttributedString.EnumerationOptions

struct

NSAttributedString.Key

struct

NSAttributedStringFormattingContextKey

struct

NSBinarySearchingOptions

struct

NSBundleResourceRequest

class · iOS 9.0+ · Deprecated in iOS 27.0

NSBundleResourceRequest.LowDiskSpaceMessage

struct · iOS 26.0+ · Deprecated in iOS 27.0

NSBundleResourceRequest.LowDiskSpaceMessage.Subject

typealias · iOS 26.0+ · Deprecated in iOS 27.0

NSCache

class · iOS 4.0+

NSCacheDelegate

protocol

NSCalendar

class

NSCalendar.Identifier

struct

NSCalendar.Options

struct

NSCalendar.Unit

struct

NSCharacterSet

class

NSCoder

class

NSCoder.DecodingFailurePolicy

enum · iOS 9.0+

NSCoding

protocol

NSCollectionChangeType

enum · iOS 13.0+

NSComparisonPredicate

class · iOS 3.0+

NSComparisonPredicate.Modifier

enum

NSComparisonPredicate.Operator

enum

NSComparisonPredicate.Options

struct

NSCompoundPredicate

class · iOS 3.0+

NSCompoundPredicate.LogicalType

enum

NSCondition

class · iOS 2.0+

NSConditionLock

class

NSCopying

protocol

NSCountedSet

class

NSData

class

NSData.Base64DecodingOptions

struct · iOS 7.0+

NSData.Base64EncodingOptions

struct · iOS 7.0+

NSData.CompressionAlgorithm

enum · iOS 13.0+

NSData.Element

typealias · iOS 8.0+

NSData.Index

typealias · iOS 8.0+

NSData.Indices

typealias · iOS 8.0+

NSData.Iterator

typealias · iOS 8.0+

NSData.ReadingOptions

struct

NSData.Regions

typealias · iOS 8.0+

NSData.SearchOptions

struct · iOS 4.0+

NSData.SubSequence

typealias · iOS 8.0+

NSData.WritingOptions

struct

NSDataDetector

class · iOS 4.0+

NSDate

class

NSDateComponents

class

NSDateInterval

class · iOS 10.0+

NSDecimalNumber

class

NSDecimalNumber.CalculationError

enum

NSDecimalNumber.RoundingMode

enum

NSDecimalNumberBehaviors

protocol

NSDecimalNumberHandler

class

NSDictionary

class

NSDictionary.Element

typealias · iOS 8.0+

NSDictionary.Iterator

class · iOS 8.0+

NSDictionary.Iterator.Element

typealias · iOS 8.0+

NSDictionary.Key

typealias · iOS 8.0+

NSDictionary.Value

typealias · iOS 8.0+

NSDiscardableContent

protocol

NSEnumerationOptions

struct

NSEnumerator

class

NSEnumerator.Element

typealias · iOS 8.0+

NSEnumerator.Iterator

typealias · iOS 8.0+

NSError

class

NSError.UserInfoKey

typealias

NSErrorDomain

typealias

NSErrorPointer

typealias

NSException

class

NSExceptionName

struct

NSExpression

class · iOS 3.0+

NSExpression.ExpressionType

enum

NSExtensionContext

class · iOS 8.0+

NSExtensionContext.DidBecomeActiveMessage

struct · iOS 26.0+

NSExtensionContext.DidBecomeActiveMessage.Subject

typealias · iOS 26.0+

NSExtensionContext.DidEnterBackgroundMessage

struct · iOS 26.0+

NSExtensionContext.DidEnterBackgroundMessage.Subject

typealias · iOS 26.0+

NSExtensionContext.WillEnterForegroundMessage

struct · iOS 26.0+

NSExtensionContext.WillEnterForegroundMessage.Subject

typealias · iOS 26.0+

NSExtensionContext.WillResignActiveMessage

struct · iOS 26.0+

NSExtensionContext.WillResignActiveMessage.Subject

typealias · iOS 26.0+

NSExtensionItem

class · iOS 8.0+

NSExtensionRequestHandling

protocol

NSFastEnumeration

protocol

NSFastEnumerationIterator

struct · iOS 8.0+

NSFastEnumerationIterator.Element

typealias · iOS 8.0+

NSFastEnumerationState

struct

NSFileAccessIntent

class · iOS 8.0+

NSFileCoordinator

class · iOS 5.0+

NSFileCoordinator.ReadingOptions

struct

NSFileCoordinator.WritingOptions

struct

NSFileManagerResumeSyncBehavior

enum · iOS 26.0+

NSFileManagerSupportedSyncControls

struct · iOS 26.0+

NSFileManagerUploadLocalVersionConflictPolicy

enum · iOS 26.0+

NSFilePresenter

protocol

NSFileProviderService

class · iOS 11.0+

NSFileProviderServiceName

struct

NSFileSecurity

class · iOS 5.0+

NSFileVersion

class · iOS 5.0+

NSFileVersion.AddingOptions

struct

NSFileVersion.ReplacingOptions

struct

NSGrammaticalCase

enum · iOS 17.0+

NSGrammaticalDefiniteness

enum · iOS 17.0+

NSGrammaticalDetermination

enum · iOS 17.0+

NSGrammaticalGender

enum · iOS 15.0+

NSGrammaticalNumber

enum · iOS 15.0+

NSGrammaticalPartOfSpeech

enum · iOS 15.0+

NSGrammaticalPerson

enum · iOS 17.0+

NSGrammaticalPronounType

enum · iOS 17.0+

NSHashEnumerator

struct

NSHashTable

class · iOS 6.0+

NSHashTableCallBacks

struct

NSHashTableOptions

typealias

NSIndexPath

class

NSIndexSet

class

NSIndexSet.Element

typealias · iOS 8.0+

NSIndexSet.Iterator

typealias · iOS 8.0+

NSIndexSetIterator

struct · iOS 8.0+

NSIndexSetIterator.Element

typealias · iOS 8.0+

NSItemProvider

class · iOS 8.0+

NSItemProvider.CompletionHandler

typealias

NSItemProvider.ErrorCode

enum · iOS 8.0+

NSItemProvider.LoadHandler

typealias

NSItemProviderFileOptions

struct · iOS 11.0+

NSItemProviderReading

protocol · iOS 11.0+

NSItemProviderRepresentationVisibility

enum · iOS 11.0+

NSItemProviderWriting

protocol · iOS 11.0+

NSKeyedArchiver

class

NSKeyedArchiverDelegate

protocol

NSKeyedUnarchiver

class

NSKeyedUnarchiverDelegate

protocol

NSKeyValueChange

enum

NSKeyValueChangeKey

struct

NSKeyValueObservation

class · iOS 8.0+

NSKeyValueObservedChange

struct · iOS 8.0+

NSKeyValueObservedChange.Kind

typealias · iOS 8.0+

NSKeyValueObservingCustomization

protocol · iOS 8.0+

NSKeyValueObservingOptions

struct

NSKeyValueOperator

struct

NSKeyValueSetMutationKind

enum

NSKeyValueSharedObservers

class · iOS 18.0+

NSKeyValueSharedObserversSnapshot

class · iOS 18.0+

NSLinguisticTag

struct

NSLinguisticTagger

class · iOS 5.0+ · Deprecated in iOS 100000.0

NSLinguisticTagger.Options

struct

NSLinguisticTaggerUnit

enum

NSLinguisticTagScheme

struct

NSLocale

class

NSLocale.Key

struct

NSLocale.LanguageDirection

enum

NSLock

class

NSLocking

protocol

NSMachPort

class

NSMachPort.Options

struct · iOS 2.0+

NSMachPortDelegate

protocol

NSMapEnumerator

struct

NSMapTable

class · iOS 6.0+

NSMapTableKeyCallBacks

struct

NSMapTableOptions

typealias

NSMapTableValueCallBacks

struct

NSMeasurement

class · iOS 10.0+

NSMetadataItem

class · iOS 5.0+

NSMetadataQuery

class · iOS 5.0+

NSMetadataQuery.DidFinishGatheringMessage

struct · iOS 26.0+

NSMetadataQuery.DidFinishGatheringMessage.Subject

typealias · iOS 26.0+

NSMetadataQuery.DidStartGatheringMessage

struct · iOS 26.0+

NSMetadataQuery.DidStartGatheringMessage.Subject

typealias · iOS 26.0+

NSMetadataQueryAttributeValueTuple

class · iOS 5.0+

NSMetadataQueryDelegate

protocol

NSMetadataQueryResultGroup

class · iOS 5.0+

NSMutableArray

class

NSMutableAttributedString

class · iOS 3.2+

NSMutableCharacterSet

class

NSMutableCopying

protocol

NSMutableData

class

NSMutableDictionary

class

NSMutableIndexSet

class

NSMutableOrderedSet

class · iOS 5.0+

NSMutableSet

class

NSMutableString

class

NSMutableURLRequest

class · iOS 2.0+

NSNotification

class

NSNotification.Name

struct

NSNull

class

NSNumber

class

NSNumber.BooleanLiteralType

typealias · iOS 8.0+

NSNumber.FloatLiteralType

typealias · iOS 8.0+

NSNumber.IntegerLiteralType

typealias · iOS 8.0+

NSObject.KeyValueObservingPublisher

struct · iOS 13.0+

NSObject.KeyValueObservingPublisher.Failure

typealias · iOS 13.0+

NSObject.KeyValueObservingPublisher.Output

typealias · iOS 13.0+

NSOrderedCollectionChange

class · iOS 13.0+

NSOrderedCollectionDifference

class · iOS 13.0+

NSOrderedCollectionDifferenceCalculationOptions

struct · iOS 13.0+

NSOrderedSet

class · iOS 5.0+

NSOrderedSet.ArrayLiteralElement

typealias · iOS 8.0+

NSOrderedSet.Element

typealias · iOS 8.0+

NSOrderedSet.Iterator

typealias · iOS 8.0+

NSOrthography

class · iOS 4.0+

NSPersonNameComponents

class · iOS 9.0+

NSPointerArray

class · iOS 6.0+

NSPointerFunctions

class · iOS 6.0+

NSPointerFunctions.Options

struct

NSPredicate

class · iOS 3.0+

NSPredicateValidating

protocol · iOS 26.4+

NSProxy

class

NSPurgeableData

class · iOS 4.0+

NSRange

typealias

NSRangePointer

typealias

NSRecursiveLock

class

NSRegularExpression

class · iOS 4.0+

NSRegularExpression.MatchingFlags

struct

NSRegularExpression.MatchingOptions

struct

NSRegularExpression.Options

struct

NSSecureCoding

protocol

NSSecureUnarchiveFromDataTransformer

class · iOS 12.0+

NSSet

class

NSSet.ArrayLiteralElement

typealias · iOS 8.0+

NSSet.Element

typealias · iOS 8.0+

NSSet.Iterator

typealias · iOS 8.0+

NSSortDescriptor

class

NSSortOptions

struct

NSString

class

NSString.CompareOptions

struct

NSString.EncodingConversionOptions

struct

NSString.EnumerationOptions

struct

NSString.ExtendedGraphemeClusterLiteralType

typealias · iOS 8.0+

NSString.StringLiteralType

typealias · iOS 8.0+

NSString.UnicodeScalarLiteralType

typealias · iOS 8.0+

NSSwappedDouble

struct

NSSwappedFloat

struct

NSTextCheckingKey

struct

NSTextCheckingResult

class · iOS 4.0+

NSTextCheckingResult.CheckingType

struct

NSTextCheckingTypes

typealias

NSTimeZone

class

NSTimeZone.NameStyle

enum

NSUbiquitousKeyValueStore

class · iOS 5.0+

NSUncaughtExceptionHandler

typealias

NSURL

class

NSURL.BookmarkCreationOptions

struct · iOS 4.0+

NSURL.BookmarkFileCreationOptions

typealias

NSURL.BookmarkResolutionOptions

struct · iOS 4.0+

NSURLComponents

class · iOS 7.0+

NSURLConnection

class · iOS 2.0+

NSURLConnectionDataDelegate

protocol · iOS 2.0+

NSURLConnectionDelegate

protocol · iOS 2.0+

NSURLConnectionDownloadDelegate

protocol · iOS 2.0+

NSURLQueryItem

class · iOS 8.0+

NSURLRequest

class · iOS 2.0+

NSURLRequest.Attribution

enum · iOS 15.0+

NSURLRequest.CachePolicy

enum

NSURLRequest.NetworkServiceType

enum

NSUserActivity

class · iOS 8.0+

NSUserActivityDelegate

protocol · iOS 8.0+

NSUserActivityPersistentIdentifier

typealias

NSUUID

class · iOS 6.0+

NSValue

class

NSValueTransformerName

struct

NSXPCCoder

class · iOS 6.0+

NSXPCConnection

class · iOS 6.0+

NSXPCConnection.Options

struct · iOS 6.0+

NSXPCInterface

class · iOS 6.0+

NSXPCListener

class · iOS 6.0+

NSXPCListenerDelegate

protocol

NSXPCListenerEndpoint

class · iOS 6.0+

NSXPCProxyCreating

protocol

NumberFormatStyleConfiguration

enum · iOS 15.0+

NumberFormatStyleConfiguration.DecimalSeparatorDisplayStrategy

struct · iOS 15.0+

NumberFormatStyleConfiguration.Grouping

struct · iOS 15.0+

NumberFormatStyleConfiguration.Notation

struct · iOS 15.0+

NumberFormatStyleConfiguration.Precision

struct · iOS 15.0+

NumberFormatStyleConfiguration.RoundingRule

typealias · iOS 15.0+

NumberFormatStyleConfiguration.SignDisplayStrategy

struct · iOS 15.0+

NumberFormatter

class

NumberFormatter.Behavior

enum

NumberFormatter.PadPosition

enum

NumberFormatter.RoundingMode

enum

NumberFormatter.Style

enum

ObjectiveCConvertibleAttributedStringKey

protocol · iOS 15.0+

ObservableObject

typealias · iOS 13.0+

OperatingSystemVersion

struct

Operation

class · iOS 2.0+

Operation.QueuePriority

enum

OperationQueue

class · iOS 2.0+

OperationQueue.SchedulerOptions

struct · iOS 13.0+

OperationQueue.SchedulerTimeType

struct · iOS 13.0+

OperationQueue.SchedulerTimeType.Stride

struct · iOS 13.0+

OperationQueue.SchedulerTimeType.Stride.FloatLiteralType

typealias · iOS 13.0+

OperationQueue.SchedulerTimeType.Stride.IntegerLiteralType

typealias · iOS 13.0+

OperationQueue.SchedulerTimeType.Stride.Magnitude

typealias · iOS 13.0+

Optional.DecodingConfiguration

typealias · iOS 15.0+

Optional.EncodingConfiguration

typealias · iOS 15.0+

OutputStream

class

ParseableFormatStyle

protocol · iOS 15.0+

ParseStrategy

protocol · iOS 15.0+

PersonNameComponents

struct · iOS 9.0+

PersonNameComponents.AttributedStyle

struct · iOS 15.0+

PersonNameComponents.AttributedStyle.FormatInput

typealias · iOS 15.0+

PersonNameComponents.AttributedStyle.FormatOutput

typealias · iOS 15.0+

PersonNameComponents.FormatStyle

struct · iOS 15.0+

PersonNameComponents.FormatStyle.FormatInput

typealias · iOS 15.0+

PersonNameComponents.FormatStyle.FormatOutput

typealias · iOS 15.0+

PersonNameComponents.FormatStyle.Strategy

typealias · iOS 15.0+

PersonNameComponents.FormatStyle.Style

enum · iOS 15.0+

PersonNameComponents.FormatStyle.Style.RawValue

typealias · iOS 15.0+

PersonNameComponents.ParseStrategy

struct · iOS 15.0+

PersonNameComponents.ParseStrategy.ParseInput

typealias · iOS 15.0+

PersonNameComponents.ParseStrategy.ParseOutput

typealias · iOS 15.0+

PersonNameComponents.ReferenceType

typealias · iOS 9.0+

PersonNameComponentsFormatter

class · iOS 9.0+

PersonNameComponentsFormatter.Options

struct · iOS 9.0+

PersonNameComponentsFormatter.Style

enum · iOS 9.0+

Pipe

class

Port

class

Port.DidBecomeInvalidMessage

struct · iOS 26.0+

Port.DidBecomeInvalidMessage.Subject

typealias · iOS 26.0+

PortDelegate

protocol

POSIXError

struct · iOS 8.0+

POSIXError.Code

typealias · iOS 8.0+

Predicate

struct · iOS 17.0+

Predicate.DecodingConfiguration

typealias · iOS 17.0+

Predicate.EncodingConfiguration

typealias · iOS 17.0+

PredicateBindings

struct · iOS 17.0+

PredicateCodableConfiguration

struct · iOS 17.0+

PredicateCodableKeyPathProviding

protocol · iOS 17.0+

PredicateError

struct · iOS 17.0+

PredicateExpression

protocol · iOS 17.0+

PredicateExpressions

enum · iOS 17.0+

PredicateExpressions.Arithmetic

struct · iOS 17.0+

PredicateExpressions.Arithmetic.Output

typealias · iOS 17.0+

PredicateExpressions.ArithmeticOperator

enum · iOS 17.0+

PredicateExpressions.ClosedRange

struct · iOS 17.0+

PredicateExpressions.ClosedRange.Output

typealias · iOS 17.0+

PredicateExpressions.CollectionContainsCollection

struct · iOS 17.0+

PredicateExpressions.CollectionContainsCollection.Output

typealias · iOS 17.0+

PredicateExpressions.CollectionIndexSubscript

struct · iOS 17.0+

PredicateExpressions.CollectionIndexSubscript.Output

typealias · iOS 17.0+

PredicateExpressions.CollectionRangeSubscript

struct · iOS 17.0+

PredicateExpressions.CollectionRangeSubscript.Output

typealias · iOS 17.0+

PredicateExpressions.Comparison

struct · iOS 17.0+

PredicateExpressions.Comparison.Output

typealias · iOS 17.0+

PredicateExpressions.ComparisonOperator

enum · iOS 17.0+

PredicateExpressions.Conditional

struct · iOS 17.0+

PredicateExpressions.Conditional.Output

typealias · iOS 17.0+

PredicateExpressions.ConditionalCast

struct · iOS 17.0+

PredicateExpressions.ConditionalCast.Output

typealias · iOS 17.0+

PredicateExpressions.Conjunction

struct · iOS 17.0+

PredicateExpressions.Conjunction.Output

typealias · iOS 17.0+

PredicateExpressions.DictionaryKeyDefaultValueSubscript

struct · iOS 17.0+

PredicateExpressions.DictionaryKeyDefaultValueSubscript.Output

typealias · iOS 17.0+

PredicateExpressions.DictionaryKeySubscript

struct · iOS 17.0+

PredicateExpressions.DictionaryKeySubscript.Output

typealias · iOS 17.0+

PredicateExpressions.Disjunction

struct · iOS 17.0+

PredicateExpressions.Disjunction.Output

typealias · iOS 17.0+

PredicateExpressions.Equal

struct · iOS 17.0+

PredicateExpressions.Equal.Output

typealias · iOS 17.0+

PredicateExpressions.ExpressionEvaluate

struct · iOS 18.0+

PredicateExpressions.Filter

struct · iOS 17.0+

PredicateExpressions.Filter.Element

typealias · iOS 17.0+

PredicateExpressions.Filter.Output

typealias · iOS 17.0+

PredicateExpressions.FloatDivision

struct · iOS 17.0+

PredicateExpressions.FloatDivision.Output

typealias · iOS 17.0+

PredicateExpressions.ForceCast

struct · iOS 17.0+

PredicateExpressions.ForceCast.Output

typealias · iOS 17.0+

PredicateExpressions.ForcedUnwrap

struct · iOS 17.0+

PredicateExpressions.ForcedUnwrap.Output

typealias · iOS 17.0+

PredicateExpressions.IntDivision

struct · iOS 17.0+

PredicateExpressions.IntDivision.Output

typealias · iOS 17.0+

PredicateExpressions.IntRemainder

struct · iOS 17.0+

PredicateExpressions.IntRemainder.Output

typealias · iOS 17.0+

PredicateExpressions.KeyPath

struct · iOS 17.0+

PredicateExpressions.KeyPath.CommonKeyPathKind

enum · iOS 17.0+

PredicateExpressions.Negation

struct · iOS 17.0+

PredicateExpressions.Negation.Output

typealias · iOS 17.0+

PredicateExpressions.NilCoalesce

struct · iOS 17.0+

PredicateExpressions.NilCoalesce.Output

typealias · iOS 17.0+

PredicateExpressions.NilLiteral

struct · iOS 17.0+

PredicateExpressions.NilLiteral.Output

typealias · iOS 17.0+

PredicateExpressions.NotEqual

struct · iOS 17.0+

PredicateExpressions.NotEqual.Output

typealias · iOS 17.0+

PredicateExpressions.OptionalFlatMap

struct · iOS 17.0+

PredicateExpressions.OptionalFlatMap.Output

typealias · iOS 17.0+

PredicateExpressions.PredicateEvaluate

struct · iOS 17.4+

PredicateExpressions.PredicateEvaluate.Output

typealias · iOS 17.4+

PredicateExpressions.PredicateRegex

struct · iOS 18.0+

PredicateExpressions.PredicateRegex.RegexOutput

typealias · iOS 18.0+

PredicateExpressions.Range

struct · iOS 17.0+

PredicateExpressions.Range.Output

typealias · iOS 17.0+

PredicateExpressions.RangeExpressionContains

struct · iOS 17.0+

PredicateExpressions.RangeExpressionContains.Output

typealias · iOS 17.0+

PredicateExpressions.SequenceAllSatisfy

struct · iOS 17.0+

PredicateExpressions.SequenceAllSatisfy.Element

typealias · iOS 17.0+

PredicateExpressions.SequenceAllSatisfy.Output

typealias · iOS 17.0+

PredicateExpressions.SequenceContains

struct · iOS 17.0+

PredicateExpressions.SequenceContains.Output

typealias · iOS 17.0+

PredicateExpressions.SequenceContainsWhere

struct · iOS 17.0+

PredicateExpressions.SequenceContainsWhere.Element

typealias · iOS 17.0+

PredicateExpressions.SequenceContainsWhere.Output

typealias · iOS 17.0+

PredicateExpressions.SequenceMaximum

struct · iOS 17.0+

PredicateExpressions.SequenceMaximum.Output

typealias · iOS 17.0+

PredicateExpressions.SequenceMinimum

struct · iOS 17.0+

PredicateExpressions.SequenceMinimum.Output

typealias · iOS 17.0+

PredicateExpressions.SequenceStartsWith

struct · iOS 17.0+

PredicateExpressions.SequenceStartsWith.Output

typealias · iOS 17.0+

PredicateExpressions.StringCaseInsensitiveCompare

struct · iOS 17.0+

PredicateExpressions.StringCaseInsensitiveCompare.Output

typealias · iOS 17.0+

PredicateExpressions.StringContainsRegex

struct · iOS 18.0+

PredicateExpressions.StringContainsRegex.Output

typealias · iOS 18.0+

PredicateExpressions.StringLocalizedCompare

struct · iOS 17.0+

PredicateExpressions.StringLocalizedCompare.Output

typealias · iOS 17.0+

PredicateExpressions.StringLocalizedStandardContains

struct · iOS 17.0+

PredicateExpressions.StringLocalizedStandardContains.Output

typealias · iOS 17.0+

PredicateExpressions.TypeCheck

struct · iOS 17.0+

PredicateExpressions.TypeCheck.Output

typealias · iOS 17.0+

PredicateExpressions.UnaryMinus

struct · iOS 17.0+

PredicateExpressions.UnaryMinus.Output

typealias · iOS 17.0+

PredicateExpressions.Value

struct · iOS 17.0+

PredicateExpressions.Variable

struct · iOS 17.0+

PredicateExpressions.VariableID

struct · iOS 17.0+

PresentationIntent

struct · iOS 15.0+

PresentationIntent.IntentType

struct · iOS 15.0+

PresentationIntent.Kind

enum · iOS 15.0+

PresentationIntent.TableColumn

struct · iOS 15.0+

PresentationIntent.TableColumn.Alignment

enum · iOS 15.0+

PresentationIntent.TableColumn.Alignment.RawValue

typealias · iOS 15.0+

ProcessInfo

class

ProcessInfo.ActivityOptions

struct · iOS 7.0+

ProcessInfo.PowerStateDidChangeMessage

struct · iOS 26.0+

ProcessInfo.PowerStateDidChangeMessage.Subject

typealias · iOS 26.0+

ProcessInfo.ThermalState

enum · iOS 11.0+

ProcessInfo.ThermalStateDidChangeMessage

struct · iOS 26.0+

ProcessInfo.ThermalStateDidChangeMessage.Subject

typealias · iOS 26.0+

Progress

class · iOS 7.0+

Progress.FileOperationKind

struct

Progress.PublishingHandler

typealias

Progress.UnpublishingHandler

typealias

ProgressKind

struct

ProgressManager

class · iOS 27.0+

ProgressManager.Properties

enum · iOS 27.0+

ProgressManager.Properties.CompletedByteCount

enum · iOS 27.0+

ProgressManager.Properties.CompletedByteCount.Summary

typealias · iOS 27.0+

ProgressManager.Properties.CompletedByteCount.Value

typealias · iOS 27.0+

ProgressManager.Properties.CompletedFileCount

enum · iOS 27.0+

ProgressManager.Properties.CompletedFileCount.Summary

typealias · iOS 27.0+

ProgressManager.Properties.CompletedFileCount.Value

typealias · iOS 27.0+

ProgressManager.Properties.EstimatedTimeRemaining

enum · iOS 27.0+

ProgressManager.Properties.EstimatedTimeRemaining.Summary

typealias · iOS 27.0+

ProgressManager.Properties.EstimatedTimeRemaining.Value

typealias · iOS 27.0+

ProgressManager.Properties.Throughput

enum · iOS 27.0+

ProgressManager.Properties.Throughput.Summary

typealias · iOS 27.0+

ProgressManager.Properties.Throughput.Value

typealias · iOS 27.0+

ProgressManager.Properties.TotalByteCount

enum · iOS 27.0+

ProgressManager.Properties.TotalByteCount.Summary

typealias · iOS 27.0+

ProgressManager.Properties.TotalByteCount.Value

typealias · iOS 27.0+

ProgressManager.Properties.TotalFileCount

enum · iOS 27.0+

ProgressManager.Properties.TotalFileCount.Summary

typealias · iOS 27.0+

ProgressManager.Properties.TotalFileCount.Value

typealias · iOS 27.0+

ProgressManager.Property

protocol · iOS 27.0+

ProgressReporter

class · iOS 27.0+

ProgressReporter.Property

typealias · iOS 27.0+

ProgressReporting

protocol

ProgressUserInfoKey

struct

PropertyListDecoder

class · iOS 8.0+

PropertyListDecoder.Input

typealias · iOS 13.0+

PropertyListDecoder.PropertyListFormat

typealias · iOS 8.0+

PropertyListEncoder

class · iOS 8.0+

PropertyListEncoder.Output

typealias · iOS 13.0+

PropertyListSerialization

class

PropertyListSerialization.MutabilityOptions

struct

PropertyListSerialization.PropertyListFormat

enum

PropertyListSerialization.ReadOptions

typealias

PropertyListSerialization.WriteOptions

typealias

Published

typealias · iOS 13.0+

QualityOfService

enum · iOS 8.0+

RecoverableError

protocol · iOS 8.0+

ReferenceConvertible

protocol · iOS 8.0+

RegexComponent.DateStyle

typealias · iOS 16.0+

RegexComponent.TimeStyle

typealias · iOS 16.0+

RelativeDateTimeFormatter

class · iOS 13.0+

RelativeDateTimeFormatter.DateTimeStyle

enum · iOS 13.0+

RelativeDateTimeFormatter.UnitsStyle

enum · iOS 13.0+

Repeated.Regions

typealias · iOS 8.0+

RunLoop

class

RunLoop.Mode

struct

RunLoop.SchedulerOptions

struct · iOS 13.0+

RunLoop.SchedulerTimeType

struct · iOS 13.0+

RunLoop.SchedulerTimeType.Stride

struct · iOS 13.0+

RunLoop.SchedulerTimeType.Stride.FloatLiteralType

typealias · iOS 13.0+

RunLoop.SchedulerTimeType.Stride.IntegerLiteralType

typealias · iOS 13.0+

RunLoop.SchedulerTimeType.Stride.Magnitude

typealias · iOS 13.0+

Scanner

class

Scanner.NumberRepresentation

enum · iOS 13.0+

ScopedAttributeContainer

struct · iOS 15.0+

Slice.Regions

typealias · iOS 8.0+

SocketNativeHandle

typealias

SocketPort

class

SortComparator

protocol · iOS 15.0+

SortDescriptor

struct · iOS 15.0+

SortOrder

enum · iOS 15.0+

StandardPredicateExpression

protocol · iOS 17.0+

Stream

class

Stream.Event

struct

Stream.PropertyKey

struct

Stream.Status

enum

StreamDelegate

protocol

StreamNetworkServiceTypeValue

struct

StreamSocketSecurityLevel

struct

StreamSOCKSProxyConfiguration

struct

StreamSOCKSProxyVersion

struct

String.Comparator

struct · iOS 15.0+

String.Comparator.Compared

typealias · iOS 15.0+

String.CompareOptions

typealias · iOS 8.0+

String.Encoding

struct · iOS 8.0+

String.Encoding.RawValue

typealias · iOS 8.0+

String.EncodingConversionOptions

typealias · iOS 8.0+

String.EnumerationOptions

typealias · iOS 8.0+

String.LocalizationOptions

struct · iOS 16.0+

String.LocalizationValue

struct · iOS 15.0+

String.LocalizationValue.ExtendedGraphemeClusterLiteralType

typealias · iOS 15.0+

String.LocalizationValue.Placeholder

enum · iOS 16.0+

String.LocalizationValue.StringInterpolation

struct · iOS 15.0+

String.LocalizationValue.StringInterpolation.StringLiteralType

typealias · iOS 15.0+

String.LocalizationValue.StringLiteralType

typealias · iOS 15.0+

String.LocalizationValue.UnicodeScalarLiteralType

typealias · iOS 15.0+

String.StandardComparator

struct · iOS 15.0+

String.StandardComparator.Compared

typealias · iOS 15.0+

StringEncodingDetectionOptionsKey

struct

StringStyle

struct · iOS 15.0+

StringStyle.FormatInput

typealias · iOS 15.0+

StringStyle.FormatOutput

typealias · iOS 15.0+

StringTransform

struct

Subprogress

struct · iOS 27.0+

TermOfAddress

struct · iOS 17.0+

Thread

class

TimeInterval

typealias

Timer

class

Timer.TimerPublisher

class · iOS 13.0+

Timer.TimerPublisher.Failure

typealias · iOS 13.0+

Timer.TimerPublisher.Output

typealias · iOS 13.0+

TimeZone

struct · iOS 8.0+

TimeZone.NameStyle

typealias · iOS 8.0+

TimeZone.ReferenceType

typealias · iOS 8.0+

TimeZone.SystemTimeZoneDidChangeMessage

struct · iOS 26.0+

TimeZone.SystemTimeZoneDidChangeMessage.Subject

typealias · iOS 26.0+

UndoManager

class · iOS 3.0+

UndoManager.CheckpointMessage

struct · iOS 26.0+

UndoManager.CheckpointMessage.Subject

typealias · iOS 26.0+

UndoManager.DidCloseUndoGroupMessage

struct · iOS 26.0+

UndoManager.DidCloseUndoGroupMessage.Subject

typealias · iOS 26.0+

UndoManager.DidOpenUndoGroupMessage

struct · iOS 26.0+

UndoManager.DidOpenUndoGroupMessage.Subject

typealias · iOS 26.0+

UndoManager.DidRedoChangeMessage

struct · iOS 26.0+

UndoManager.DidRedoChangeMessage.Subject

typealias · iOS 26.0+

UndoManager.DidUndoChangeMessage

struct · iOS 26.0+

UndoManager.DidUndoChangeMessage.Subject

typealias · iOS 26.0+

UndoManager.UserInfoKey

struct · iOS 18.0+

UndoManager.WillCloseUndoGroupMessage

struct · iOS 26.0+

UndoManager.WillCloseUndoGroupMessage.Subject

typealias · iOS 26.0+

UndoManager.WillRedoChangeMessage

struct · iOS 26.0+

UndoManager.WillRedoChangeMessage.Subject

typealias · iOS 26.0+

UndoManager.WillUndoChangeMessage

struct · iOS 26.0+

UndoManager.WillUndoChangeMessage.Subject

typealias · iOS 26.0+

unichar

typealias

Unit

class · iOS 10.0+

UnitAcceleration

class · iOS 10.0+

UnitAngle

class · iOS 10.0+

UnitArea

class · iOS 10.0+

UnitConcentrationMass

class · iOS 10.0+

UnitConverter

class · iOS 10.0+

UnitConverterLinear

class · iOS 10.0+

UnitDispersion

class · iOS 10.0+

UnitDuration

class · iOS 10.0+

UnitElectricCharge

class · iOS 10.0+

UnitElectricCurrent

class · iOS 10.0+

UnitElectricPotentialDifference

class · iOS 10.0+

UnitElectricResistance

class · iOS 10.0+

UnitEnergy

class · iOS 10.0+

UnitFrequency

class · iOS 10.0+

UnitFuelEfficiency

class · iOS 10.0+

UnitIlluminance

class · iOS 10.0+

UnitInformationStorage

class · iOS 13.0+

UnitLength

class · iOS 10.0+

UnitMass

class · iOS 10.0+

UnitPower

class · iOS 10.0+

UnitPressure

class · iOS 10.0+

UnitSpeed

class · iOS 10.0+

UnitTemperature

class · iOS 10.0+

UnitVolume

class · iOS 10.0+

UnsafeBufferPointer.Regions

typealias · iOS 8.0+

UnsafeRawBufferPointer.Regions

typealias · iOS 8.0+

URL

struct · iOS 8.0+

URL.AsyncBytes

struct · iOS 15.0+

URL.AsyncBytes.AsyncIterator

struct · iOS 15.0+

URL.AsyncBytes.AsyncIterator.Element

typealias · iOS 15.0+

URL.AsyncBytes.Element

typealias · iOS 15.0+

URL.BookmarkCreationOptions

typealias · iOS 8.0+

URL.BookmarkResolutionOptions

typealias · iOS 8.0+

URL.DirectoryHint

enum · iOS 16.0+

URL.FormatStyle

struct · iOS 16.0+

URL.FormatStyle.Component

enum · iOS 16.0+

URL.FormatStyle.Component.RawValue

typealias · iOS 16.0+

URL.FormatStyle.ComponentDisplayOption

struct · iOS 16.0+

URL.FormatStyle.FormatInput

typealias · iOS 16.0+

URL.FormatStyle.FormatOutput

typealias · iOS 16.0+

URL.FormatStyle.HostDisplayOption

struct · iOS 16.0+

URL.FormatStyle.Strategy

typealias · iOS 16.0+

URL.ParseStrategy

struct · iOS 16.0+

URL.ParseStrategy.ComponentParseStrategy

enum · iOS 16.0+

URL.ParseStrategy.ParseInput

typealias · iOS 16.0+

URL.ParseStrategy.ParseOutput

typealias · iOS 16.0+

URL.ParseStrategy.RegexOutput

typealias · iOS 16.0+

URL.ReferenceType

typealias · iOS 8.0+

URL.Template

struct · iOS 26.0+

URL.Template.Value

struct · iOS 26.0+

URL.Template.Value.ArrayLiteralElement

typealias · iOS 26.0+

URL.Template.Value.ExtendedGraphemeClusterLiteralType

typealias · iOS 26.0+

URL.Template.Value.Key

typealias · iOS 26.0+

URL.Template.Value.StringLiteralType

typealias · iOS 26.0+

URL.Template.Value.UnicodeScalarLiteralType

typealias · iOS 26.0+

URL.Template.Value.Value

typealias · iOS 26.0+

URL.Template.VariableName

struct · iOS 26.0+

URLAuthenticationChallenge

class · iOS 2.0+

URLAuthenticationChallengeSender

protocol · iOS 2.0+

URLCache

class · iOS 2.0+

URLCache.StoragePolicy

enum

URLComponents

struct · iOS 8.0+

URLComponents.ReferenceType

typealias · iOS 8.0+

URLCredential

class · iOS 2.0+

URLCredential.Persistence

enum

URLCredentialStorage

class · iOS 2.0+

URLError

struct · iOS 8.0+

URLError.BackgroundTaskCancelledReason

enum · iOS 13.0+

URLError.BackgroundTaskCancelledReason.RawValue

typealias · iOS 13.0+

URLError.Code

struct · iOS 8.0+

URLError.Code.RawValue

typealias · iOS 8.0+

URLError.NetworkUnavailableReason

enum · iOS 13.0+

URLError.NetworkUnavailableReason.RawValue

typealias · iOS 13.0+

URLFileProtection

struct

URLFileResourceType

struct

URLProtectionSpace

class · iOS 2.0+

URLProtocol

class · iOS 2.0+

URLProtocolClient

protocol · iOS 2.0+

URLQueryItem

struct · iOS 8.0+

URLQueryItem.ReferenceType

typealias · iOS 8.0+

URLRequest

struct · iOS 8.0+

URLRequest.Attribution

typealias · iOS 15.0+

URLRequest.CachePolicy

typealias · iOS 8.0+

URLRequest.NetworkServiceType

typealias · iOS 8.0+

URLRequest.ReferenceType

typealias · iOS 8.0+

URLResource

struct · iOS 16.0+

URLResourceKey

struct

URLResourceValues

struct · iOS 8.0+

URLResponse

class · iOS 2.0+

URLSession

class · iOS 7.0+

URLSession.AsyncBytes

struct · iOS 15.0+

URLSession.AsyncBytes.AsyncIterator

typealias · iOS 15.0+

URLSession.AsyncBytes.Element

typealias · iOS 15.0+

URLSession.AsyncBytes.Iterator

struct · iOS 15.0+

URLSession.AsyncBytes.Iterator.Element

typealias · iOS 15.0+

URLSession.AuthChallengeDisposition

enum · iOS 7.0+

URLSession.DataTaskPublisher

struct · iOS 13.0+

URLSession.DataTaskPublisher.Failure

typealias · iOS 13.0+

URLSession.DataTaskPublisher.Output

typealias · iOS 13.0+

URLSession.DelayedRequestDisposition

enum · iOS 11.0+

URLSession.ResponseDisposition

enum · iOS 7.0+

URLSessionConfiguration

class · iOS 7.0+

URLSessionConfiguration.MultipathServiceType

enum · iOS 11.0+

URLSessionDataDelegate

protocol · iOS 7.0+

URLSessionDataTask

class · iOS 7.0+

URLSessionDelegate

protocol · iOS 7.0+

URLSessionDownloadDelegate

protocol · iOS 7.0+

URLSessionDownloadTask

class · iOS 7.0+

URLSessionStreamDelegate

protocol · iOS 9.0+

URLSessionStreamTask

class · iOS 9.0+

URLSessionTask

class · iOS 7.0+

URLSessionTask.State

enum · iOS 7.0+

URLSessionTaskDelegate

protocol · iOS 7.0+

URLSessionTaskMetrics

class · iOS 10.0+

URLSessionTaskMetrics.DomainResolutionProtocol

enum · iOS 14.0+

URLSessionTaskMetrics.ResourceFetchType

enum · iOS 10.0+

URLSessionTaskTransactionMetrics

class · iOS 10.0+

URLSessionUploadTask

class · iOS 7.0+

URLSessionWebSocketDelegate

protocol · iOS 13.0+

URLSessionWebSocketTask

class · iOS 13.0+

URLSessionWebSocketTask.CloseCode

enum · iOS 13.0+

URLSessionWebSocketTask.Message

enum · iOS 13.0+

URLThumbnailDictionaryItem

struct

URLUbiquitousItemDownloadingStatus

struct

URLUbiquitousSharedItemPermissions

struct

URLUbiquitousSharedItemRole

struct

UserDefaults

class

UserDefaults.DidChangeMessage

struct · iOS 26.0+

UserDefaults.DidChangeMessage.Subject

typealias · iOS 26.0+

UserDefaults.SizeLimitExceededMessage

struct · iOS 26.0+

UserDefaults.SizeLimitExceededMessage.Subject

typealias · iOS 26.0+

UUID

struct · iOS 6.0+

uuid_string_t

typealias

uuid_t

typealias

UUID.ReferenceType

typealias · iOS 8.0+

ValueTransformer

class · iOS 3.0+

XMLParser

class

XMLParser.ErrorCode

enum

XMLParser.ExternalEntityResolvingPolicy

enum · iOS 8.0+

XMLParserDelegate

protocol

Functions and constants

get

NSASCIIStringEncoding

TypeScript
const NSASCIIStringEncoding: number
Swift declaration
var NSASCIIStringEncoding: UInt { get }
get

NSISO2022JPStringEncoding

TypeScript
const NSISO2022JPStringEncoding: number
Swift declaration
var NSISO2022JPStringEncoding: UInt { get }
get

NSISOLatin1StringEncoding

TypeScript
const NSISOLatin1StringEncoding: number
Swift declaration
var NSISOLatin1StringEncoding: UInt { get }
get

NSISOLatin2StringEncoding

TypeScript
const NSISOLatin2StringEncoding: number
Swift declaration
var NSISOLatin2StringEncoding: UInt { get }
get

NSJapaneseEUCStringEncoding

TypeScript
const NSJapaneseEUCStringEncoding: number
Swift declaration
var NSJapaneseEUCStringEncoding: UInt { get }
get

NSMacOSRomanStringEncoding

TypeScript
const NSMacOSRomanStringEncoding: number
Swift declaration
var NSMacOSRomanStringEncoding: UInt { get }
get

NSNEXTSTEPStringEncoding

TypeScript
const NSNEXTSTEPStringEncoding: number
Swift declaration
var NSNEXTSTEPStringEncoding: UInt { get }
get

NSNonLossyASCIIStringEncoding

TypeScript
const NSNonLossyASCIIStringEncoding: number
Swift declaration
var NSNonLossyASCIIStringEncoding: UInt { get }
get

NSShiftJISStringEncoding

TypeScript
const NSShiftJISStringEncoding: number
Swift declaration
var NSShiftJISStringEncoding: UInt { get }
get

NSSymbolStringEncoding

TypeScript
const NSSymbolStringEncoding: number
Swift declaration
var NSSymbolStringEncoding: UInt { get }
get

NSUTF16BigEndianStringEncoding

TypeScript
const NSUTF16BigEndianStringEncoding: number
Swift declaration
var NSUTF16BigEndianStringEncoding: UInt { get }
get

NSUTF16LittleEndianStringEncoding

TypeScript
const NSUTF16LittleEndianStringEncoding: number
Swift declaration
var NSUTF16LittleEndianStringEncoding: UInt { get }
get

NSUTF16StringEncoding

TypeScript
const NSUTF16StringEncoding: number
Swift declaration
var NSUTF16StringEncoding: UInt { get }
get

NSUTF32BigEndianStringEncoding

TypeScript
const NSUTF32BigEndianStringEncoding: number
Swift declaration
var NSUTF32BigEndianStringEncoding: UInt { get }
get

NSUTF32LittleEndianStringEncoding

TypeScript
const NSUTF32LittleEndianStringEncoding: number
Swift declaration
var NSUTF32LittleEndianStringEncoding: UInt { get }
get

NSUTF32StringEncoding

TypeScript
const NSUTF32StringEncoding: number
Swift declaration
var NSUTF32StringEncoding: UInt { get }
get

NSUTF8StringEncoding

TypeScript
const NSUTF8StringEncoding: number
Swift declaration
var NSUTF8StringEncoding: UInt { get }
get

NSUnicodeStringEncoding

TypeScript
const NSUnicodeStringEncoding: number
Swift declaration
var NSUnicodeStringEncoding: UInt { get }
get

NSWindowsCP1250StringEncoding

TypeScript
const NSWindowsCP1250StringEncoding: number
Swift declaration
var NSWindowsCP1250StringEncoding: UInt { get }
get

NSWindowsCP1251StringEncoding

TypeScript
const NSWindowsCP1251StringEncoding: number
Swift declaration
var NSWindowsCP1251StringEncoding: UInt { get }
get

NSWindowsCP1252StringEncoding

TypeScript
const NSWindowsCP1252StringEncoding: number
Swift declaration
var NSWindowsCP1252StringEncoding: UInt { get }
get

NSWindowsCP1253StringEncoding

TypeScript
const NSWindowsCP1253StringEncoding: number
Swift declaration
var NSWindowsCP1253StringEncoding: UInt { get }
get

NSWindowsCP1254StringEncoding

TypeScript
const NSWindowsCP1254StringEncoding: number
Swift declaration
var NSWindowsCP1254StringEncoding: UInt { get }
get · iOS 14.0+

NSBundleExecutableArchitectureARM64

TypeScript
const NSBundleExecutableArchitectureARM64: number
Swift declaration
var NSBundleExecutableArchitectureARM64: Int { get }
get

NSBundleExecutableArchitectureI386

TypeScript
const NSBundleExecutableArchitectureI386: number
Swift declaration
var NSBundleExecutableArchitectureI386: Int { get }
get

NSBundleExecutableArchitecturePPC64

TypeScript
const NSBundleExecutableArchitecturePPC64: number
Swift declaration
var NSBundleExecutableArchitecturePPC64: Int { get }
get

NSBundleExecutableArchitecturePPC

TypeScript
const NSBundleExecutableArchitecturePPC: number
Swift declaration
var NSBundleExecutableArchitecturePPC: Int { get }
get

NSBundleExecutableArchitectureX86_64

TypeScript
const NSBundleExecutableArchitectureX86_64: number
Swift declaration
var NSBundleExecutableArchitectureX86_64: Int { get }
get

NSDateComponentUndefined

TypeScript
const NSDateComponentUndefined: number
Swift declaration
var NSDateComponentUndefined: Int { get }
get · iOS 2.0+ · Deprecated in iOS 8.0

NSUndefinedDateComponent

TypeScript
const NSUndefinedDateComponent: number
Swift declaration
var NSUndefinedDateComponent: Int { get }
get

NSOpenStepUnicodeReservedBase

TypeScript
const NSOpenStepUnicodeReservedBase: number
Swift declaration
var NSOpenStepUnicodeReservedBase: Int { get }
get

NSProprietaryStringEncoding

TypeScript
const NSProprietaryStringEncoding: number
Swift declaration
var NSProprietaryStringEncoding: UInt { get }
get

NSTextCheckingAllCustomTypes

TypeScript
const NSTextCheckingAllCustomTypes: number
Swift declaration
var NSTextCheckingAllCustomTypes: NSTextCheckingTypes { get }
get

NSTextCheckingAllSystemTypes

TypeScript
const NSTextCheckingAllSystemTypes: number
Swift declaration
var NSTextCheckingAllSystemTypes: NSTextCheckingTypes { get }
get

NSTextCheckingAllTypes

TypeScript
const NSTextCheckingAllTypes: number
Swift declaration
var NSTextCheckingAllTypes: NSTextCheckingTypes { get }
get

NSURLErrorCancelledReasonBackgroundUpdatesDisabled

TypeScript
const NSURLErrorCancelledReasonBackgroundUpdatesDisabled: number
Swift declaration
var NSURLErrorCancelledReasonBackgroundUpdatesDisabled: Int { get }
get · iOS 8.0+

NSURLErrorCancelledReasonInsufficientSystemResources

TypeScript
const NSURLErrorCancelledReasonInsufficientSystemResources: number
Swift declaration
var NSURLErrorCancelledReasonInsufficientSystemResources: Int { get }
get

NSURLErrorCancelledReasonUserForceQuitApplication

TypeScript
const NSURLErrorCancelledReasonUserForceQuitApplication: number
Swift declaration
var NSURLErrorCancelledReasonUserForceQuitApplication: Int { get }
get · iOS 6.0+

NSUbiquitousKeyValueStoreAccountChange

TypeScript
const NSUbiquitousKeyValueStoreAccountChange: number
Swift declaration
var NSUbiquitousKeyValueStoreAccountChange: Int { get }
get · iOS 5.0+

NSUbiquitousKeyValueStoreInitialSyncChange

TypeScript
const NSUbiquitousKeyValueStoreInitialSyncChange: number
Swift declaration
var NSUbiquitousKeyValueStoreInitialSyncChange: Int { get }
get · iOS 5.0+

NSUbiquitousKeyValueStoreQuotaViolationChange

TypeScript
const NSUbiquitousKeyValueStoreQuotaViolationChange: number
Swift declaration
var NSUbiquitousKeyValueStoreQuotaViolationChange: Int { get }
get · iOS 5.0+

NSUbiquitousKeyValueStoreServerChange

TypeScript
const NSUbiquitousKeyValueStoreServerChange: number
Swift declaration
var NSUbiquitousKeyValueStoreServerChange: Int { get }
get

NSHPUXOperatingSystem

TypeScript
const NSHPUXOperatingSystem: number
Swift declaration
var NSHPUXOperatingSystem: Int { get }
get

NSMACHOperatingSystem

TypeScript
const NSMACHOperatingSystem: number
Swift declaration
var NSMACHOperatingSystem: Int { get }
get

NSOSF1OperatingSystem

TypeScript
const NSOSF1OperatingSystem: number
Swift declaration
var NSOSF1OperatingSystem: Int { get }
get

NSSolarisOperatingSystem

TypeScript
const NSSolarisOperatingSystem: number
Swift declaration
var NSSolarisOperatingSystem: Int { get }
get

NSSunOSOperatingSystem

TypeScript
const NSSunOSOperatingSystem: number
Swift declaration
var NSSunOSOperatingSystem: Int { get }
get

NSWindows95OperatingSystem

TypeScript
const NSWindows95OperatingSystem: number
Swift declaration
var NSWindows95OperatingSystem: Int { get }
get

NSWindowsNTOperatingSystem

TypeScript
const NSWindowsNTOperatingSystem: number
Swift declaration
var NSWindowsNTOperatingSystem: Int { get }
get · iOS 2.0+ · Deprecated in iOS 8.0

NSWrapCalendarComponents

TypeScript
const NSWrapCalendarComponents: number
Swift declaration
var NSWrapCalendarComponents: Int { get }
get

NS_BigEndian

TypeScript
const NS_BigEndian: number
Swift declaration
var NS_BigEndian: Int { get }
get

NS_LittleEndian

TypeScript
const NS_LittleEndian: number
Swift declaration
var NS_LittleEndian: Int { get }
get

NS_UnknownByteOrder

TypeScript
const NS_UnknownByteOrder: number
Swift declaration
var NS_UnknownByteOrder: Int { get }
function

CFBridgingRetain

TypeScript
CFBridgingRetain(X?: (unknown) | null): (unknown) | null
Swift declaration
func CFBridgingRetain(_ X: Any?) -> CFTypeRef?
function

NSAllHashTableObjects

TypeScript
NSAllHashTableObjects(table: NSHashTable<unknown>): Array<unknown>
Swift declaration
func NSAllHashTableObjects(_ table: NSHashTable<AnyObject>) -> [Any]
function

NSAllMapTableKeys

TypeScript
NSAllMapTableKeys(table: NSMapTable<unknown, unknown>): Array<unknown>
Swift declaration
func NSAllMapTableKeys(_ table: NSMapTable<AnyObject, AnyObject>) -> [Any]
function

NSAllMapTableValues

TypeScript
NSAllMapTableValues(table: NSMapTable<unknown, unknown>): Array<unknown>
Swift declaration
func NSAllMapTableValues(_ table: NSMapTable<AnyObject, AnyObject>) -> [Any]
function

NSAllocateMemoryPages

TypeScript
NSAllocateMemoryPages(bytes: number): SDKHandle
Swift declaration
func NSAllocateMemoryPages(_ bytes: Int) -> UnsafeMutableRawPointer
function

NSClassFromString

TypeScript
NSClassFromString(aClassName: string): (string) | null
Swift declaration
func NSClassFromString(_ aClassName: String) -> AnyClass?
function

NSCompareHashTables

TypeScript
NSCompareHashTables(table1: NSHashTable<unknown>, table2: NSHashTable<unknown>): boolean
Swift declaration
func NSCompareHashTables(_ table1: NSHashTable<AnyObject>, _ table2: NSHashTable<AnyObject>) -> Bool
function

NSCompareMapTables

TypeScript
NSCompareMapTables(table1: NSMapTable<unknown, unknown>, table2: NSMapTable<unknown, unknown>): boolean
Swift declaration
func NSCompareMapTables(_ table1: NSMapTable<AnyObject, AnyObject>, _ table2: NSMapTable<AnyObject, AnyObject>) -> Bool
function

NSConvertHostDoubleToSwapped

TypeScript
NSConvertHostDoubleToSwapped(x: number): NSSwappedDouble
Swift declaration
func NSConvertHostDoubleToSwapped(_ x: Double) -> NSSwappedDouble
function

NSConvertHostFloatToSwapped

TypeScript
NSConvertHostFloatToSwapped(x: number): NSSwappedFloat
Swift declaration
func NSConvertHostFloatToSwapped(_ x: Float) -> NSSwappedFloat
function

NSConvertSwappedDoubleToHost

TypeScript
NSConvertSwappedDoubleToHost(x: NSSwappedDouble): number
Swift declaration
func NSConvertSwappedDoubleToHost(_ x: NSSwappedDouble) -> Double
function

NSConvertSwappedFloatToHost

TypeScript
NSConvertSwappedFloatToHost(x: NSSwappedFloat): number
Swift declaration
func NSConvertSwappedFloatToHost(_ x: NSSwappedFloat) -> Float
function

NSCopyMemoryPages

TypeScript
NSCopyMemoryPages(source: SDKHandle, dest: SDKHandle, bytes: number): void
Swift declaration
func NSCopyMemoryPages(_ source: UnsafeRawPointer, _ dest: UnsafeMutableRawPointer, _ bytes: Int)
function

NSCountHashTable

TypeScript
NSCountHashTable(table: NSHashTable<unknown>): number
Swift declaration
func NSCountHashTable(_ table: NSHashTable<AnyObject>) -> Int
function

NSCountMapTable

TypeScript
NSCountMapTable(table: NSMapTable<unknown, unknown>): number
Swift declaration
func NSCountMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> Int
function

NSCreateHashTable

TypeScript
NSCreateHashTable(callBacks: NSHashTableCallBacks, capacity: number): NSHashTable<unknown>
Swift declaration
func NSCreateHashTable(_ callBacks: NSHashTableCallBacks, _ capacity: Int) -> NSHashTable<AnyObject>
function

NSCreateMapTable

TypeScript
NSCreateMapTable(keyCallBacks: NSMapTableKeyCallBacks, valueCallBacks: NSMapTableValueCallBacks, capacity: number): NSMapTable<unknown, unknown>
Swift declaration
func NSCreateMapTable(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int) -> NSMapTable<AnyObject, AnyObject>
function

NSDeallocateMemoryPages

TypeScript
NSDeallocateMemoryPages(ptr: SDKHandle, bytes: number): void
Swift declaration
func NSDeallocateMemoryPages(_ ptr: UnsafeMutableRawPointer, _ bytes: Int)
function

NSDecimalAdd

TypeScript
NSDecimalAdd(result: SDKHandle, leftOperand: SDKHandle, rightOperand: SDKHandle, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalAdd(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSDecimalCompact

TypeScript
NSDecimalCompact(number: SDKHandle): void
Swift declaration
func NSDecimalCompact(_ number: UnsafeMutablePointer<Decimal>)
function

NSDecimalCompare

TypeScript
NSDecimalCompare(leftOperand: SDKHandle, rightOperand: SDKHandle): ComparisonResult
Swift declaration
func NSDecimalCompare(_ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>) -> ComparisonResult
function

NSDecimalCopy

TypeScript
NSDecimalCopy(destination: SDKHandle, source: SDKHandle): void
Swift declaration
func NSDecimalCopy(_ destination: UnsafeMutablePointer<Decimal>, _ source: UnsafePointer<Decimal>)
function

NSDecimalDivide

TypeScript
NSDecimalDivide(result: SDKHandle, leftOperand: SDKHandle, rightOperand: SDKHandle, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalDivide(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSDecimalIsNotANumber

TypeScript
NSDecimalIsNotANumber(dcm: SDKHandle): boolean
Swift declaration
func NSDecimalIsNotANumber(_ dcm: UnsafePointer<Decimal>) -> Bool
function

NSDecimalMultiply

TypeScript
NSDecimalMultiply(result: SDKHandle, leftOperand: SDKHandle, rightOperand: SDKHandle, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalMultiply(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSDecimalMultiplyByPowerOf10

TypeScript
NSDecimalMultiplyByPowerOf10(result: SDKHandle, number: SDKHandle, power: number, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalMultiplyByPowerOf10(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ power: Int16, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSDecimalNormalize

TypeScript
NSDecimalNormalize(number1: SDKHandle, number2: SDKHandle, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalNormalize(_ number1: UnsafeMutablePointer<Decimal>, _ number2: UnsafeMutablePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSDecimalPower

TypeScript
NSDecimalPower(result: SDKHandle, number: SDKHandle, power: number, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalPower(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ power: Int, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSDecimalRound

TypeScript
NSDecimalRound(result: SDKHandle, number: SDKHandle, scale: number, roundingMode: NSDecimalNumber_RoundingMode): void
Swift declaration
func NSDecimalRound(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ scale: Int, _ roundingMode: NSDecimalNumber.RoundingMode)
function

NSDecimalString

TypeScript
NSDecimalString(dcm: SDKHandle, locale?: (unknown) | null): string
Swift declaration
func NSDecimalString(_ dcm: UnsafePointer<Decimal>, _ locale: Any?) -> String
function

NSDecimalSubtract

TypeScript
NSDecimalSubtract(result: SDKHandle, leftOperand: SDKHandle, rightOperand: SDKHandle, roundingMode: NSDecimalNumber_RoundingMode): NSDecimalNumber_CalculationError
Swift declaration
func NSDecimalSubtract(_ result: UnsafeMutablePointer<Decimal>, _ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationError
function

NSEndHashTableEnumeration

TypeScript
NSEndHashTableEnumeration(enumerator: SDKHandle): void
Swift declaration
func NSEndHashTableEnumeration(_ enumerator: UnsafeMutablePointer<NSHashEnumerator>)
function

NSEndMapTableEnumeration

TypeScript
NSEndMapTableEnumeration(enumerator: SDKHandle): void
Swift declaration
func NSEndMapTableEnumeration(_ enumerator: UnsafeMutablePointer<NSMapEnumerator>)
function

NSEnumerateHashTable

TypeScript
NSEnumerateHashTable(table: NSHashTable<unknown>): NSHashEnumerator
Swift declaration
func NSEnumerateHashTable(_ table: NSHashTable<AnyObject>) -> NSHashEnumerator
function

NSEnumerateMapTable

TypeScript
NSEnumerateMapTable(table: NSMapTable<unknown, unknown>): NSMapEnumerator
Swift declaration
func NSEnumerateMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> NSMapEnumerator
function

NSEqualRanges

TypeScript
NSEqualRanges(range1: SDKHandle, range2: SDKHandle): boolean
Swift declaration
func NSEqualRanges(_ range1: NSRange, _ range2: NSRange) -> Bool
function

NSFreeHashTable

TypeScript
NSFreeHashTable(table: NSHashTable<unknown>): void
Swift declaration
func NSFreeHashTable(_ table: NSHashTable<AnyObject>)
function

NSFreeMapTable

TypeScript
NSFreeMapTable(table: NSMapTable<unknown, unknown>): void
Swift declaration
func NSFreeMapTable(_ table: consuming NSMapTable<AnyObject, AnyObject>)
function

NSFullUserName

TypeScript
NSFullUserName(): string
Swift declaration
func NSFullUserName() -> String
function

NSGetSizeAndAlignment

TypeScript
NSGetSizeAndAlignment(typePtr: SDKHandle, sizep?: (SDKHandle) | null, alignp?: (SDKHandle) | null): SDKHandle
Swift declaration
func NSGetSizeAndAlignment(_ typePtr: UnsafePointer<CChar>, _ sizep: UnsafeMutablePointer<Int>?, _ alignp: UnsafeMutablePointer<Int>?) -> UnsafePointer<CChar>
function

NSGetUncaughtExceptionHandler

TypeScript
NSGetUncaughtExceptionHandler(): (((arg0: NSException) => Promise<void>)) | null
Swift declaration
func NSGetUncaughtExceptionHandler() -> ((NSException) -> Void)?
function

NSHashGet

TypeScript
NSHashGet(table: NSHashTable<unknown>, pointer?: (SDKHandle) | null): SDKHandle
Swift declaration
func NSHashGet(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) -> UnsafeMutableRawPointer
function

NSHashInsert

TypeScript
NSHashInsert(table: NSHashTable<unknown>, pointer?: (SDKHandle) | null): void
Swift declaration
func NSHashInsert(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?)
function

NSHashInsertIfAbsent

TypeScript
NSHashInsertIfAbsent(table: NSHashTable<unknown>, pointer?: (SDKHandle) | null): (SDKHandle) | null
Swift declaration
func NSHashInsertIfAbsent(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?) -> UnsafeMutableRawPointer?
function

NSHashInsertKnownAbsent

TypeScript
NSHashInsertKnownAbsent(table: NSHashTable<unknown>, pointer?: (SDKHandle) | null): void
Swift declaration
func NSHashInsertKnownAbsent(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?)
function

NSHashRemove

TypeScript
NSHashRemove(table: NSHashTable<unknown>, pointer?: (SDKHandle) | null): void
Swift declaration
func NSHashRemove(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?)
function

NSHomeDirectory

TypeScript
NSHomeDirectory(): string
Swift declaration
func NSHomeDirectory() -> String
function

NSHomeDirectoryForUser

TypeScript
NSHomeDirectoryForUser(userName?: (string) | null): (string) | null
Swift declaration
func NSHomeDirectoryForUser(_ userName: String?) -> String?
function

NSHostByteOrder

TypeScript
NSHostByteOrder(): number
Swift declaration
func NSHostByteOrder() -> Int
function

NSIntersectionRange

TypeScript
NSIntersectionRange(range1: SDKHandle, range2: SDKHandle): SDKHandle
Swift declaration
func NSIntersectionRange(_ range1: NSRange, _ range2: NSRange) -> NSRange
function

NSLocationInRange

TypeScript
NSLocationInRange(loc: number, range: SDKHandle): boolean
Swift declaration
func NSLocationInRange(_ loc: Int, _ range: NSRange) -> Bool
function

NSLogPageSize

TypeScript
NSLogPageSize(): number
Swift declaration
func NSLogPageSize() -> Int
function

NSMakeRange

TypeScript
NSMakeRange(loc: number, len: number): SDKHandle
Swift declaration
func NSMakeRange(_ loc: Int, _ len: Int) -> NSRange
function

NSMapGet

TypeScript
NSMapGet(table: NSMapTable<unknown, unknown>, key?: (SDKHandle) | null): (SDKHandle) | null
Swift declaration
func NSMapGet(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?) -> UnsafeMutableRawPointer?
function

NSMapInsert

TypeScript
NSMapInsert(table: NSMapTable<unknown, unknown>, key?: (SDKHandle) | null, value?: (SDKHandle) | null): void
Swift declaration
func NSMapInsert(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?, _ value: UnsafeRawPointer?)
function

NSMapInsertIfAbsent

TypeScript
NSMapInsertIfAbsent(table: NSMapTable<unknown, unknown>, key?: (SDKHandle) | null, value?: (SDKHandle) | null): (SDKHandle) | null
Swift declaration
func NSMapInsertIfAbsent(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?, _ value: UnsafeRawPointer?) -> UnsafeMutableRawPointer?
function

NSMapInsertKnownAbsent

TypeScript
NSMapInsertKnownAbsent(table: NSMapTable<unknown, unknown>, key?: (SDKHandle) | null, value?: (SDKHandle) | null): void
Swift declaration
func NSMapInsertKnownAbsent(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?, _ value: UnsafeRawPointer?)
function

NSMapMember

TypeScript
NSMapMember(table: NSMapTable<unknown, unknown>, key: SDKHandle): { $ret: boolean; $out: { "originalKey": (SDKHandle) | null; "value": (SDKHandle) | null } }
Swift declaration
func NSMapMember(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer, _ originalKey: UnsafeMutablePointer<UnsafeMutableRawPointer?>?, _ value: UnsafeMutablePointer<UnsafeMutableRawPointer?>?) -> Bool

Omit the output parameters from the call. The result contains $ret and $out, with originalKey, value inside $out.

function

NSMapRemove

TypeScript
NSMapRemove(table: NSMapTable<unknown, unknown>, key?: (SDKHandle) | null): void
Swift declaration
func NSMapRemove(_ table: NSMapTable<AnyObject, AnyObject>, _ key: UnsafeRawPointer?)
function

NSMaxRange

TypeScript
NSMaxRange(range: SDKHandle): number
Swift declaration
func NSMaxRange(_ range: NSRange) -> Int
function

NSNextHashEnumeratorItem

TypeScript
NSNextHashEnumeratorItem(enumerator: SDKHandle): (SDKHandle) | null
Swift declaration
func NSNextHashEnumeratorItem(_ enumerator: UnsafeMutablePointer<NSHashEnumerator>) -> UnsafeMutableRawPointer?
function

NSNextMapEnumeratorPair

TypeScript
NSNextMapEnumeratorPair(enumerator: SDKHandle): { $ret: boolean; $out: { "key": (SDKHandle) | null; "value": (SDKHandle) | null } }
Swift declaration
func NSNextMapEnumeratorPair(_ enumerator: UnsafeMutablePointer<NSMapEnumerator>, _ key: UnsafeMutablePointer<UnsafeMutableRawPointer?>?, _ value: UnsafeMutablePointer<UnsafeMutableRawPointer?>?) -> Bool

Omit the output parameters from the call. The result contains $ret and $out, with key, value inside $out.

function

NSOpenStepRootDirectory

TypeScript
NSOpenStepRootDirectory(): string
Swift declaration
func NSOpenStepRootDirectory() -> String
function

NSPageSize

TypeScript
NSPageSize(): number
Swift declaration
func NSPageSize() -> Int
function · iOS 2.0+

NSProtocolFromString

TypeScript
NSProtocolFromString(namestr: string): (string) | null
Swift declaration
func NSProtocolFromString(_ namestr: String) -> Protocol?
function

NSRangeFromString

TypeScript
NSRangeFromString(aString: string): SDKHandle
Swift declaration
func NSRangeFromString(_ aString: String) -> NSRange
function

NSResetHashTable

TypeScript
NSResetHashTable(table: NSHashTable<unknown>): void
Swift declaration
func NSResetHashTable(_ table: NSHashTable<AnyObject>)
function

NSResetMapTable

TypeScript
NSResetMapTable(table: NSMapTable<unknown, unknown>): void
Swift declaration
func NSResetMapTable(_ table: NSMapTable<AnyObject, AnyObject>)
function

NSRoundDownToMultipleOfPageSize

TypeScript
NSRoundDownToMultipleOfPageSize(bytes: number): number
Swift declaration
func NSRoundDownToMultipleOfPageSize(_ bytes: Int) -> Int
function

NSRoundUpToMultipleOfPageSize

TypeScript
NSRoundUpToMultipleOfPageSize(bytes: number): number
Swift declaration
func NSRoundUpToMultipleOfPageSize(_ bytes: Int) -> Int
function

NSSearchPathForDirectoriesInDomains

TypeScript
NSSearchPathForDirectoriesInDomains(directory: FileManager_SearchPathDirectory, domainMask: FileManager_SearchPathDomainMask, expandTilde: boolean): Array<string>
Swift declaration
func NSSearchPathForDirectoriesInDomains(_ directory: FileManager.SearchPathDirectory, _ domainMask: FileManager.SearchPathDomainMask, _ expandTilde: Bool) -> [String]
function

NSStringFromClass

TypeScript
NSStringFromClass(aClass: string): string
Swift declaration
func NSStringFromClass(_ aClass: AnyClass) -> String
function

NSStringFromHashTable

TypeScript
NSStringFromHashTable(table: NSHashTable<unknown>): string
Swift declaration
func NSStringFromHashTable(_ table: NSHashTable<AnyObject>) -> String
function

NSStringFromMapTable

TypeScript
NSStringFromMapTable(table: NSMapTable<unknown, unknown>): string
Swift declaration
func NSStringFromMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> String
function · iOS 2.0+

NSStringFromProtocol

TypeScript
NSStringFromProtocol(proto: string): string
Swift declaration
func NSStringFromProtocol(_ proto: Protocol) -> String
function

NSStringFromRange

TypeScript
NSStringFromRange(range: SDKHandle): string
Swift declaration
func NSStringFromRange(_ range: NSRange) -> String
function

NSSwapBigDoubleToHost

TypeScript
NSSwapBigDoubleToHost(x: NSSwappedDouble): number
Swift declaration
func NSSwapBigDoubleToHost(_ x: NSSwappedDouble) -> Double
function

NSSwapBigFloatToHost

TypeScript
NSSwapBigFloatToHost(x: NSSwappedFloat): number
Swift declaration
func NSSwapBigFloatToHost(_ x: NSSwappedFloat) -> Float
function

NSSwapBigIntToHost

TypeScript
NSSwapBigIntToHost(x: number): number
Swift declaration
func NSSwapBigIntToHost(_ x: UInt32) -> UInt32
function

NSSwapBigLongLongToHost

TypeScript
NSSwapBigLongLongToHost(x: number): number
Swift declaration
func NSSwapBigLongLongToHost(_ x: UInt64) -> UInt64
function

NSSwapBigLongToHost

TypeScript
NSSwapBigLongToHost(x: number): number
Swift declaration
func NSSwapBigLongToHost(_ x: UInt) -> UInt
function

NSSwapBigShortToHost

TypeScript
NSSwapBigShortToHost(x: number): number
Swift declaration
func NSSwapBigShortToHost(_ x: UInt16) -> UInt16
function

NSSwapDouble

TypeScript
NSSwapDouble(x: NSSwappedDouble): NSSwappedDouble
Swift declaration
func NSSwapDouble(_ x: NSSwappedDouble) -> NSSwappedDouble
function

NSSwapFloat

TypeScript
NSSwapFloat(x: NSSwappedFloat): NSSwappedFloat
Swift declaration
func NSSwapFloat(_ x: NSSwappedFloat) -> NSSwappedFloat
function

NSSwapHostDoubleToBig

TypeScript
NSSwapHostDoubleToBig(x: number): NSSwappedDouble
Swift declaration
func NSSwapHostDoubleToBig(_ x: Double) -> NSSwappedDouble
function

NSSwapHostDoubleToLittle

TypeScript
NSSwapHostDoubleToLittle(x: number): NSSwappedDouble
Swift declaration
func NSSwapHostDoubleToLittle(_ x: Double) -> NSSwappedDouble
function

NSSwapHostFloatToBig

TypeScript
NSSwapHostFloatToBig(x: number): NSSwappedFloat
Swift declaration
func NSSwapHostFloatToBig(_ x: Float) -> NSSwappedFloat
function

NSSwapHostFloatToLittle

TypeScript
NSSwapHostFloatToLittle(x: number): NSSwappedFloat
Swift declaration
func NSSwapHostFloatToLittle(_ x: Float) -> NSSwappedFloat
function

NSSwapHostIntToBig

TypeScript
NSSwapHostIntToBig(x: number): number
Swift declaration
func NSSwapHostIntToBig(_ x: UInt32) -> UInt32
function

NSSwapHostIntToLittle

TypeScript
NSSwapHostIntToLittle(x: number): number
Swift declaration
func NSSwapHostIntToLittle(_ x: UInt32) -> UInt32
function

NSSwapHostLongLongToBig

TypeScript
NSSwapHostLongLongToBig(x: number): number
Swift declaration
func NSSwapHostLongLongToBig(_ x: UInt64) -> UInt64
function

NSSwapHostLongLongToLittle

TypeScript
NSSwapHostLongLongToLittle(x: number): number
Swift declaration
func NSSwapHostLongLongToLittle(_ x: UInt64) -> UInt64
function

NSSwapHostLongToBig

TypeScript
NSSwapHostLongToBig(x: number): number
Swift declaration
func NSSwapHostLongToBig(_ x: UInt) -> UInt
function

NSSwapHostLongToLittle

TypeScript
NSSwapHostLongToLittle(x: number): number
Swift declaration
func NSSwapHostLongToLittle(_ x: UInt) -> UInt
function

NSSwapHostShortToBig

TypeScript
NSSwapHostShortToBig(x: number): number
Swift declaration
func NSSwapHostShortToBig(_ x: UInt16) -> UInt16
function

NSSwapHostShortToLittle

TypeScript
NSSwapHostShortToLittle(x: number): number
Swift declaration
func NSSwapHostShortToLittle(_ x: UInt16) -> UInt16
function

NSSwapInt

TypeScript
NSSwapInt(inv: number): number
Swift declaration
func NSSwapInt(_ inv: UInt32) -> UInt32
function

NSSwapLittleDoubleToHost

TypeScript
NSSwapLittleDoubleToHost(x: NSSwappedDouble): number
Swift declaration
func NSSwapLittleDoubleToHost(_ x: NSSwappedDouble) -> Double
function

NSSwapLittleFloatToHost

TypeScript
NSSwapLittleFloatToHost(x: NSSwappedFloat): number
Swift declaration
func NSSwapLittleFloatToHost(_ x: NSSwappedFloat) -> Float
function

NSSwapLittleIntToHost

TypeScript
NSSwapLittleIntToHost(x: number): number
Swift declaration
func NSSwapLittleIntToHost(_ x: UInt32) -> UInt32
function

NSSwapLittleLongLongToHost

TypeScript
NSSwapLittleLongLongToHost(x: number): number
Swift declaration
func NSSwapLittleLongLongToHost(_ x: UInt64) -> UInt64
function

NSSwapLittleLongToHost

TypeScript
NSSwapLittleLongToHost(x: number): number
Swift declaration
func NSSwapLittleLongToHost(_ x: UInt) -> UInt
function

NSSwapLittleShortToHost

TypeScript
NSSwapLittleShortToHost(x: number): number
Swift declaration
func NSSwapLittleShortToHost(_ x: UInt16) -> UInt16
function

NSSwapLong

TypeScript
NSSwapLong(inv: number): number
Swift declaration
func NSSwapLong(_ inv: UInt) -> UInt
function

NSSwapLongLong

TypeScript
NSSwapLongLong(inv: number): number
Swift declaration
func NSSwapLongLong(_ inv: UInt64) -> UInt64
function

NSSwapShort

TypeScript
NSSwapShort(inv: number): number
Swift declaration
func NSSwapShort(_ inv: UInt16) -> UInt16
function

NSTemporaryDirectory

TypeScript
NSTemporaryDirectory(): string
Swift declaration
func NSTemporaryDirectory() -> String
function

NSUnionRange

TypeScript
NSUnionRange(range1: SDKHandle, range2: SDKHandle): SDKHandle
Swift declaration
func NSUnionRange(_ range1: NSRange, _ range2: NSRange) -> NSRange
function

NSUserName

TypeScript
NSUserName(): string
Swift declaration
func NSUserName() -> String
get · iOS 4.0+

NSAssertionHandlerKey

TypeScript
const NSAssertionHandlerKey: string
Swift declaration
let NSAssertionHandlerKey: String
get · iOS 2.0+ · Deprecated in iOS 8.0

NSBuddhistCalendar

TypeScript
const NSBuddhistCalendar: string
Swift declaration
let NSBuddhistCalendar: String
get · iOS 9.0+ · Deprecated in iOS 27.0

NSBundleResourceRequestLoadingPriorityUrgent

TypeScript
const NSBundleResourceRequestLoadingPriorityUrgent: number
Swift declaration
let NSBundleResourceRequestLoadingPriorityUrgent: Double
get · iOS 2.0+ · Deprecated in iOS 8.0

NSChineseCalendar

TypeScript
const NSChineseCalendar: string
Swift declaration
let NSChineseCalendar: String
get

NSCocoaErrorDomain

TypeScript
const NSCocoaErrorDomain: string
Swift declaration
let NSCocoaErrorDomain: String
get · iOS 2.0+

NSDebugDescriptionErrorKey

TypeScript
const NSDebugDescriptionErrorKey: string
Swift declaration
let NSDebugDescriptionErrorKey: String
get · iOS 8.0+

NSExtensionItemAttachmentsKey

TypeScript
const NSExtensionItemAttachmentsKey: string
Swift declaration
let NSExtensionItemAttachmentsKey: String
get · iOS 8.0+

NSExtensionItemAttributedContentTextKey

TypeScript
const NSExtensionItemAttributedContentTextKey: string
Swift declaration
let NSExtensionItemAttributedContentTextKey: String
get · iOS 8.0+

NSExtensionItemAttributedTitleKey

TypeScript
const NSExtensionItemAttributedTitleKey: string
Swift declaration
let NSExtensionItemAttributedTitleKey: String
get · iOS 8.0+

NSExtensionItemsAndErrorsKey

TypeScript
const NSExtensionItemsAndErrorsKey: string
Swift declaration
let NSExtensionItemsAndErrorsKey: String
get · iOS 8.0+

NSExtensionJavaScriptFinalizeArgumentKey

TypeScript
const NSExtensionJavaScriptFinalizeArgumentKey: string
Swift declaration
let NSExtensionJavaScriptFinalizeArgumentKey: String
get · iOS 8.0+

NSExtensionJavaScriptPreprocessingResultsKey

TypeScript
const NSExtensionJavaScriptPreprocessingResultsKey: string
Swift declaration
let NSExtensionJavaScriptPreprocessingResultsKey: String
get

NSFileHandleNotificationDataItem

TypeScript
const NSFileHandleNotificationDataItem: string
Swift declaration
let NSFileHandleNotificationDataItem: String
get

NSFileHandleNotificationFileHandleItem

TypeScript
const NSFileHandleNotificationFileHandleItem: string
Swift declaration
let NSFileHandleNotificationFileHandleItem: String
get

NSFilePathErrorKey

TypeScript
const NSFilePathErrorKey: string
Swift declaration
let NSFilePathErrorKey: String
get

NSFoundationVersionNumber

TypeScript
const NSFoundationVersionNumber: number
Swift declaration
let NSFoundationVersionNumber: Double
get · iOS 2.0+ · Deprecated in iOS 8.0

NSGregorianCalendar

TypeScript
const NSGregorianCalendar: string
Swift declaration
let NSGregorianCalendar: String
get · iOS 6.0+

NSHashTableCopyIn

TypeScript
const NSHashTableCopyIn: NSPointerFunctions_Options
Swift declaration
var NSHashTableCopyIn: NSPointerFunctions.Options { get }
get · iOS 6.0+

NSHashTableObjectPointerPersonality

TypeScript
const NSHashTableObjectPointerPersonality: NSPointerFunctions_Options
Swift declaration
var NSHashTableObjectPointerPersonality: NSPointerFunctions.Options { get }
get · iOS 6.0+

NSHashTableStrongMemory

TypeScript
const NSHashTableStrongMemory: NSPointerFunctions_Options
Swift declaration
var NSHashTableStrongMemory: NSPointerFunctions.Options { get }
get · iOS 6.0+

NSHashTableWeakMemory

TypeScript
const NSHashTableWeakMemory: NSPointerFunctions_Options
Swift declaration
var NSHashTableWeakMemory: NSPointerFunctions.Options { get }
get · iOS 2.0+ · Deprecated in iOS 8.0

NSHebrewCalendar

TypeScript
const NSHebrewCalendar: string
Swift declaration
let NSHebrewCalendar: String
get

NSHelpAnchorErrorKey

TypeScript
const NSHelpAnchorErrorKey: string
Swift declaration
let NSHelpAnchorErrorKey: String
get · iOS 4.0+ · Deprecated in iOS 8.0

NSISO8601Calendar

TypeScript
const NSISO8601Calendar: string
Swift declaration
let NSISO8601Calendar: String
get · iOS 4.0+ · Deprecated in iOS 8.0

NSIndianCalendar

TypeScript
const NSIndianCalendar: string
Swift declaration
let NSIndianCalendar: String
get · iOS 2.0+ · Deprecated in iOS 8.0

NSIslamicCalendar

TypeScript
const NSIslamicCalendar: string
Swift declaration
let NSIslamicCalendar: String
get · iOS 2.0+ · Deprecated in iOS 8.0

NSIslamicCivilCalendar

TypeScript
const NSIslamicCivilCalendar: string
Swift declaration
let NSIslamicCivilCalendar: String
get · iOS 8.0+

NSItemProviderPreferredImageSizeKey

TypeScript
const NSItemProviderPreferredImageSizeKey: string
Swift declaration
let NSItemProviderPreferredImageSizeKey: String
get · iOS 2.0+ · Deprecated in iOS 8.0

NSJapaneseCalendar

TypeScript
const NSJapaneseCalendar: string
Swift declaration
let NSJapaneseCalendar: String
get · iOS 7.0+

NSKeyedArchiveRootObjectKey

TypeScript
const NSKeyedArchiveRootObjectKey: string
Swift declaration
let NSKeyedArchiveRootObjectKey: String
get

NSLoadedClasses

TypeScript
const NSLoadedClasses: string
Swift declaration
let NSLoadedClasses: String
get

NSLocalizedDescriptionKey

TypeScript
const NSLocalizedDescriptionKey: string
Swift declaration
let NSLocalizedDescriptionKey: String
get · iOS 11.0+

NSLocalizedFailureErrorKey

TypeScript
const NSLocalizedFailureErrorKey: string
Swift declaration
let NSLocalizedFailureErrorKey: String
get

NSLocalizedFailureReasonErrorKey

TypeScript
const NSLocalizedFailureReasonErrorKey: string
Swift declaration
let NSLocalizedFailureReasonErrorKey: String
get

NSLocalizedRecoveryOptionsErrorKey

TypeScript
const NSLocalizedRecoveryOptionsErrorKey: string
Swift declaration
let NSLocalizedRecoveryOptionsErrorKey: String
get

NSLocalizedRecoverySuggestionErrorKey

TypeScript
const NSLocalizedRecoverySuggestionErrorKey: string
Swift declaration
let NSLocalizedRecoverySuggestionErrorKey: String
get

NSMachErrorDomain

TypeScript
const NSMachErrorDomain: string
Swift declaration
let NSMachErrorDomain: String
get · iOS 6.0+

NSMapTableCopyIn

TypeScript
const NSMapTableCopyIn: NSPointerFunctions_Options
Swift declaration
var NSMapTableCopyIn: NSPointerFunctions.Options { get }
get · iOS 6.0+

NSMapTableObjectPointerPersonality

TypeScript
const NSMapTableObjectPointerPersonality: NSPointerFunctions_Options
Swift declaration
var NSMapTableObjectPointerPersonality: NSPointerFunctions.Options { get }
get · iOS 6.0+

NSMapTableStrongMemory

TypeScript
const NSMapTableStrongMemory: NSPointerFunctions_Options
Swift declaration
var NSMapTableStrongMemory: NSPointerFunctions.Options { get }
get · iOS 6.0+

NSMapTableWeakMemory

TypeScript
const NSMapTableWeakMemory: NSPointerFunctions_Options
Swift declaration
var NSMapTableWeakMemory: NSPointerFunctions.Options { get }
get · iOS 8.0+

NSMetadataItemContentTypeKey

TypeScript
const NSMetadataItemContentTypeKey: string
Swift declaration
let NSMetadataItemContentTypeKey: String
get · iOS 8.0+

NSMetadataItemContentTypeTreeKey

TypeScript
const NSMetadataItemContentTypeTreeKey: string
Swift declaration
let NSMetadataItemContentTypeTreeKey: String
get · iOS 5.0+

NSMetadataItemDisplayNameKey

TypeScript
const NSMetadataItemDisplayNameKey: string
Swift declaration
let NSMetadataItemDisplayNameKey: String
get · iOS 5.0+

NSMetadataItemFSContentChangeDateKey

TypeScript
const NSMetadataItemFSContentChangeDateKey: string
Swift declaration
let NSMetadataItemFSContentChangeDateKey: String
get · iOS 5.0+

NSMetadataItemFSCreationDateKey

TypeScript
const NSMetadataItemFSCreationDateKey: string
Swift declaration
let NSMetadataItemFSCreationDateKey: String
get · iOS 5.0+

NSMetadataItemFSNameKey

TypeScript
const NSMetadataItemFSNameKey: string
Swift declaration
let NSMetadataItemFSNameKey: String
get · iOS 5.0+

NSMetadataItemFSSizeKey

TypeScript
const NSMetadataItemFSSizeKey: string
Swift declaration
let NSMetadataItemFSSizeKey: String
get · iOS 5.0+

NSMetadataItemIsUbiquitousKey

TypeScript
const NSMetadataItemIsUbiquitousKey: string
Swift declaration
let NSMetadataItemIsUbiquitousKey: String
get · iOS 5.0+

NSMetadataItemPathKey

TypeScript
const NSMetadataItemPathKey: string
Swift declaration
let NSMetadataItemPathKey: String
get · iOS 5.0+

NSMetadataItemURLKey

TypeScript
const NSMetadataItemURLKey: string
Swift declaration
let NSMetadataItemURLKey: String
get · iOS 8.0+

NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope

TypeScript
const NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope: string
Swift declaration
let NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope: String
get · iOS 5.0+

NSMetadataQueryResultContentRelevanceAttribute

TypeScript
const NSMetadataQueryResultContentRelevanceAttribute: string
Swift declaration
let NSMetadataQueryResultContentRelevanceAttribute: String
get · iOS 5.0+

NSMetadataQueryUbiquitousDataScope

TypeScript
const NSMetadataQueryUbiquitousDataScope: string
Swift declaration
let NSMetadataQueryUbiquitousDataScope: String
get · iOS 5.0+

NSMetadataQueryUbiquitousDocumentsScope

TypeScript
const NSMetadataQueryUbiquitousDocumentsScope: string
Swift declaration
let NSMetadataQueryUbiquitousDocumentsScope: String
get · iOS 8.0+

NSMetadataQueryUpdateAddedItemsKey

TypeScript
const NSMetadataQueryUpdateAddedItemsKey: string
Swift declaration
let NSMetadataQueryUpdateAddedItemsKey: String
get · iOS 8.0+

NSMetadataQueryUpdateChangedItemsKey

TypeScript
const NSMetadataQueryUpdateChangedItemsKey: string
Swift declaration
let NSMetadataQueryUpdateChangedItemsKey: String
get · iOS 8.0+

NSMetadataQueryUpdateRemovedItemsKey

TypeScript
const NSMetadataQueryUpdateRemovedItemsKey: string
Swift declaration
let NSMetadataQueryUpdateRemovedItemsKey: String
get · iOS 8.0+

NSMetadataUbiquitousItemContainerDisplayNameKey

TypeScript
const NSMetadataUbiquitousItemContainerDisplayNameKey: string
Swift declaration
let NSMetadataUbiquitousItemContainerDisplayNameKey: String
get · iOS 8.0+

NSMetadataUbiquitousItemDownloadRequestedKey

TypeScript
const NSMetadataUbiquitousItemDownloadRequestedKey: string
Swift declaration
let NSMetadataUbiquitousItemDownloadRequestedKey: String
get · iOS 7.0+

NSMetadataUbiquitousItemDownloadingErrorKey

TypeScript
const NSMetadataUbiquitousItemDownloadingErrorKey: string
Swift declaration
let NSMetadataUbiquitousItemDownloadingErrorKey: String
get · iOS 7.0+

NSMetadataUbiquitousItemDownloadingStatusCurrent

TypeScript
const NSMetadataUbiquitousItemDownloadingStatusCurrent: string
Swift declaration
let NSMetadataUbiquitousItemDownloadingStatusCurrent: String
get · iOS 7.0+

NSMetadataUbiquitousItemDownloadingStatusDownloaded

TypeScript
const NSMetadataUbiquitousItemDownloadingStatusDownloaded: string
Swift declaration
let NSMetadataUbiquitousItemDownloadingStatusDownloaded: String
get · iOS 7.0+

NSMetadataUbiquitousItemDownloadingStatusKey

TypeScript
const NSMetadataUbiquitousItemDownloadingStatusKey: string
Swift declaration
let NSMetadataUbiquitousItemDownloadingStatusKey: String
get · iOS 7.0+

NSMetadataUbiquitousItemDownloadingStatusNotDownloaded

TypeScript
const NSMetadataUbiquitousItemDownloadingStatusNotDownloaded: string
Swift declaration
let NSMetadataUbiquitousItemDownloadingStatusNotDownloaded: String
get · iOS 5.0+

NSMetadataUbiquitousItemHasUnresolvedConflictsKey

TypeScript
const NSMetadataUbiquitousItemHasUnresolvedConflictsKey: string
Swift declaration
let NSMetadataUbiquitousItemHasUnresolvedConflictsKey: String
get · iOS 5.0+

NSMetadataUbiquitousItemIsDownloadingKey

TypeScript
const NSMetadataUbiquitousItemIsDownloadingKey: string
Swift declaration
let NSMetadataUbiquitousItemIsDownloadingKey: String
get · iOS 8.0+

NSMetadataUbiquitousItemIsExternalDocumentKey

TypeScript
const NSMetadataUbiquitousItemIsExternalDocumentKey: string
Swift declaration
let NSMetadataUbiquitousItemIsExternalDocumentKey: String
get · iOS 10.0+

NSMetadataUbiquitousItemIsSharedKey

TypeScript
const NSMetadataUbiquitousItemIsSharedKey: string
Swift declaration
let NSMetadataUbiquitousItemIsSharedKey: String
get · iOS 5.0+

NSMetadataUbiquitousItemIsUploadedKey

TypeScript
const NSMetadataUbiquitousItemIsUploadedKey: string
Swift declaration
let NSMetadataUbiquitousItemIsUploadedKey: String
get · iOS 5.0+

NSMetadataUbiquitousItemIsUploadingKey

TypeScript
const NSMetadataUbiquitousItemIsUploadingKey: string
Swift declaration
let NSMetadataUbiquitousItemIsUploadingKey: String
get · iOS 5.0+

NSMetadataUbiquitousItemPercentDownloadedKey

TypeScript
const NSMetadataUbiquitousItemPercentDownloadedKey: string
Swift declaration
let NSMetadataUbiquitousItemPercentDownloadedKey: String
get · iOS 5.0+

NSMetadataUbiquitousItemPercentUploadedKey

TypeScript
const NSMetadataUbiquitousItemPercentUploadedKey: string
Swift declaration
let NSMetadataUbiquitousItemPercentUploadedKey: String
get · iOS 8.0+

NSMetadataUbiquitousItemURLInLocalContainerKey

TypeScript
const NSMetadataUbiquitousItemURLInLocalContainerKey: string
Swift declaration
let NSMetadataUbiquitousItemURLInLocalContainerKey: String
get · iOS 7.0+

NSMetadataUbiquitousItemUploadingErrorKey

TypeScript
const NSMetadataUbiquitousItemUploadingErrorKey: string
Swift declaration
let NSMetadataUbiquitousItemUploadingErrorKey: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey

TypeScript
const NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey: string
Swift declaration
let NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemCurrentUserRoleKey

TypeScript
const NSMetadataUbiquitousSharedItemCurrentUserRoleKey: string
Swift declaration
let NSMetadataUbiquitousSharedItemCurrentUserRoleKey: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey

TypeScript
const NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey: string
Swift declaration
let NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemOwnerNameComponentsKey

TypeScript
const NSMetadataUbiquitousSharedItemOwnerNameComponentsKey: string
Swift declaration
let NSMetadataUbiquitousSharedItemOwnerNameComponentsKey: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemPermissionsReadOnly

TypeScript
const NSMetadataUbiquitousSharedItemPermissionsReadOnly: string
Swift declaration
let NSMetadataUbiquitousSharedItemPermissionsReadOnly: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemPermissionsReadWrite

TypeScript
const NSMetadataUbiquitousSharedItemPermissionsReadWrite: string
Swift declaration
let NSMetadataUbiquitousSharedItemPermissionsReadWrite: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemRoleOwner

TypeScript
const NSMetadataUbiquitousSharedItemRoleOwner: string
Swift declaration
let NSMetadataUbiquitousSharedItemRoleOwner: String
get · iOS 10.0+

NSMetadataUbiquitousSharedItemRoleParticipant

TypeScript
const NSMetadataUbiquitousSharedItemRoleParticipant: string
Swift declaration
let NSMetadataUbiquitousSharedItemRoleParticipant: String
get · iOS 14.5+

NSMultipleUnderlyingErrorsKey

TypeScript
const NSMultipleUnderlyingErrorsKey: string
Swift declaration
let NSMultipleUnderlyingErrorsKey: String
get

NSNonOwnedPointerHashCallBacks

TypeScript
const NSNonOwnedPointerHashCallBacks: NSHashTableCallBacks
Swift declaration
let NSNonOwnedPointerHashCallBacks: NSHashTableCallBacks
get

NSNonOwnedPointerMapKeyCallBacks

TypeScript
const NSNonOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks
Swift declaration
let NSNonOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks
get

NSNonOwnedPointerMapValueCallBacks

TypeScript
const NSNonOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks
Swift declaration
let NSNonOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks
get

NSNonOwnedPointerOrNullMapKeyCallBacks

TypeScript
const NSNonOwnedPointerOrNullMapKeyCallBacks: NSMapTableKeyCallBacks
Swift declaration
let NSNonOwnedPointerOrNullMapKeyCallBacks: NSMapTableKeyCallBacks
get

NSNonRetainedObjectHashCallBacks

TypeScript
const NSNonRetainedObjectHashCallBacks: NSHashTableCallBacks
Swift declaration
let NSNonRetainedObjectHashCallBacks: NSHashTableCallBacks
get

NSNonRetainedObjectMapKeyCallBacks

TypeScript
const NSNonRetainedObjectMapKeyCallBacks: NSMapTableKeyCallBacks
Swift declaration
let NSNonRetainedObjectMapKeyCallBacks: NSMapTableKeyCallBacks
get

NSNonRetainedObjectMapValueCallBacks

TypeScript
const NSNonRetainedObjectMapValueCallBacks: NSMapTableValueCallBacks
Swift declaration
let NSNonRetainedObjectMapValueCallBacks: NSMapTableValueCallBacks
get

NSNotFound

TypeScript
const NSNotFound: number
Swift declaration
var NSNotFound: Int { get }
get

NSOSStatusErrorDomain

TypeScript
const NSOSStatusErrorDomain: string
Swift declaration
let NSOSStatusErrorDomain: String
get

NSObjectHashCallBacks

TypeScript
const NSObjectHashCallBacks: NSHashTableCallBacks
Swift declaration
let NSObjectHashCallBacks: NSHashTableCallBacks
get

NSObjectMapKeyCallBacks

TypeScript
const NSObjectMapKeyCallBacks: NSMapTableKeyCallBacks
Swift declaration
let NSObjectMapKeyCallBacks: NSMapTableKeyCallBacks
get

NSObjectMapValueCallBacks

TypeScript
const NSObjectMapValueCallBacks: NSMapTableValueCallBacks
Swift declaration
let NSObjectMapValueCallBacks: NSMapTableValueCallBacks
get

NSOwnedObjectIdentityHashCallBacks

TypeScript
const NSOwnedObjectIdentityHashCallBacks: NSHashTableCallBacks
Swift declaration
let NSOwnedObjectIdentityHashCallBacks: NSHashTableCallBacks
get

NSOwnedPointerHashCallBacks

TypeScript
const NSOwnedPointerHashCallBacks: NSHashTableCallBacks
Swift declaration
let NSOwnedPointerHashCallBacks: NSHashTableCallBacks
get

NSOwnedPointerMapKeyCallBacks

TypeScript
const NSOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks
Swift declaration
let NSOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks
get

NSOwnedPointerMapValueCallBacks

TypeScript
const NSOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks
Swift declaration
let NSOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks
get

NSPOSIXErrorDomain

TypeScript
const NSPOSIXErrorDomain: string
Swift declaration
let NSPOSIXErrorDomain: String
get · iOS 4.0+ · Deprecated in iOS 8.0

NSPersianCalendar

TypeScript
const NSPersianCalendar: string
Swift declaration
let NSPersianCalendar: String
get · iOS 9.0+

NSPersonNameComponentDelimiter

TypeScript
const NSPersonNameComponentDelimiter: string
Swift declaration
let NSPersonNameComponentDelimiter: String
get · iOS 9.0+

NSPersonNameComponentFamilyName

TypeScript
const NSPersonNameComponentFamilyName: string
Swift declaration
let NSPersonNameComponentFamilyName: String
get · iOS 9.0+

NSPersonNameComponentGivenName

TypeScript
const NSPersonNameComponentGivenName: string
Swift declaration
let NSPersonNameComponentGivenName: String
get · iOS 9.0+

NSPersonNameComponentKey

TypeScript
const NSPersonNameComponentKey: string
Swift declaration
let NSPersonNameComponentKey: String
get · iOS 9.0+

NSPersonNameComponentMiddleName

TypeScript
const NSPersonNameComponentMiddleName: string
Swift declaration
let NSPersonNameComponentMiddleName: String
get · iOS 9.0+

NSPersonNameComponentNickname

TypeScript
const NSPersonNameComponentNickname: string
Swift declaration
let NSPersonNameComponentNickname: String
get · iOS 9.0+

NSPersonNameComponentPrefix

TypeScript
const NSPersonNameComponentPrefix: string
Swift declaration
let NSPersonNameComponentPrefix: String
get · iOS 9.0+

NSPersonNameComponentSuffix

TypeScript
const NSPersonNameComponentSuffix: string
Swift declaration
let NSPersonNameComponentSuffix: String
get

NSPointerToStructHashCallBacks

TypeScript
const NSPointerToStructHashCallBacks: NSHashTableCallBacks
Swift declaration
let NSPointerToStructHashCallBacks: NSHashTableCallBacks
get

NSRecoveryAttempterErrorKey

TypeScript
const NSRecoveryAttempterErrorKey: string
Swift declaration
let NSRecoveryAttempterErrorKey: String
get · iOS 4.0+ · Deprecated in iOS 8.0

NSRepublicOfChinaCalendar

TypeScript
const NSRepublicOfChinaCalendar: string
Swift declaration
let NSRepublicOfChinaCalendar: String
get · iOS 2.0+

NSStreamSOCKSErrorDomain

TypeScript
const NSStreamSOCKSErrorDomain: string
Swift declaration
let NSStreamSOCKSErrorDomain: String
get · iOS 2.0+

NSStreamSocketSSLErrorDomain

TypeScript
const NSStreamSocketSSLErrorDomain: string
Swift declaration
let NSStreamSocketSSLErrorDomain: String
get

NSStringEncodingErrorKey

TypeScript
const NSStringEncodingErrorKey: string
Swift declaration
let NSStringEncodingErrorKey: String
get · iOS 3.0+

NSURLAuthenticationMethodClientCertificate

TypeScript
const NSURLAuthenticationMethodClientCertificate: string
Swift declaration
let NSURLAuthenticationMethodClientCertificate: String
get · iOS 2.0+

NSURLAuthenticationMethodDefault

TypeScript
const NSURLAuthenticationMethodDefault: string
Swift declaration
let NSURLAuthenticationMethodDefault: String
get · iOS 2.0+

NSURLAuthenticationMethodHTMLForm

TypeScript
const NSURLAuthenticationMethodHTMLForm: string
Swift declaration
let NSURLAuthenticationMethodHTMLForm: String
get · iOS 2.0+

NSURLAuthenticationMethodHTTPBasic

TypeScript
const NSURLAuthenticationMethodHTTPBasic: string
Swift declaration
let NSURLAuthenticationMethodHTTPBasic: String
get · iOS 2.0+

NSURLAuthenticationMethodHTTPDigest

TypeScript
const NSURLAuthenticationMethodHTTPDigest: string
Swift declaration
let NSURLAuthenticationMethodHTTPDigest: String
get · iOS 2.0+

NSURLAuthenticationMethodNTLM

TypeScript
const NSURLAuthenticationMethodNTLM: string
Swift declaration
let NSURLAuthenticationMethodNTLM: String
get · iOS 2.0+

NSURLAuthenticationMethodNegotiate

TypeScript
const NSURLAuthenticationMethodNegotiate: string
Swift declaration
let NSURLAuthenticationMethodNegotiate: String
get · iOS 3.0+

NSURLAuthenticationMethodServerTrust

TypeScript
const NSURLAuthenticationMethodServerTrust: string
Swift declaration
let NSURLAuthenticationMethodServerTrust: String
get · iOS 7.0+

NSURLCredentialStorageRemoveSynchronizableCredentials

TypeScript
const NSURLCredentialStorageRemoveSynchronizableCredentials: string
Swift declaration
let NSURLCredentialStorageRemoveSynchronizableCredentials: String
get · iOS 8.0+

NSURLErrorBackgroundTaskCancelledReasonKey

TypeScript
const NSURLErrorBackgroundTaskCancelledReasonKey: string
Swift declaration
let NSURLErrorBackgroundTaskCancelledReasonKey: String
get

NSURLErrorDomain

TypeScript
const NSURLErrorDomain: string
Swift declaration
let NSURLErrorDomain: String
get · iOS 4.0+

NSURLErrorFailingURLErrorKey

TypeScript
const NSURLErrorFailingURLErrorKey: string
Swift declaration
let NSURLErrorFailingURLErrorKey: String
get · iOS 4.0+

NSURLErrorFailingURLPeerTrustErrorKey

TypeScript
const NSURLErrorFailingURLPeerTrustErrorKey: string
Swift declaration
let NSURLErrorFailingURLPeerTrustErrorKey: String
get · iOS 4.0+ · Deprecated in iOS 18.4

NSURLErrorFailingURLStringErrorKey

TypeScript
const NSURLErrorFailingURLStringErrorKey: string
Swift declaration
let NSURLErrorFailingURLStringErrorKey: String
get

NSURLErrorKey

TypeScript
const NSURLErrorKey: string
Swift declaration
let NSURLErrorKey: String
get · iOS 13.0+

NSURLErrorNetworkUnavailableReasonKey

TypeScript
const NSURLErrorNetworkUnavailableReasonKey: string
Swift declaration
let NSURLErrorNetworkUnavailableReasonKey: String
get

NSURLFileScheme

TypeScript
const NSURLFileScheme: string
Swift declaration
let NSURLFileScheme: String
get · iOS 2.0+ · Deprecated in iOS 18.4

NSURLProtectionSpaceFTP

TypeScript
const NSURLProtectionSpaceFTP: string
Swift declaration
let NSURLProtectionSpaceFTP: String
get · iOS 2.0+ · Deprecated in iOS 18.4

NSURLProtectionSpaceFTPProxy

TypeScript
const NSURLProtectionSpaceFTPProxy: string
Swift declaration
let NSURLProtectionSpaceFTPProxy: String
get · iOS 2.0+

NSURLProtectionSpaceHTTP

TypeScript
const NSURLProtectionSpaceHTTP: string
Swift declaration
let NSURLProtectionSpaceHTTP: String
get · iOS 2.0+

NSURLProtectionSpaceHTTPProxy

TypeScript
const NSURLProtectionSpaceHTTPProxy: string
Swift declaration
let NSURLProtectionSpaceHTTPProxy: String
get · iOS 2.0+

NSURLProtectionSpaceHTTPS

TypeScript
const NSURLProtectionSpaceHTTPS: string
Swift declaration
let NSURLProtectionSpaceHTTPS: String
get · iOS 2.0+

NSURLProtectionSpaceHTTPSProxy

TypeScript
const NSURLProtectionSpaceHTTPSProxy: string
Swift declaration
let NSURLProtectionSpaceHTTPSProxy: String
get · iOS 2.0+

NSURLProtectionSpaceSOCKSProxy

TypeScript
const NSURLProtectionSpaceSOCKSProxy: string
Swift declaration
let NSURLProtectionSpaceSOCKSProxy: String
get · iOS 7.0+

NSURLSessionDownloadTaskResumeData

TypeScript
const NSURLSessionDownloadTaskResumeData: string
Swift declaration
let NSURLSessionDownloadTaskResumeData: String
get · iOS 7.0+

NSURLSessionTransferSizeUnknown

TypeScript
const NSURLSessionTransferSizeUnknown: number
Swift declaration
let NSURLSessionTransferSizeUnknown: Int64
get · iOS 17.0+

NSURLSessionUploadTaskResumeData

TypeScript
const NSURLSessionUploadTaskResumeData: string
Swift declaration
let NSURLSessionUploadTaskResumeData: String
get · iOS 5.0+

NSUbiquitousKeyValueStoreChangeReasonKey

TypeScript
const NSUbiquitousKeyValueStoreChangeReasonKey: string
Swift declaration
let NSUbiquitousKeyValueStoreChangeReasonKey: String
get · iOS 5.0+

NSUbiquitousKeyValueStoreChangedKeysKey

TypeScript
const NSUbiquitousKeyValueStoreChangedKeysKey: string
Swift declaration
let NSUbiquitousKeyValueStoreChangedKeysKey: String
get

NSUnderlyingErrorKey

TypeScript
const NSUnderlyingErrorKey: string
Swift declaration
let NSUnderlyingErrorKey: String
get

NSUndoCloseGroupingRunLoopOrdering

TypeScript
const NSUndoCloseGroupingRunLoopOrdering: number
Swift declaration
var NSUndoCloseGroupingRunLoopOrdering: Int { get }
get · iOS 5.0+

NSUndoManagerGroupIsDiscardableKey

TypeScript
const NSUndoManagerGroupIsDiscardableKey: string
Swift declaration
let NSUndoManagerGroupIsDiscardableKey: String
get

NSUserActivityTypeBrowsingWeb

TypeScript
const NSUserActivityTypeBrowsingWeb: string
Swift declaration
let NSUserActivityTypeBrowsingWeb: String
get

NSDecimalMaxSize

TypeScript
const NSDecimalMaxSize: number
Swift declaration
var NSDecimalMaxSize: Int32 { get }
get

NSDecimalNoScale

TypeScript
const NSDecimalNoScale: number
Swift declaration
var NSDecimalNoScale: Int32 { get }
get

NSFoundationVersionNumber10_0

TypeScript
const NSFoundationVersionNumber10_0: number
Swift declaration
var NSFoundationVersionNumber10_0: Double { get }
get

NSFoundationVersionNumber10_10

TypeScript
const NSFoundationVersionNumber10_10: number
Swift declaration
var NSFoundationVersionNumber10_10: Double { get }
get

NSFoundationVersionNumber10_10_1

TypeScript
const NSFoundationVersionNumber10_10_1: number
Swift declaration
var NSFoundationVersionNumber10_10_1: Double { get }
get

NSFoundationVersionNumber10_10_2

TypeScript
const NSFoundationVersionNumber10_10_2: number
Swift declaration
var NSFoundationVersionNumber10_10_2: Double { get }
get

NSFoundationVersionNumber10_10_3

TypeScript
const NSFoundationVersionNumber10_10_3: number
Swift declaration
var NSFoundationVersionNumber10_10_3: Double { get }
get

NSFoundationVersionNumber10_10_4

TypeScript
const NSFoundationVersionNumber10_10_4: number
Swift declaration
var NSFoundationVersionNumber10_10_4: Double { get }
get

NSFoundationVersionNumber10_10_5

TypeScript
const NSFoundationVersionNumber10_10_5: number
Swift declaration
var NSFoundationVersionNumber10_10_5: Int32 { get }
get

NSFoundationVersionNumber10_10_Max

TypeScript
const NSFoundationVersionNumber10_10_Max: number
Swift declaration
var NSFoundationVersionNumber10_10_Max: Int32 { get }
get

NSFoundationVersionNumber10_11

TypeScript
const NSFoundationVersionNumber10_11: number
Swift declaration
var NSFoundationVersionNumber10_11: Int32 { get }
get

NSFoundationVersionNumber10_11_1

TypeScript
const NSFoundationVersionNumber10_11_1: number
Swift declaration
var NSFoundationVersionNumber10_11_1: Double { get }
get

NSFoundationVersionNumber10_11_2

TypeScript
const NSFoundationVersionNumber10_11_2: number
Swift declaration
var NSFoundationVersionNumber10_11_2: Double { get }
get

NSFoundationVersionNumber10_11_3

TypeScript
const NSFoundationVersionNumber10_11_3: number
Swift declaration
var NSFoundationVersionNumber10_11_3: Double { get }
get

NSFoundationVersionNumber10_11_4

TypeScript
const NSFoundationVersionNumber10_11_4: number
Swift declaration
var NSFoundationVersionNumber10_11_4: Int32 { get }
get

NSFoundationVersionNumber10_11_Max

TypeScript
const NSFoundationVersionNumber10_11_Max: number
Swift declaration
var NSFoundationVersionNumber10_11_Max: Int32 { get }
get

NSFoundationVersionNumber10_1

TypeScript
const NSFoundationVersionNumber10_1: number
Swift declaration
var NSFoundationVersionNumber10_1: Double { get }
get

NSFoundationVersionNumber10_1_1

TypeScript
const NSFoundationVersionNumber10_1_1: number
Swift declaration
var NSFoundationVersionNumber10_1_1: Double { get }
get

NSFoundationVersionNumber10_1_2

TypeScript
const NSFoundationVersionNumber10_1_2: number
Swift declaration
var NSFoundationVersionNumber10_1_2: Double { get }
get

NSFoundationVersionNumber10_1_3

TypeScript
const NSFoundationVersionNumber10_1_3: number
Swift declaration
var NSFoundationVersionNumber10_1_3: Double { get }
get

NSFoundationVersionNumber10_1_4

TypeScript
const NSFoundationVersionNumber10_1_4: number
Swift declaration
var NSFoundationVersionNumber10_1_4: Double { get }
get

NSFoundationVersionNumber10_2

TypeScript
const NSFoundationVersionNumber10_2: number
Swift declaration
var NSFoundationVersionNumber10_2: Double { get }
get

NSFoundationVersionNumber10_2_1

TypeScript
const NSFoundationVersionNumber10_2_1: number
Swift declaration
var NSFoundationVersionNumber10_2_1: Double { get }
get

NSFoundationVersionNumber10_2_2

TypeScript
const NSFoundationVersionNumber10_2_2: number
Swift declaration
var NSFoundationVersionNumber10_2_2: Double { get }
get

NSFoundationVersionNumber10_2_3

TypeScript
const NSFoundationVersionNumber10_2_3: number
Swift declaration
var NSFoundationVersionNumber10_2_3: Double { get }
get

NSFoundationVersionNumber10_2_4

TypeScript
const NSFoundationVersionNumber10_2_4: number
Swift declaration
var NSFoundationVersionNumber10_2_4: Double { get }
get

NSFoundationVersionNumber10_2_5

TypeScript
const NSFoundationVersionNumber10_2_5: number
Swift declaration
var NSFoundationVersionNumber10_2_5: Double { get }
get

NSFoundationVersionNumber10_2_6

TypeScript
const NSFoundationVersionNumber10_2_6: number
Swift declaration
var NSFoundationVersionNumber10_2_6: Double { get }
get

NSFoundationVersionNumber10_2_7

TypeScript
const NSFoundationVersionNumber10_2_7: number
Swift declaration
var NSFoundationVersionNumber10_2_7: Double { get }
get

NSFoundationVersionNumber10_2_8

TypeScript
const NSFoundationVersionNumber10_2_8: number
Swift declaration
var NSFoundationVersionNumber10_2_8: Double { get }
get

NSFoundationVersionNumber10_3

TypeScript
const NSFoundationVersionNumber10_3: number
Swift declaration
var NSFoundationVersionNumber10_3: Double { get }
get

NSFoundationVersionNumber10_3_1

TypeScript
const NSFoundationVersionNumber10_3_1: number
Swift declaration
var NSFoundationVersionNumber10_3_1: Double { get }
get

NSFoundationVersionNumber10_3_2

TypeScript
const NSFoundationVersionNumber10_3_2: number
Swift declaration
var NSFoundationVersionNumber10_3_2: Double { get }
get

NSFoundationVersionNumber10_3_3

TypeScript
const NSFoundationVersionNumber10_3_3: number
Swift declaration
var NSFoundationVersionNumber10_3_3: Double { get }
get

NSFoundationVersionNumber10_3_4

TypeScript
const NSFoundationVersionNumber10_3_4: number
Swift declaration
var NSFoundationVersionNumber10_3_4: Double { get }
get

NSFoundationVersionNumber10_3_5

TypeScript
const NSFoundationVersionNumber10_3_5: number
Swift declaration
var NSFoundationVersionNumber10_3_5: Double { get }
get

NSFoundationVersionNumber10_3_6

TypeScript
const NSFoundationVersionNumber10_3_6: number
Swift declaration
var NSFoundationVersionNumber10_3_6: Double { get }
get

NSFoundationVersionNumber10_3_7

TypeScript
const NSFoundationVersionNumber10_3_7: number
Swift declaration
var NSFoundationVersionNumber10_3_7: Double { get }
get

NSFoundationVersionNumber10_3_8

TypeScript
const NSFoundationVersionNumber10_3_8: number
Swift declaration
var NSFoundationVersionNumber10_3_8: Double { get }
get

NSFoundationVersionNumber10_3_9

TypeScript
const NSFoundationVersionNumber10_3_9: number
Swift declaration
var NSFoundationVersionNumber10_3_9: Double { get }
get

NSFoundationVersionNumber10_4

TypeScript
const NSFoundationVersionNumber10_4: number
Swift declaration
var NSFoundationVersionNumber10_4: Double { get }
get

NSFoundationVersionNumber10_4_10

TypeScript
const NSFoundationVersionNumber10_4_10: number
Swift declaration
var NSFoundationVersionNumber10_4_10: Double { get }
get

NSFoundationVersionNumber10_4_11

TypeScript
const NSFoundationVersionNumber10_4_11: number
Swift declaration
var NSFoundationVersionNumber10_4_11: Double { get }
get

NSFoundationVersionNumber10_4_1

TypeScript
const NSFoundationVersionNumber10_4_1: number
Swift declaration
var NSFoundationVersionNumber10_4_1: Double { get }
get

NSFoundationVersionNumber10_4_2

TypeScript
const NSFoundationVersionNumber10_4_2: number
Swift declaration
var NSFoundationVersionNumber10_4_2: Double { get }
get

NSFoundationVersionNumber10_4_3

TypeScript
const NSFoundationVersionNumber10_4_3: number
Swift declaration
var NSFoundationVersionNumber10_4_3: Double { get }
get

NSFoundationVersionNumber10_4_4_Intel

TypeScript
const NSFoundationVersionNumber10_4_4_Intel: number
Swift declaration
var NSFoundationVersionNumber10_4_4_Intel: Double { get }
get

NSFoundationVersionNumber10_4_4_PowerPC

TypeScript
const NSFoundationVersionNumber10_4_4_PowerPC: number
Swift declaration
var NSFoundationVersionNumber10_4_4_PowerPC: Double { get }
get

NSFoundationVersionNumber10_4_5

TypeScript
const NSFoundationVersionNumber10_4_5: number
Swift declaration
var NSFoundationVersionNumber10_4_5: Double { get }
get

NSFoundationVersionNumber10_4_6

TypeScript
const NSFoundationVersionNumber10_4_6: number
Swift declaration
var NSFoundationVersionNumber10_4_6: Double { get }
get

NSFoundationVersionNumber10_4_7

TypeScript
const NSFoundationVersionNumber10_4_7: number
Swift declaration
var NSFoundationVersionNumber10_4_7: Double { get }
get

NSFoundationVersionNumber10_4_8

TypeScript
const NSFoundationVersionNumber10_4_8: number
Swift declaration
var NSFoundationVersionNumber10_4_8: Double { get }
get

NSFoundationVersionNumber10_4_9

TypeScript
const NSFoundationVersionNumber10_4_9: number
Swift declaration
var NSFoundationVersionNumber10_4_9: Double { get }
get

NSFoundationVersionNumber10_5

TypeScript
const NSFoundationVersionNumber10_5: number
Swift declaration
var NSFoundationVersionNumber10_5: Double { get }
get

NSFoundationVersionNumber10_5_1

TypeScript
const NSFoundationVersionNumber10_5_1: number
Swift declaration
var NSFoundationVersionNumber10_5_1: Double { get }
get

NSFoundationVersionNumber10_5_2

TypeScript
const NSFoundationVersionNumber10_5_2: number
Swift declaration
var NSFoundationVersionNumber10_5_2: Double { get }
get

NSFoundationVersionNumber10_5_3

TypeScript
const NSFoundationVersionNumber10_5_3: number
Swift declaration
var NSFoundationVersionNumber10_5_3: Double { get }
get

NSFoundationVersionNumber10_5_4

TypeScript
const NSFoundationVersionNumber10_5_4: number
Swift declaration
var NSFoundationVersionNumber10_5_4: Double { get }
get

NSFoundationVersionNumber10_5_5

TypeScript
const NSFoundationVersionNumber10_5_5: number
Swift declaration
var NSFoundationVersionNumber10_5_5: Double { get }
get

NSFoundationVersionNumber10_5_6

TypeScript
const NSFoundationVersionNumber10_5_6: number
Swift declaration
var NSFoundationVersionNumber10_5_6: Double { get }
get

NSFoundationVersionNumber10_5_7

TypeScript
const NSFoundationVersionNumber10_5_7: number
Swift declaration
var NSFoundationVersionNumber10_5_7: Double { get }
get

NSFoundationVersionNumber10_5_8

TypeScript
const NSFoundationVersionNumber10_5_8: number
Swift declaration
var NSFoundationVersionNumber10_5_8: Double { get }
get

NSFoundationVersionNumber10_6

TypeScript
const NSFoundationVersionNumber10_6: number
Swift declaration
var NSFoundationVersionNumber10_6: Double { get }
get

NSFoundationVersionNumber10_6_1

TypeScript
const NSFoundationVersionNumber10_6_1: number
Swift declaration
var NSFoundationVersionNumber10_6_1: Double { get }
get

NSFoundationVersionNumber10_6_2

TypeScript
const NSFoundationVersionNumber10_6_2: number
Swift declaration
var NSFoundationVersionNumber10_6_2: Double { get }
get

NSFoundationVersionNumber10_6_3

TypeScript
const NSFoundationVersionNumber10_6_3: number
Swift declaration
var NSFoundationVersionNumber10_6_3: Double { get }
get

NSFoundationVersionNumber10_6_4

TypeScript
const NSFoundationVersionNumber10_6_4: number
Swift declaration
var NSFoundationVersionNumber10_6_4: Double { get }
get

NSFoundationVersionNumber10_6_5

TypeScript
const NSFoundationVersionNumber10_6_5: number
Swift declaration
var NSFoundationVersionNumber10_6_5: Double { get }
get

NSFoundationVersionNumber10_6_6

TypeScript
const NSFoundationVersionNumber10_6_6: number
Swift declaration
var NSFoundationVersionNumber10_6_6: Double { get }
get

NSFoundationVersionNumber10_6_7

TypeScript
const NSFoundationVersionNumber10_6_7: number
Swift declaration
var NSFoundationVersionNumber10_6_7: Double { get }
get

NSFoundationVersionNumber10_6_8

TypeScript
const NSFoundationVersionNumber10_6_8: number
Swift declaration
var NSFoundationVersionNumber10_6_8: Double { get }
get

NSFoundationVersionNumber10_7

TypeScript
const NSFoundationVersionNumber10_7: number
Swift declaration
var NSFoundationVersionNumber10_7: Double { get }
get

NSFoundationVersionNumber10_7_1

TypeScript
const NSFoundationVersionNumber10_7_1: number
Swift declaration
var NSFoundationVersionNumber10_7_1: Double { get }
get

NSFoundationVersionNumber10_7_2

TypeScript
const NSFoundationVersionNumber10_7_2: number
Swift declaration
var NSFoundationVersionNumber10_7_2: Double { get }
get

NSFoundationVersionNumber10_7_3

TypeScript
const NSFoundationVersionNumber10_7_3: number
Swift declaration
var NSFoundationVersionNumber10_7_3: Double { get }
get

NSFoundationVersionNumber10_7_4

TypeScript
const NSFoundationVersionNumber10_7_4: number
Swift declaration
var NSFoundationVersionNumber10_7_4: Double { get }
get

NSFoundationVersionNumber10_8

TypeScript
const NSFoundationVersionNumber10_8: number
Swift declaration
var NSFoundationVersionNumber10_8: Double { get }
get

NSFoundationVersionNumber10_8_1

TypeScript
const NSFoundationVersionNumber10_8_1: number
Swift declaration
var NSFoundationVersionNumber10_8_1: Double { get }
get

NSFoundationVersionNumber10_8_2

TypeScript
const NSFoundationVersionNumber10_8_2: number
Swift declaration
var NSFoundationVersionNumber10_8_2: Double { get }
get

NSFoundationVersionNumber10_8_3

TypeScript
const NSFoundationVersionNumber10_8_3: number
Swift declaration
var NSFoundationVersionNumber10_8_3: Double { get }
get

NSFoundationVersionNumber10_8_4

TypeScript
const NSFoundationVersionNumber10_8_4: number
Swift declaration
var NSFoundationVersionNumber10_8_4: Double { get }
get

NSFoundationVersionNumber10_9

TypeScript
const NSFoundationVersionNumber10_9: number
Swift declaration
var NSFoundationVersionNumber10_9: Int32 { get }
get

NSFoundationVersionNumber10_9_1

TypeScript
const NSFoundationVersionNumber10_9_1: number
Swift declaration
var NSFoundationVersionNumber10_9_1: Int32 { get }
get

NSFoundationVersionNumber10_9_2

TypeScript
const NSFoundationVersionNumber10_9_2: number
Swift declaration
var NSFoundationVersionNumber10_9_2: Double { get }
get

NSFoundationVersionNumber_iOS_4_0

TypeScript
const NSFoundationVersionNumber_iOS_4_0: number
Swift declaration
var NSFoundationVersionNumber_iOS_4_0: Double { get }
get

NSFoundationVersionNumber_iOS_4_1

TypeScript
const NSFoundationVersionNumber_iOS_4_1: number
Swift declaration
var NSFoundationVersionNumber_iOS_4_1: Double { get }
get

NSFoundationVersionNumber_iOS_4_2

TypeScript
const NSFoundationVersionNumber_iOS_4_2: number
Swift declaration
var NSFoundationVersionNumber_iOS_4_2: Double { get }
get

NSFoundationVersionNumber_iOS_4_3

TypeScript
const NSFoundationVersionNumber_iOS_4_3: number
Swift declaration
var NSFoundationVersionNumber_iOS_4_3: Double { get }
get

NSFoundationVersionNumber_iOS_5_0

TypeScript
const NSFoundationVersionNumber_iOS_5_0: number
Swift declaration
var NSFoundationVersionNumber_iOS_5_0: Double { get }
get

NSFoundationVersionNumber_iOS_5_1

TypeScript
const NSFoundationVersionNumber_iOS_5_1: number
Swift declaration
var NSFoundationVersionNumber_iOS_5_1: Double { get }
get

NSFoundationVersionNumber_iOS_6_0

TypeScript
const NSFoundationVersionNumber_iOS_6_0: number
Swift declaration
var NSFoundationVersionNumber_iOS_6_0: Double { get }
get

NSFoundationVersionNumber_iOS_6_1

TypeScript
const NSFoundationVersionNumber_iOS_6_1: number
Swift declaration
var NSFoundationVersionNumber_iOS_6_1: Double { get }
get

NSFoundationVersionNumber_iOS_7_0

TypeScript
const NSFoundationVersionNumber_iOS_7_0: number
Swift declaration
var NSFoundationVersionNumber_iOS_7_0: Double { get }
get

NSFoundationVersionNumber_iOS_7_1

TypeScript
const NSFoundationVersionNumber_iOS_7_1: number
Swift declaration
var NSFoundationVersionNumber_iOS_7_1: Double { get }
get

NSFoundationVersionNumber_iOS_8_0

TypeScript
const NSFoundationVersionNumber_iOS_8_0: number
Swift declaration
var NSFoundationVersionNumber_iOS_8_0: Double { get }
get

NSFoundationVersionNumber_iOS_8_1

TypeScript
const NSFoundationVersionNumber_iOS_8_1: number
Swift declaration
var NSFoundationVersionNumber_iOS_8_1: Double { get }
get

NSFoundationVersionNumber_iOS_8_2

TypeScript
const NSFoundationVersionNumber_iOS_8_2: number
Swift declaration
var NSFoundationVersionNumber_iOS_8_2: Double { get }
get

NSFoundationVersionNumber_iOS_8_3

TypeScript
const NSFoundationVersionNumber_iOS_8_3: number
Swift declaration
var NSFoundationVersionNumber_iOS_8_3: Double { get }
get

NSFoundationVersionNumber_iOS_8_4

TypeScript
const NSFoundationVersionNumber_iOS_8_4: number
Swift declaration
var NSFoundationVersionNumber_iOS_8_4: Double { get }
get

NSFoundationVersionNumber_iOS_8_x_Max

TypeScript
const NSFoundationVersionNumber_iOS_8_x_Max: number
Swift declaration
var NSFoundationVersionNumber_iOS_8_x_Max: Int32 { get }
get

NSFoundationVersionNumber_iOS_9_0

TypeScript
const NSFoundationVersionNumber_iOS_9_0: number
Swift declaration
var NSFoundationVersionNumber_iOS_9_0: Double { get }
get

NSFoundationVersionNumber_iOS_9_1

TypeScript
const NSFoundationVersionNumber_iOS_9_1: number
Swift declaration
var NSFoundationVersionNumber_iOS_9_1: Double { get }
get

NSFoundationVersionNumber_iOS_9_2

TypeScript
const NSFoundationVersionNumber_iOS_9_2: number
Swift declaration
var NSFoundationVersionNumber_iOS_9_2: Double { get }
get

NSFoundationVersionNumber_iOS_9_3

TypeScript
const NSFoundationVersionNumber_iOS_9_3: number
Swift declaration
var NSFoundationVersionNumber_iOS_9_3: Double { get }
get

NSFoundationVersionNumber_iOS_9_4

TypeScript
const NSFoundationVersionNumber_iOS_9_4: number
Swift declaration
var NSFoundationVersionNumber_iOS_9_4: Double { get }
get

NSFoundationVersionNumber_iOS_9_x_Max

TypeScript
const NSFoundationVersionNumber_iOS_9_x_Max: number
Swift declaration
var NSFoundationVersionNumber_iOS_9_x_Max: Int32 { get }
get

NSFoundationVersionNumber_iPhoneOS_2_0

TypeScript
const NSFoundationVersionNumber_iPhoneOS_2_0: number
Swift declaration
var NSFoundationVersionNumber_iPhoneOS_2_0: Double { get }
get

NSFoundationVersionNumber_iPhoneOS_2_1

TypeScript
const NSFoundationVersionNumber_iPhoneOS_2_1: number
Swift declaration
var NSFoundationVersionNumber_iPhoneOS_2_1: Double { get }
get

NSFoundationVersionNumber_iPhoneOS_2_2

TypeScript
const NSFoundationVersionNumber_iPhoneOS_2_2: number
Swift declaration
var NSFoundationVersionNumber_iPhoneOS_2_2: Double { get }
get

NSFoundationVersionNumber_iPhoneOS_3_0

TypeScript
const NSFoundationVersionNumber_iPhoneOS_3_0: number
Swift declaration
var NSFoundationVersionNumber_iPhoneOS_3_0: Double { get }
get

NSFoundationVersionNumber_iPhoneOS_3_1

TypeScript
const NSFoundationVersionNumber_iPhoneOS_3_1: number
Swift declaration
var NSFoundationVersionNumber_iPhoneOS_3_1: Double { get }
get

NSFoundationVersionNumber_iPhoneOS_3_2

TypeScript
const NSFoundationVersionNumber_iPhoneOS_3_2: number
Swift declaration
var NSFoundationVersionNumber_iPhoneOS_3_2: Double { get }
get

NSFoundationVersionWithFileManagerResourceForkSupport

TypeScript
const NSFoundationVersionWithFileManagerResourceForkSupport: number
Swift declaration
var NSFoundationVersionWithFileManagerResourceForkSupport: Int32 { get }
get

NSTimeIntervalSince1970

TypeScript
const NSTimeIntervalSince1970: number
Swift declaration
var NSTimeIntervalSince1970: Double { get }
init

init

TypeScript
static init(): NSCache<SDKHandle, SDKHandle>
Swift declaration
init()
method · iOS 4.0+

object

TypeScript
object(key: SDKHandle): (SDKHandle) | null
Swift declaration
func object(forKey key: KeyType) -> ObjectType?
method · iOS 4.0+

removeAllObjects

TypeScript
removeAllObjects(): void
Swift declaration
func removeAllObjects()
method · iOS 4.0+

removeObject

TypeScript
removeObject(key: SDKHandle): void
Swift declaration
func removeObject(forKey key: KeyType)
method · iOS 4.0+

setObject

TypeScript
setObjectForKey(obj: SDKHandle, key: SDKHandle): void
Swift declaration
func setObject(_ obj: ObjectType, forKey key: KeyType)
method · iOS 4.0+

setObject

TypeScript
setObjectForKeyCost(obj: SDKHandle, key: SDKHandle, g: number): void
Swift declaration
func setObject(_ obj: ObjectType, forKey key: KeyType, cost g: Int)
get · iOS 4.0+

countLimit

TypeScript
get countLimit(): number
Swift declaration
var countLimit: Int { get set }
set · iOS 4.0+

countLimit

TypeScript
set countLimit(value: number)
Swift declaration
var countLimit: Int { get set }
get · iOS 4.0+

delegate

TypeScript
get delegate(): (SDKHandle) | null
Swift declaration
unowned(unsafe) var delegate: (any NSCacheDelegate)? { get set }
set · iOS 4.0+

delegate

TypeScript
set delegate(value: (Implements<NSCacheDelegate> | SDKHandle) | null)
Swift declaration
unowned(unsafe) var delegate: (any NSCacheDelegate)? { get set }
get · iOS 4.0+

evictsObjectsWithDiscardedContent

TypeScript
get evictsObjectsWithDiscardedContent(): boolean
Swift declaration
var evictsObjectsWithDiscardedContent: Bool { get set }
set · iOS 4.0+

evictsObjectsWithDiscardedContent

TypeScript
set evictsObjectsWithDiscardedContent(value: boolean)
Swift declaration
var evictsObjectsWithDiscardedContent: Bool { get set }
get · iOS 4.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get set }
set · iOS 4.0+

name

TypeScript
set name(value: string)
Swift declaration
var name: String { get set }
get · iOS 4.0+

totalCostLimit

TypeScript
get totalCostLimit(): number
Swift declaration
var totalCostLimit: Int { get set }
set · iOS 4.0+

totalCostLimit

TypeScript
set totalCostLimit(value: number)
Swift declaration
var totalCostLimit: Int { get set }
init · iOS 6.0+

init

TypeScript
static initOptions(options?: NSPointerFunctions_Options): NSHashTable<SDKHandle>
Swift declaration
init(options: NSPointerFunctions.Options = [])
static · iOS 6.0+

weakObjects

TypeScript
static weakObjects(): NSHashTable<SDKHandle>
Swift declaration
class func weakObjects() -> NSHashTable<ObjectType>
method · iOS 6.0+

add

TypeScript
add(object?: (SDKHandle) | null): void
Swift declaration
func add(_ object: ObjectType?)
method · iOS 6.0+

contains

TypeScript
contains(anObject?: (SDKHandle) | null): boolean
Swift declaration
func contains(_ anObject: ObjectType?) -> Bool
init

init

TypeScript
static init(): NSHashTable<SDKHandle>
Swift declaration
init()
init · iOS 6.0+

init

TypeScript
static initOptionsCapacity(options: NSPointerFunctions_Options, initialCapacity: number): NSHashTable<SDKHandle>
Swift declaration
init(options: NSPointerFunctions.Options = [], capacity initialCapacity: Int)
init · iOS 6.0+

init

TypeScript
static initPointerFunctionsCapacity(functions: NSPointerFunctions, initialCapacity: number): NSHashTable<SDKHandle>
Swift declaration
init(pointerFunctions functions: NSPointerFunctions, capacity initialCapacity: Int)
method · iOS 6.0+

intersect

TypeScript
intersect(other: NSHashTable<SDKHandle>): void
Swift declaration
func intersect(_ other: NSHashTable<ObjectType>)
method · iOS 6.0+

intersects

TypeScript
intersects(other: NSHashTable<SDKHandle>): boolean
Swift declaration
func intersects(_ other: NSHashTable<ObjectType>) -> Bool
method · iOS 6.0+

isEqual

TypeScript
isEqual(other: NSHashTable<SDKHandle>): boolean
Swift declaration
func isEqual(to other: NSHashTable<ObjectType>) -> Bool
method · iOS 6.0+

isSubset

TypeScript
isSubset(other: NSHashTable<SDKHandle>): boolean
Swift declaration
func isSubset(of other: NSHashTable<ObjectType>) -> Bool
method · iOS 6.0+

member

TypeScript
member(object?: (SDKHandle) | null): (SDKHandle) | null
Swift declaration
func member(_ object: ObjectType?) -> ObjectType?
method · iOS 6.0+

minus

TypeScript
minus(other: NSHashTable<SDKHandle>): void
Swift declaration
func minus(_ other: NSHashTable<ObjectType>)
method · iOS 6.0+

objectEnumerator

TypeScript
objectEnumerator(): NSEnumerator
Swift declaration
func objectEnumerator() -> NSEnumerator
method · iOS 6.0+

removeAllObjects

TypeScript
removeAllObjects(): void
Swift declaration
func removeAllObjects()
method · iOS 6.0+

remove

TypeScript
remove(object?: (SDKHandle) | null): void
Swift declaration
func remove(_ object: ObjectType?)
method · iOS 6.0+

union

TypeScript
union(other: NSHashTable<SDKHandle>): void
Swift declaration
func union(_ other: NSHashTable<ObjectType>)
get · iOS 6.0+

allObjects

TypeScript
get allObjects(): Array<SDKHandle>
Swift declaration
var allObjects: [ObjectType] { get }
get · iOS 6.0+

anyObject

TypeScript
get anyObject(): (SDKHandle) | null
Swift declaration
var anyObject: ObjectType? { get }
get · iOS 6.0+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get }
get · iOS 6.0+

pointerFunctions

TypeScript
get pointerFunctions(): NSPointerFunctions
Swift declaration
@NSCopying var pointerFunctions: NSPointerFunctions { get }
get · iOS 6.0+

setRepresentation

TypeScript
get setRepresentation(): Array<unknown>
Swift declaration
var setRepresentation: Set<AnyHashable> { get }
init · iOS 6.0+

init

TypeScript
static initKeyOptionsValueOptions(keyOptions?: NSPointerFunctions_Options, valueOptions?: NSPointerFunctions_Options): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
init(keyOptions: NSPointerFunctions.Options = [], valueOptions: NSPointerFunctions.Options = [])
static · iOS 6.0+

strongToStrongObjects

TypeScript
static strongToStrongObjects(): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
class func strongToStrongObjects() -> NSMapTable<KeyType, ObjectType>
static · iOS 6.0+

strongToWeakObjects

TypeScript
static strongToWeakObjects(): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
class func strongToWeakObjects() -> NSMapTable<KeyType, ObjectType>
static · iOS 6.0+

weakToStrongObjects

TypeScript
static weakToStrongObjects(): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
class func weakToStrongObjects() -> NSMapTable<KeyType, ObjectType>
static · iOS 6.0+

weakToWeakObjects

TypeScript
static weakToWeakObjects(): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
class func weakToWeakObjects() -> NSMapTable<KeyType, ObjectType>
method · iOS 6.0+

dictionaryRepresentation

TypeScript
dictionaryRepresentation(): NativeMap<unknown, SDKHandle>
Swift declaration
func dictionaryRepresentation() -> [AnyHashable : ObjectType]
init

init

TypeScript
static init(): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
init()
init · iOS 6.0+

init

TypeScript
static initKeyOptionsValueOptionsCapacity(keyOptions: NSPointerFunctions_Options, valueOptions: NSPointerFunctions_Options, initialCapacity: number): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
init(keyOptions: NSPointerFunctions.Options = [], valueOptions: NSPointerFunctions.Options = [], capacity initialCapacity: Int)
init · iOS 6.0+

init

TypeScript
static initKeyPointerFunctionsValuePointerFunctionsCapacity(keyFunctions: NSPointerFunctions, valueFunctions: NSPointerFunctions, initialCapacity: number): NSMapTable<SDKHandle, SDKHandle>
Swift declaration
init(keyPointerFunctions keyFunctions: NSPointerFunctions, valuePointerFunctions valueFunctions: NSPointerFunctions, capacity initialCapacity: Int)
method · iOS 6.0+

keyEnumerator

TypeScript
keyEnumerator(): NSEnumerator
Swift declaration
func keyEnumerator() -> NSEnumerator
method · iOS 6.0+

objectEnumerator

TypeScript
objectEnumerator(): (NSEnumerator) | null
Swift declaration
func objectEnumerator() -> NSEnumerator?
method · iOS 6.0+

object

TypeScript
object(aKey?: (SDKHandle) | null): (SDKHandle) | null
Swift declaration
func object(forKey aKey: KeyType?) -> ObjectType?
method · iOS 6.0+

removeAllObjects

TypeScript
removeAllObjects(): void
Swift declaration
func removeAllObjects()
method · iOS 6.0+

removeObject

TypeScript
removeObject(aKey?: (SDKHandle) | null): void
Swift declaration
func removeObject(forKey aKey: KeyType?)
method · iOS 6.0+

setObject

TypeScript
setObject(anObject?: (SDKHandle) | null, aKey?: (SDKHandle) | null): void
Swift declaration
func setObject(_ anObject: ObjectType?, forKey aKey: KeyType?)
get · iOS 6.0+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get }
get · iOS 6.0+

keyPointerFunctions

TypeScript
get keyPointerFunctions(): NSPointerFunctions
Swift declaration
@NSCopying var keyPointerFunctions: NSPointerFunctions { get }
get · iOS 6.0+

valuePointerFunctions

TypeScript
get valuePointerFunctions(): NSPointerFunctions
Swift declaration
@NSCopying var valuePointerFunctions: NSPointerFunctions { get }
static

automaticallyNotifiesObservers

TypeScript
static automaticallyNotifiesObservers(key: string): boolean
Swift declaration
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
static

cancelPreviousPerformRequests

TypeScript
static cancelPreviousPerformRequests(aTarget: unknown): void
Swift declaration
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
static

classFallbacksForKeyedArchiver

TypeScript
static classFallbacksForKeyedArchiver(): Array<string>
Swift declaration
class func classFallbacksForKeyedArchiver() -> [String]
static

classForKeyedUnarchiver

TypeScript
static classForKeyedUnarchiver(): string
Swift declaration
class func classForKeyedUnarchiver() -> AnyClass
static · iOS 2.0+

keyPathsForValuesAffectingValue

TypeScript
static keyPathsForValuesAffectingValue(key: string): Array<string>
Swift declaration
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
static

setVersion

TypeScript
static setVersion(aVersion: number): void
Swift declaration
class func setVersion(_ aVersion: Int)
static

version

TypeScript
static version(): number
Swift declaration
class func version() -> Int
get

accessInstanceVariablesDirectly

TypeScript
static get accessInstanceVariablesDirectly(): boolean
Swift declaration
class var accessInstanceVariablesDirectly: Bool { get }
method

addObserver

TypeScript
addObserver(observer: _ObjectiveC_NSObject, keyPath: string, options?: NSKeyValueObservingOptions, context?: (SDKHandle) | null): void
Swift declaration
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options: NSKeyValueObservingOptions = [], context: UnsafeMutableRawPointer?)
method

attemptRecovery

TypeScript
attemptRecovery(error: NativeError, recoveryOptionIndex: number): boolean
Swift declaration
func attemptRecovery(fromError error: any Error, optionIndex recoveryOptionIndex: Int) -> Bool
method

awakeAfter

TypeScript
awakeAfter(coder: NSCoder): (unknown) | null
Swift declaration
func awakeAfter(using coder: NSCoder) -> Any?
method

dictionaryWithValues

TypeScript
dictionaryWithValues(keys: Array<string>): Record<string, unknown>
Swift declaration
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
method

didChange

TypeScript
didChange(changeKind: NSKeyValueChange, indexes: IndexSet, key: string): void
Swift declaration
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
method

didChangeValue

TypeScript
didChangeValueForKey(key: string): void
Swift declaration
func didChangeValue(forKey key: String)
method

didChangeValue

TypeScript
didChangeValueForKeyWithSetMutationUsing(key: string, mutationKind: NSKeyValueSetMutationKind, objects: Array<unknown>): void
Swift declaration
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
method

mutableArrayValue

TypeScript
mutableArrayValueForKey(key: string): NSMutableArray
Swift declaration
func mutableArrayValue(forKey key: String) -> NSMutableArray
method

mutableArrayValue

TypeScript
mutableArrayValueForKeyPath(keyPath: string): NSMutableArray
Swift declaration
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
method · iOS 5.0+

mutableOrderedSetValue

TypeScript
mutableOrderedSetValueForKey(key: string): NSMutableOrderedSet
Swift declaration
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
method · iOS 5.0+

mutableOrderedSetValue

TypeScript
mutableOrderedSetValueForKeyPath(keyPath: string): NSMutableOrderedSet
Swift declaration
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
method

mutableSetValue

TypeScript
mutableSetValueForKey(key: string): NSMutableSet
Swift declaration
func mutableSetValue(forKey key: String) -> NSMutableSet
method

mutableSetValue

TypeScript
mutableSetValueForKeyPath(keyPath: string): NSMutableSet
Swift declaration
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
method

observeValue

TypeScript
observeValue(keyPath?: (string) | null, object?: (unknown) | null, change?: (NativeMap<NSKeyValueChangeKey, unknown>) | null, context?: (SDKHandle) | null): void
Swift declaration
func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
method

removeObserver

TypeScript
removeObserverForKeyPath(observer: _ObjectiveC_NSObject, keyPath: string): void
Swift declaration
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
method · iOS 5.0+

removeObserver

TypeScript
removeObserverForKeyPathContext(observer: _ObjectiveC_NSObject, keyPath: string, context?: (SDKHandle) | null): void
Swift declaration
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context: UnsafeMutableRawPointer?)
method

replacementObject

TypeScript
replacementObjectFor(coder: NSCoder): (unknown) | null
Swift declaration
func replacementObject(for coder: NSCoder) -> Any?
method

replacementObject

TypeScript
replacementObjectFor15764(archiver: NSKeyedArchiver): (unknown) | null
Swift declaration
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
method

setNilValueForKey

TypeScript
setNilValueForKey(key: string): void
Swift declaration
func setNilValueForKey(_ key: String)
method · iOS 18.0+

setSharedObservers

TypeScript
setSharedObservers(sharedObservers?: (NSKeyValueSharedObserversSnapshot) | null): void
Swift declaration
func setSharedObservers(_ sharedObservers: NSKeyValueSharedObserversSnapshot?)
method

setValue

TypeScript
setValueForKey(value: (unknown) | null, key: string): void
Swift declaration
func setValue(_ value: Any?, forKey key: String)
method

setValue

TypeScript
setValueForKeyPath(value: (unknown) | null, keyPath: string): void
Swift declaration
func setValue(_ value: Any?, forKeyPath keyPath: String)
method

setValue

TypeScript
setValueForUndefinedKey(value: (unknown) | null, key: string): void
Swift declaration
func setValue(_ value: Any?, forUndefinedKey key: String)
method

setValuesForKeys

TypeScript
setValuesForKeys(keyedValues: Record<string, unknown>): void
Swift declaration
func setValuesForKeys(_ keyedValues: [String : Any])
method

validateValue

TypeScript
validateValueForKey(inKey: string): { $ret: null; $out: { "ioValue": (unknown) | null } }
Swift declaration
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws

Omit the output parameters from the call. The result contains $ret and $out, with ioValue inside $out.

method

validateValue

TypeScript
validateValueForKeyPath(inKeyPath: string): { $ret: null; $out: { "ioValue": (unknown) | null } }
Swift declaration
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws

Omit the output parameters from the call. The result contains $ret and $out, with ioValue inside $out.

method

value

TypeScript
valueForKey(key: string): (unknown) | null
Swift declaration
func value(forKey key: String) -> Any?
method

value

TypeScript
valueForKeyPath(keyPath: string): (unknown) | null
Swift declaration
func value(forKeyPath keyPath: String) -> Any?
method

value

TypeScript
valueForUndefinedKey(key: string): (unknown) | null
Swift declaration
func value(forUndefinedKey key: String) -> Any?
method

willChange

TypeScript
willChange(changeKind: NSKeyValueChange, indexes: IndexSet, key: string): void
Swift declaration
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
method

willChangeValue

TypeScript
willChangeValueForKey(key: string): void
Swift declaration
func willChangeValue(forKey key: String)
method

willChangeValue

TypeScript
willChangeValueForKeyWithSetMutationUsing(key: string, mutationKind: NSKeyValueSetMutationKind, objects: Array<unknown>): void
Swift declaration
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
get · iOS 4.0+

autoContentAccessingProxy

TypeScript
get autoContentAccessingProxy(): unknown
Swift declaration
var autoContentAccessingProxy: Any { get }
get

classForCoder

TypeScript
get classForCoder(): string
Swift declaration
var classForCoder: AnyClass { get }
get

classForKeyedArchiver

TypeScript
get classForKeyedArchiver(): (string) | null
Swift declaration
var classForKeyedArchiver: AnyClass? { get }
get

observationInfo

TypeScript
get observationInfo(): (SDKHandle) | null
Swift declaration
var observationInfo: UnsafeMutableRawPointer? { get set }
set

observationInfo

TypeScript
set observationInfo(value: (SDKHandle) | null)
Swift declaration
var observationInfo: UnsafeMutableRawPointer? { get set }
get · iOS 18.0+

expression

TypeScript
get expression(): SDKHandle
Swift declaration
let expression: any StandardPredicateExpression<Output>
get · iOS 18.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 18.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

get · iOS 8.0+

NSNotFound

TypeScript
const NSNotFound57811: number
Swift declaration
let NSNotFound: Int
get · iOS 10.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 10.0+

customMirror

TypeScript
get customMirror(): SDKHandle
Swift declaration
var customMirror: Mirror { get }

The custom mirror for this instance. If this type has value semantics, the mirror should be unaffected by subsequent mutations of the instance.

get · iOS 10.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

get · iOS 10.0+

unit

TypeScript
get unit(): Unit
Swift declaration
let unit: UnitType

The unit component of the measurement.

init · iOS 10.0+

init

TypeScript
static init(value: number, unit: Unit): Measurement<Unit>
Swift declaration
init(value: Double, unit: UnitType)

Create a `Measurement` given a specified value and unit. - Parameters: - value: The double-precision floating-point measurement value. - unit: The unit of measure.

get · iOS 10.0+

value

TypeScript
get value(): number
Swift declaration
var value: Double

The value component of the measurement.

set · iOS 10.0+

value

TypeScript
set value(value: number)
Swift declaration
var value: Double

The value component of the measurement.

get · iOS 15.0+

numberFormatStyle

TypeScript
get numberFormatStyle(): (FloatingPointFormatStyle<number>) | null
Swift declaration
var numberFormatStyle: FloatingPointFormatStyle<Double>?

Specifies how the value part is formatted.

set · iOS 15.0+

numberFormatStyle

TypeScript
set numberFormatStyle(value: (FloatingPointFormatStyle<number>) | null)
Swift declaration
var numberFormatStyle: FloatingPointFormatStyle<Double>?

Specifies how the value part is formatted.

get · iOS 15.0+

attributed

TypeScript
get attributed(): Measurement_AttributedStyle<Dimension>
Swift declaration
var attributed: Measurement<UnitType>.AttributedStyle { get }

The attributed style for the measurement format style.

get · iOS 15.0+

usage

TypeScript
get usage(): (MeasurementFormatUnitUsage<Dimension>) | null
Swift declaration
var usage: MeasurementFormatUnitUsage<UnitType>?

The intended purpose of the formatted measurement. You can use the `usage` property to specify the intended purpose of the formatted measurement. The default option, `general`, formats the measurement with the default unit for the current locale. The `asProvided` option formats the measurement using the specified unit, ignoring the unit that the locale uses. ```swift let temperature = Measurement<UnitTemperature>(value: 36.8, unit: .celsius) temperature.formatted() // 98°F temperature.formatted(.measurement(width: .abbreviated, usage: .asProvided)) // 36.8°C ``` All unit types have `general` and `asProvided` options. Some subclasses have additional options, such as the following: - `UnitTemperature`: `person`, `weather` - `UnitLength`: `person`, `personHeight`, `road` - `UnitEnergy`: `food`, `workout` - `UnitMass`: `personWeight`

set · iOS 15.0+

usage

TypeScript
set usage(value: (MeasurementFormatUnitUsage<Dimension>) | null)
Swift declaration
var usage: MeasurementFormatUnitUsage<UnitType>?

The intended purpose of the formatted measurement. You can use the `usage` property to specify the intended purpose of the formatted measurement. The default option, `general`, formats the measurement with the default unit for the current locale. The `asProvided` option formats the measurement using the specified unit, ignoring the unit that the locale uses. ```swift let temperature = Measurement<UnitTemperature>(value: 36.8, unit: .celsius) temperature.formatted() // 98°F temperature.formatted(.measurement(width: .abbreviated, usage: .asProvided)) // 36.8°C ``` All unit types have `general` and `asProvided` options. Some subclasses have additional options, such as the following: - `UnitTemperature`: `person`, `weather` - `UnitLength`: `person`, `personHeight`, `road` - `UnitEnergy`: `food`, `workout` - `UnitMass`: `personWeight`

init · iOS 15.0+

init

TypeScript
static initWidthLocaleUsageNumberFormatStyle(width: Measurement_FormatStyle_UnitWidth<Dimension>, locale?: Locale, usage?: MeasurementFormatUnitUsage<Dimension>, numberFormatStyle?: (FloatingPointFormatStyle<number>) | null): Measurement_FormatStyle<Dimension>
Swift declaration
init(width: Measurement<UnitType>.FormatStyle.UnitWidth, locale: Locale = .autoupdatingCurrent, usage: MeasurementFormatUnitUsage<UnitType> = .general, numberFormatStyle: FloatingPointFormatStyle<Double>? = nil)

Creates an instance using the provided width, locale, usage type, and number format. - Parameters: - width: The width of the measurement unit. - locale: The locale to use when formatting the measurement. - usage: The intended purpose of the formatted measurement. - numberFormatStyle: The presentation style of the numeric value.

get · iOS 15.0+

width

TypeScript
get width(): Measurement_FormatStyle_UnitWidth<Dimension>
Swift declaration
var width: Measurement<UnitType>.FormatStyle.UnitWidth

The width of the measurement unit. The `width` property specifies the display of the measurement unit. The possible values are `abbreviated`, `narrow`, and `wide`. ```swift let temp = Measurement<UnitTemperature>(value: 100, unit: .fahrenheit) temp.formatted(.measurement(width: .wide)) // 100 degrees Fahrenheit temp.formatted(.measurement(width: .abbreviated)) // 100°F temp.formatted(.measurement(width: .narrow)) // 100° ```

set · iOS 15.0+

width

TypeScript
set width(value: Measurement_FormatStyle_UnitWidth<Dimension>)
Swift declaration
var width: Measurement<UnitType>.FormatStyle.UnitWidth

The width of the measurement unit. The `width` property specifies the display of the measurement unit. The possible values are `abbreviated`, `narrow`, and `wide`. ```swift let temp = Measurement<UnitTemperature>(value: 100, unit: .fahrenheit) temp.formatted(.measurement(width: .wide)) // 100 degrees Fahrenheit temp.formatted(.measurement(width: .abbreviated)) // 100°F temp.formatted(.measurement(width: .narrow)) // 100° ```

method · iOS 15.0+

format

TypeScript
format(measurement: Measurement<Dimension>): string
Swift declaration
func format(_ measurement: Measurement<UnitType>) -> String

Creates a string representation of a measurement. - Parameter measurement: The measurement value to format. - Returns: A formatted representation of `measurement`, using the properties of this style.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. By default, the format style displays a measurement in the unit that `locale` specifies. The default value is `autoupdatingCurrent`.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. By default, the format style displays a measurement in the unit that `locale` specifies. The default value is `autoupdatingCurrent`.

method · iOS 15.0+

locale

TypeScript
locale26707(locale: Locale): Measurement_FormatStyle<Dimension>
Swift declaration
func locale(_ locale: Locale) -> Measurement<UnitType>.FormatStyle

Modifies the measurement format style to use the specified locale. - Parameter locale: The locale to use when formatting a measurement. - Returns: A measurement format style with the specified locale.

get · iOS 15.0+

abbreviated

TypeScript
static get abbreviated(): Measurement_FormatStyle_UnitWidth<Dimension>
Swift declaration
static var abbreviated: Measurement<UnitType>.FormatStyle.UnitWidth { get }

Shows the unit using abbreviation. For example, "37.20 Cal", "37,2 L"

get · iOS 15.0+

wide

TypeScript
static get wide(): Measurement_FormatStyle_UnitWidth<Dimension>
Swift declaration
static var wide: Measurement<UnitType>.FormatStyle.UnitWidth { get }

Examples for formatting a measurement with value of 37.20: Shows the unit in its full spelling. For example, "37.20 Calories", "37,20 litres"

get · iOS 15.0+

narrow

TypeScript
static get narrow(): Measurement_FormatStyle_UnitWidth<Dimension>
Swift declaration
static var narrow: Measurement<UnitType>.FormatStyle.UnitWidth { get }

Shows the unit in the shortest form possible, and may condense the spacing between the value and the unit. For example, "37.20Cal", "37,2L"

get · iOS 15.0+

hidesScaleName

TypeScript
get hidesScaleName(): boolean
Swift declaration
var hidesScaleName: Bool { get set }

Hides the scale name. For example, "90°" rather than "90°F" or "90°C" with the `narrow` unit width, or "90 degrees" rather than "90 degrees celcius" or "90 degrees fahrenheit" with the `wide` width.

set · iOS 15.0+

hidesScaleName

TypeScript
set hidesScaleName(value: boolean)
Swift declaration
var hidesScaleName: Bool { get set }

Hides the scale name. For example, "90°" rather than "90°F" or "90°C" with the `narrow` unit width, or "90 degrees" rather than "90 degrees celcius" or "90 degrees fahrenheit" with the `wide` width.

init · iOS 15.0+

init

TypeScript
static initWidthLocaleUsageHidesScaleNameNumberFormatStyle(width?: Measurement_FormatStyle_UnitWidth<UnitTemperature>, locale?: Locale, usage?: MeasurementFormatUnitUsage<UnitTemperature>, hidesScaleName?: boolean, numberFormatStyle?: (FloatingPointFormatStyle<number>) | null): Measurement_FormatStyle<UnitTemperature>
Swift declaration
init(width: Measurement<UnitType>.FormatStyle.UnitWidth = .abbreviated, locale: Locale = .autoupdatingCurrent, usage: MeasurementFormatUnitUsage<UnitType> = .general, hidesScaleName: Bool = false, numberFormatStyle: FloatingPointFormatStyle<Double>? = nil)

Creates an instance using the provided width, locale, usage type, number format, and the option to hide the unit name. - Parameters: - width: The width of the measurement unit. - locale: The locale to use when formatting the measurement. - usage: The intended purpose of the formatted measurement. - hidesScaleName: An option to hide the unit name of a measurement. - numberFormatStyle: The presentation style of the numeric value.

get · iOS 16.0+

includesActualByteCount

TypeScript
get includesActualByteCount(): boolean
Swift declaration
var includesActualByteCount: Bool

A Boolean value that indicates whether the format style should include the exact byte count, in addition to expressing it in terms of units. When this value is `true`, a format style produces output like `1 kB (1,024 bytes)`.

set · iOS 16.0+

includesActualByteCount

TypeScript
set includesActualByteCount(value: boolean)
Swift declaration
var includesActualByteCount: Bool

A Boolean value that indicates whether the format style should include the exact byte count, in addition to expressing it in terms of units. When this value is `true`, a format style produces output like `1 kB (1,024 bytes)`.

get · iOS 16.0+

attributed

TypeScript
get attributed(): Measurement_AttributedStyle_ByteCount<UnitInformationStorage>
Swift declaration
var attributed: Measurement<UnitInformationStorage>.AttributedStyle.ByteCount { get }

An attributed format style based on the byte count format style. Use this modifier to create an attributed variant, which formats values as `AttributedString` instances. These attributed strings contain attributes from the `NumberFormatAttributes` attribute scope.

get · iOS 16.0+

allowedUnits

TypeScript
get allowedUnits(): ByteCountFormatStyle_Units
Swift declaration
var allowedUnits: Measurement<UnitInformationStorage>.FormatStyle.ByteCount.Units

The units the format style can use to express the byte count.

set · iOS 16.0+

allowedUnits

TypeScript
set allowedUnits(value: ByteCountFormatStyle_Units)
Swift declaration
var allowedUnits: Measurement<UnitInformationStorage>.FormatStyle.ByteCount.Units

The units the format style can use to express the byte count.

get · iOS 16.0+

spellsOutZero

TypeScript
get spellsOutZero(): boolean
Swift declaration
var spellsOutZero: Bool

A Boolean value that indicates whether the format style should spell out zero-byte values as text. When this value is true, the format style produces output like `Zero kB`.

set · iOS 16.0+

spellsOutZero

TypeScript
set spellsOutZero(value: boolean)
Swift declaration
var spellsOutZero: Bool

A Boolean value that indicates whether the format style should spell out zero-byte values as text. When this value is true, the format style produces output like `Zero kB`.

init · iOS 16.0+

init

TypeScript
static init(style: ByteCountFormatStyle_Style, allowedUnits: ByteCountFormatStyle_Units, spellsOutZero: boolean, includesActualByteCount: boolean, locale: Locale): Measurement_FormatStyle_ByteCount<UnitInformationStorage>
Swift declaration
init(style: Measurement<UnitType>.FormatStyle.ByteCount.Style, allowedUnits: Measurement<UnitType>.FormatStyle.ByteCount.Units, spellsOutZero: Bool, includesActualByteCount: Bool, locale: Locale)

Initializes a byte count format style. - Parameters: - style: The style of byte count to express, such as memory or file system storage. - allowedUnits: The units the format style can use to express the byte count. - spellsOutZero: A Boolean value that indicates whether the format style should spell out zero-byte values as text, like `Zero kB`. - includesActualByteCount: A Boolean value that indicates whether the format style should include the exact byte count, in addition to expressing it in terms of units. For example, `1 kB (1,024 bytes)`. - locale: The locale to use to format the numeric part of the byte count.

get · iOS 16.0+

style

TypeScript
get style(): ByteCountFormatStyle_Style
Swift declaration
var style: Measurement<UnitInformationStorage>.FormatStyle.ByteCount.Style

The style of byte count to express, such as memory or file system storage.

set · iOS 16.0+

style

TypeScript
set style(value: ByteCountFormatStyle_Style)
Swift declaration
var style: Measurement<UnitInformationStorage>.FormatStyle.ByteCount.Style

The style of byte count to express, such as memory or file system storage.

method · iOS 16.0+

format

TypeScript
format(value: Measurement<UnitInformationStorage>): string
Swift declaration
func format(_ value: Measurement<UnitInformationStorage>) -> String

Formats a byte count measurement, using this style. Use this method when you want to create a single style instance, and then use it to format multiple values. ```swift let style = Measurement.FormatStyle.ByteCount( style: .memory, allowedUnits: [.kb], spellsOutZero: true, includesActualByteCount: false, locale: Locale(identifier: "en_US")) let counts: [Measurement] = [ Measurement(value: 0, unit: UnitInformationStorage.bytes), Measurement(value: 1024, unit: UnitInformationStorage.bytes), Measurement(value: 2048, unit: UnitInformationStorage.bytes), ] let formatted = counts.map { style.format($0) } // ["Zero kB", "1 kB", "2 kB"] ``` - Parameter value: The byte count measurement to format. - Returns: A formatted representation of `value`, formatted according to the style's configuration.

get · iOS 16.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale to use to format the numeric part of the byte count. To change the format style's locale, use ``locale(_:)``.

set · iOS 16.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale to use to format the numeric part of the byte count. To change the format style's locale, use ``locale(_:)``.

method · iOS 16.0+

locale

TypeScript
locale79277(locale: Locale): Measurement_FormatStyle_ByteCount<UnitInformationStorage>
Swift declaration
func locale(_ locale: Locale) -> Measurement<UnitType>.FormatStyle.ByteCount

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A format style that uses the specified locale.

subscript · iOS 18.0+

subscript

TypeScript
subscriptDynamicMember(key: SDKHandle): unknown
Swift declaration
subscript<T>(dynamicMember key: WritableKeyPath<Measurement<UnitType>.FormatStyle, T>) -> T { get set }
subscript · iOS 18.0+

subscript

TypeScript
subscriptDynamicMember69514(key: SDKHandle): unknown
Swift declaration
subscript<T>(dynamicMember key: KeyPath<Measurement<UnitType>.FormatStyle, T>) -> T { get }
method · iOS 15.0+

format

TypeScript
format(measurement: Measurement<Dimension>): AttributedString
Swift declaration
func format(_ measurement: Measurement<UnitType>) -> AttributedString

Creates an attributed string representation of a measurement. - Parameter measurement: The measurement value to format. - Returns: An attributed string representation of the measurement.

method · iOS 15.0+

locale

TypeScript
locale(locale: Locale): Measurement_AttributedStyle<Dimension>
Swift declaration
func locale(_ locale: Locale) -> Measurement<UnitType>.AttributedStyle

Modifies the measurement format style to use the specified locale. - Parameter locale: The locale to use when formatting a measurement. - Returns: A measurement format style with the specified locale.

get · iOS 16.0+

includesActualByteCount

TypeScript
get includesActualByteCount(): boolean
Swift declaration
var includesActualByteCount: Bool { get set }

A Boolean value that indicates whether the format style should include the exact byte count, in addition to expressing it in terms of units. When this value is `true`, a format style produces output like `1 kB (1,024 bytes)`.

set · iOS 16.0+

includesActualByteCount

TypeScript
set includesActualByteCount(value: boolean)
Swift declaration
var includesActualByteCount: Bool { get set }

A Boolean value that indicates whether the format style should include the exact byte count, in addition to expressing it in terms of units. When this value is `true`, a format style produces output like `1 kB (1,024 bytes)`.

get · iOS 16.0+

allowedUnits

TypeScript
get allowedUnits(): ByteCountFormatStyle_Units
Swift declaration
var allowedUnits: Measurement<UnitInformationStorage>.AttributedStyle.ByteCount.Units { get set }

The units the format style can use to express the byte count.

set · iOS 16.0+

allowedUnits

TypeScript
set allowedUnits(value: ByteCountFormatStyle_Units)
Swift declaration
var allowedUnits: Measurement<UnitInformationStorage>.AttributedStyle.ByteCount.Units { get set }

The units the format style can use to express the byte count.

get · iOS 16.0+

spellsOutZero

TypeScript
get spellsOutZero(): boolean
Swift declaration
var spellsOutZero: Bool { get set }

A Boolean value that indicates whether the format style should spell out zero-byte values as text. When this value is true, the format style produces output like `Zero kB`.

set · iOS 16.0+

spellsOutZero

TypeScript
set spellsOutZero(value: boolean)
Swift declaration
var spellsOutZero: Bool { get set }

A Boolean value that indicates whether the format style should spell out zero-byte values as text. When this value is true, the format style produces output like `Zero kB`.

init · iOS 16.0+

init

TypeScript
static init(style: ByteCountFormatStyle_Style, allowedUnits: ByteCountFormatStyle_Units, spellsOutZero: boolean, includesActualByteCount: boolean, locale: Locale): Measurement_AttributedStyle_ByteCount<UnitInformationStorage>
Swift declaration
init(style: Measurement<UnitType>.AttributedStyle.ByteCount.Style, allowedUnits: Measurement<UnitType>.AttributedStyle.ByteCount.Units, spellsOutZero: Bool, includesActualByteCount: Bool, locale: Locale)

Initializes an attributed byte count format style. - Parameters: - style: The style of byte count to express, such as memory or file system storage. - allowedUnits: The units the format style can use to express the byte count. - spellsOutZero: A Boolean value that indicates whether the format style should spell out zero-byte values as text, like `Zero kB`. - includesActualByteCount: A Boolean value that indicates whether the format style should include the exact byte count, in addition to expressing it in terms of units. For example, `1 kB (1,024 bytes)`. - locale: The locale to use to format the numeric part of the byte count.

get · iOS 16.0+

style

TypeScript
get style(): ByteCountFormatStyle_Style
Swift declaration
var style: Measurement<UnitInformationStorage>.AttributedStyle.ByteCount.Style { get set }

The style of byte count to express, such as memory or file system storage.

set · iOS 16.0+

style

TypeScript
set style(value: ByteCountFormatStyle_Style)
Swift declaration
var style: Measurement<UnitInformationStorage>.AttributedStyle.ByteCount.Style { get set }

The style of byte count to express, such as memory or file system storage.

method · iOS 16.0+

format

TypeScript
format(value: Measurement<UnitInformationStorage>): AttributedString
Swift declaration
func format(_ value: Measurement<UnitInformationStorage>) -> AttributedString

Formats a byte count measurement as an attributed string, using this style. - Parameter value: The byte count measurement to format. - Returns: A formatted attributed string representation of `value`.

get · iOS 16.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale { get set }

The locale to use to format the numeric part of the byte count. To change the format style's locale, use ``FormatStyle/locale(_:)``.

set · iOS 16.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale { get set }

The locale to use to format the numeric part of the byte count. To change the format style's locale, use ``FormatStyle/locale(_:)``.

method · iOS 16.0+

locale

TypeScript
locale776(locale: Locale): Measurement_AttributedStyle_ByteCount<UnitInformationStorage>
Swift declaration
func locale(_ locale: Locale) -> Measurement<UnitType>.AttributedStyle.ByteCount

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A format style that uses the specified locale.

method · iOS 10.0+

convert

TypeScript
convert(otherUnit: Dimension): void
Swift declaration
mutating func convert(to otherUnit: UnitType)

Converts the measurement to the specified unit. - Parameter otherUnit: A unit of the same `Dimension`.

method · iOS 10.0+

converted

TypeScript
converted(otherUnit: Dimension): Measurement<Dimension>
Swift declaration
func converted(to otherUnit: UnitType) -> Measurement<UnitType>

Returns a new measurement created by converting to the specified unit. - Parameter otherUnit: A unit of the same `Dimension`. - Returns: A converted measurement.

method · iOS 15.0+

formatted

TypeScript
formatted(): string
Swift declaration
func formatted() -> String

Generates a locale-aware string representation of a measurement using the default measurement format style. Use the `formatted()` method to apply the default format style to a measurement, such as in the following example: ```swift let string = Measurement<UnitTemperature>(value: 38, unit: .celsius).formatted() // For locale: en_US: 100.4°F ``` The default measurement format style uses an ``Measurement/FormatStyle/UnitWidth/abbreviated`` unit width, the general usage type, and the default number format style. To customize the formatted measurement string, use the ``Measurement/formatted(_:)`` method and include a ``Measurement/FormatStyle``. - Returns: A string, formatted according to the default style.

get · iOS 17.0+

stringComparator

TypeScript
get stringComparator(): (String_StandardComparator) | null
Swift declaration
var stringComparator: String.StandardComparator? { get }

A `String.StandardComparator` value. This property is non-`nil` when the `SortDescriptor` value is created with one.

get · iOS 15.0+

order

TypeScript
get order(): SortOrder
Swift declaration
var order: SortOrder

The sort order that the sort descriptor uses to compare.

set · iOS 15.0+

order

TypeScript
set order(value: SortOrder)
Swift declaration
var order: SortOrder

The sort order that the sort descriptor uses to compare.

method · iOS 15.0+

compare

TypeScript
compare(lhs: unknown, rhs: unknown): ComparisonResult
Swift declaration
func compare(_ lhs: Compared, _ rhs: Compared) -> ComparisonResult

Provides the relative ordering of two elements. - Parameters: - lhs: The first element to compare. - rhs: The second element to compare. - Returns: The relative ordering between the two elements.

get · iOS 17.0+

keyPath

TypeScript
get keyPath(): (SDKHandle) | null
Swift declaration
var keyPath: PartialKeyPath<Compared>? { get }

The key path to the field for comparison. This value is `nil` when `Compared` is not an NSObject

init · iOS 15.0+

init

TypeScript
static initComparatorOrder(keyPath: (SDKHandle) & (SDKHandle), comparator: String_StandardComparator, order: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard, order: SortOrder) where Compared : NSObject
init · iOS 17.0+

init

TypeScript
static initComparatorOrder8043(keyPath: (SDKHandle) & (SDKHandle), comparator: String_StandardComparator, order: SortOrder): SortDescriptor<unknown>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard, order: SortOrder)
init · iOS 15.0+

init

TypeScript
static initComparatorOrder89753(keyPath: ("browserAccessibilityCurrentStatus" | "browserAccessibilitySortDirection" | "browserAccessibilityRoleDescription" | "browserAccessibilityKeyboardShortcuts" | SDKHandle) & (SDKHandle), comparator: String_StandardComparator, order: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String?> & Sendable, comparator: String.StandardComparator = .localizedStandard, order: SortOrder) where Compared : NSObject
init · iOS 17.0+

init

TypeScript
static initComparatorOrder25433(keyPath: (SDKHandle) & (SDKHandle), comparator: String_StandardComparator, order: SortOrder): SortDescriptor<unknown>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String?> & Sendable, comparator: String.StandardComparator = .localizedStandard, order: SortOrder)
init · iOS 15.0+

init

TypeScript
static initComparator(keyPath: (SDKHandle) & (SDKHandle), comparator?: String_StandardComparator): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard) where Compared : NSObject
init · iOS 17.0+

init

TypeScript
static initComparator24490(keyPath: (SDKHandle) & (SDKHandle), comparator?: String_StandardComparator): SortDescriptor<unknown>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard)
init · iOS 15.0+

init

TypeScript
static initComparator73582(keyPath: ("browserAccessibilityCurrentStatus" | "browserAccessibilitySortDirection" | "browserAccessibilityRoleDescription" | "browserAccessibilityKeyboardShortcuts" | SDKHandle) & (SDKHandle), comparator?: String_StandardComparator): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String?> & Sendable, comparator: String.StandardComparator = .localizedStandard) where Compared : NSObject
init · iOS 17.0+

init

TypeScript
static initComparator40320(keyPath: (SDKHandle) & (SDKHandle), comparator?: String_StandardComparator): SortDescriptor<unknown>
Swift declaration
init(_ keyPath: any KeyPath<Compared, String?> & Sendable, comparator: String.StandardComparator = .localizedStandard)
init · iOS 15.0+

init

TypeScript
static initOrder(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Date> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder55349(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Date?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder9750(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UUID> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder76628(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UUID?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder74(keyPath: ("browserAccessibilityIsRequired" | "browserAccessibilityHasDOMFocus" | SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Bool> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder7888(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Bool?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder58468(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Double> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder67402(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Double?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder97990(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Float> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder99748(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Float?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder14091(keyPath: ("hashValue" | SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder94833(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder43231(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder59277(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder23705(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int8> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder30135(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int8?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder42251(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int16> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder78801(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int16?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder41313(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int32> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder49055(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int32?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder96712(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int64> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder91126(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, Int64?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder80341(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt8> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder35627(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt8?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder16127(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt16> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder10509(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt16?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder62717(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt32> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder11315(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt32?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder83444(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt64> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initOrder50618(keyPath: (SDKHandle) & (SDKHandle), order?: SortOrder): SortDescriptor<_ObjectiveC_NSObject>
Swift declaration
init(_ keyPath: any KeyPath<Compared, UInt64?> & Sendable, order: SortOrder = .forward) where Compared : NSObject
init · iOS 15.0+

init

TypeScript
static initComparing(descriptor: NSSortDescriptor, comparedType: string): (SortDescriptor<_ObjectiveC_NSObject>) | null
Swift declaration
init?(_ descriptor: NSSortDescriptor, comparing comparedType: Compared.Type) where Compared : NSObject

Creates a sort descriptor using a sort descriptor and a type that you specify. Returns `nil` if there isn't a ``SortDescriptor`` equivalent to the ``NSSortDescriptor`` you specify, or if the selector to ``NSSortDescriptor`` isn't one of the standard string comparison algorithms or `compare(_:)`. The comparison for the created ``SortDescriptor`` uses the selector to the associated ``NSSortDescriptor`` directly, so in cases where the comparison of ``NSSortDescriptor`` might crash, the ``SortDescriptor`` comparison crashes as well. - Parameters: - descriptor: A sort descriptor. - comparedType: The type that the sort descriptor compares.

get · iOS 15.0+

rawValue

TypeScript
getRawValue($self: ListFormatStyle_ListType): number
Swift declaration
var rawValue: Int { get }

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

get · iOS 15.0+

rawValue

TypeScript
getRawValue($self: ListFormatStyle_Width): number
Swift declaration
var rawValue: Int { get }

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

get · iOS 15.0+

width

TypeScript
get width(): ListFormatStyle_Width<SDKHandle, SDKHandle>
Swift declaration
var width: ListFormatStyle<Style, Base>.Width

The size of the list. The `width` property controls the size of the list. The ``locale`` determines the formatting and abbreviation of the string for the given `width`. For example, for English: ```swift ["One", "Two", "Three"].formatted(.list(type: .and, width: .standard)) // "One, Two, and Three" ["One", "Two", "Three"].formatted(.list(type: .and, width: .short)) // "One, Two, & Three" ["One", "Two", "Three"].formatted(.list(type: .and, width: .narrow)) // "One, Two, Three" ``` The default value is ``Width/standard``.

set · iOS 15.0+

width

TypeScript
set width(value: ListFormatStyle_Width<SDKHandle, SDKHandle>)
Swift declaration
var width: ListFormatStyle<Style, Base>.Width

The size of the list. The `width` property controls the size of the list. The ``locale`` determines the formatting and abbreviation of the string for the given `width`. For example, for English: ```swift ["One", "Two", "Three"].formatted(.list(type: .and, width: .standard)) // "One, Two, and Three" ["One", "Two", "Three"].formatted(.list(type: .and, width: .short)) // "One, Two, & Three" ["One", "Two", "Three"].formatted(.list(type: .and, width: .narrow)) // "One, Two, Three" ``` The default value is ``Width/standard``.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale to use when formatting items in the list. A `Locale` instance is typically used to provide, format, and interpret information about and according to the user's customs and preferences. Examples include ISO region and language codes, currency code, calendar, system of measurement, and decimal separator. The default value is `Locale.autoupdatingCurrent`. If you set this property to `nil`, the formatter resets to using `autoupdatingCurrent`.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale to use when formatting items in the list. A `Locale` instance is typically used to provide, format, and interpret information about and according to the user's customs and preferences. Examples include ISO region and language codes, currency code, calendar, system of measurement, and decimal separator. The default value is `Locale.autoupdatingCurrent`. If you set this property to `nil`, the formatter resets to using `autoupdatingCurrent`.

method · iOS 15.0+

locale

TypeScript
locale72199(locale: Locale): ListFormatStyle<SDKHandle, SDKHandle>
Swift declaration
func locale(_ locale: Locale) -> ListFormatStyle<Style, Base>

Modifies the list format style to use the specified locale. - Parameter locale: The locale to use when formatting items in the list. - Returns: A list format style with the provided locale.

get · iOS 15.0+

listType

TypeScript
get listType(): ListFormatStyle_ListType<SDKHandle, SDKHandle>
Swift declaration
var listType: ListFormatStyle<Style, Base>.ListType

The type of the list. The list type determines the semantics used in the return string. For example, for en\_US: ```swift ["One", "Two", "Three"].formatted(.list(type: .and)) // "One, Two, and Three" ["One", "Two", "Three"].formatted(.list(type: .or)) // "One, Two, or Three" ``` The default value is ``ListType/and``.

set · iOS 15.0+

listType

TypeScript
set listType(value: ListFormatStyle_ListType<SDKHandle, SDKHandle>)
Swift declaration
var listType: ListFormatStyle<Style, Base>.ListType

The type of the list. The list type determines the semantics used in the return string. For example, for en\_US: ```swift ["One", "Two", "Three"].formatted(.list(type: .and)) // "One, Two, and Three" ["One", "Two", "Three"].formatted(.list(type: .or)) // "One, Two, or Three" ``` The default value is ``ListType/and``.

get · iOS 15.0+

range

TypeScript
get range(): SDKHandle
Swift declaration
var range: Range<AttributedString.Index>

The range of the attribute in the attributed string. Use this property to examine or alter the range that the attribute applies to.

set · iOS 15.0+

range

TypeScript
set range(value: SDKHandle)
Swift declaration
var range: Range<AttributedString.Index>

The range of the attribute in the attributed string. Use this property to examine or alter the range that the attribute applies to.

get · iOS 15.0+

value

TypeScript
get value(): (number) | null
Swift declaration
var value: T.Value? { get set }

The value of the attribute. Use this property to examine or alter the attribute value.

set · iOS 15.0+

value

TypeScript
set value(value: (number) | null)
Swift declaration
var value: T.Value? { get set }

The value of the attribute. Use this property to examine or alter the attribute value.

get · iOS 15.0+

startIndex

TypeScript
get startIndex(): AttributedString_Index
Swift declaration
var startIndex: AttributedString.Runs.AttributesSlice1<T>.Index { get }

The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.

method · iOS 15.0+

makeIterator

TypeScript
makeIterator(): AttributedString_Runs_AttributesSlice1_Iterator<SDKHandle>
Swift declaration
func makeIterator() -> AttributedString.Runs.AttributesSlice1<T>.Iterator

Returns an iterator over the elements of the collection.

method · iOS 15.0+

index

TypeScript
indexAfter(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(after i: AttributedString.Runs.AttributesSlice1<T>.Index) -> AttributedString.Runs.AttributesSlice1<T>.Index

Returns the position immediately after the given index. The successor of an index must be well defined. For an index `i` into a collection `c`, calling `c.index(after: i)` returns the same index every time. - Parameter i: A valid index of the collection. `i` must be less than `endIndex`. - Returns: The index value immediately after `i`.

method · iOS 15.0+

index

TypeScript
indexBefore(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(before i: AttributedString.Runs.AttributesSlice1<T>.Index) -> AttributedString.Runs.AttributesSlice1<T>.Index

Returns the position immediately before the given index. - Parameter i: A valid index of the collection. `i` must be greater than `startIndex`. - Returns: The index value immediately before `i`.

method · iOS 15.0+

next

TypeScript
next(): ([(SDKHandle) | null, SDKHandle]) | null
Swift declaration
mutating func next() -> AttributedString.Runs.AttributesSlice1<T>.Iterator.Element?

Advances to the next element and returns it, or `nil` if no next element exists. Repeatedly calling this method returns, in order, all the elements of the underlying sequence. As soon as the sequence has run out of elements, all subsequent calls return `nil`. You must not call this method if any other copy of this iterator has been advanced with a call to its `next()` method. The following example shows how an iterator can be used explicitly to emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and then call the iterator's `next()` method until it returns `nil`. let numbers = [2, 3, 5, 7] var numbersIterator = numbers.makeIterator() while let num = numbersIterator.next() { print(num) } // Prints "2" // Prints "3" // Prints "5" // Prints "7" - Returns: The next element in the underlying sequence, if a next element exists; otherwise, `nil`.

get · iOS 15.0+

endIndex

TypeScript
get endIndex(): AttributedString_Index
Swift declaration
var endIndex: AttributedString.Runs.AttributesSlice1<T>.Index { get }

The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.

subscript · iOS 15.0+

subscript

TypeScript
subscript(position: AttributedString_Index): [(SDKHandle) | null, SDKHandle]
Swift declaration
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice1<T>.Element { get }

Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)

get · iOS 15.0+

startIndex

TypeScript
get startIndex(): AttributedString_Index
Swift declaration
var startIndex: AttributedString.Runs.AttributesSlice2<T, U>.Index { get }

The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.

method · iOS 15.0+

makeIterator

TypeScript
makeIterator(): AttributedString_Runs_AttributesSlice2_Iterator<SDKHandle, SDKHandle>
Swift declaration
func makeIterator() -> AttributedString.Runs.AttributesSlice2<T, U>.Iterator

Returns an iterator over the elements of the collection.

method · iOS 15.0+

index

TypeScript
indexAfter(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(after i: AttributedString.Runs.AttributesSlice2<T, U>.Index) -> AttributedString.Runs.AttributesSlice2<T, U>.Index

Returns the position immediately after the given index. The successor of an index must be well defined. For an index `i` into a collection `c`, calling `c.index(after: i)` returns the same index every time. - Parameter i: A valid index of the collection. `i` must be less than `endIndex`. - Returns: The index value immediately after `i`.

method · iOS 15.0+

index

TypeScript
indexBefore(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(before i: AttributedString.Runs.AttributesSlice2<T, U>.Index) -> AttributedString.Runs.AttributesSlice2<T, U>.Index

Returns the position immediately before the given index. - Parameter i: A valid index of the collection. `i` must be greater than `startIndex`. - Returns: The index value immediately before `i`.

method · iOS 15.0+

next

TypeScript
next(): ([(SDKHandle) | null, (SDKHandle) | null, SDKHandle]) | null
Swift declaration
mutating func next() -> AttributedString.Runs.AttributesSlice2<T, U>.Iterator.Element?

Advances to the next element and returns it, or `nil` if no next element exists. Repeatedly calling this method returns, in order, all the elements of the underlying sequence. As soon as the sequence has run out of elements, all subsequent calls return `nil`. You must not call this method if any other copy of this iterator has been advanced with a call to its `next()` method. The following example shows how an iterator can be used explicitly to emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and then call the iterator's `next()` method until it returns `nil`. let numbers = [2, 3, 5, 7] var numbersIterator = numbers.makeIterator() while let num = numbersIterator.next() { print(num) } // Prints "2" // Prints "3" // Prints "5" // Prints "7" - Returns: The next element in the underlying sequence, if a next element exists; otherwise, `nil`.

get · iOS 15.0+

endIndex

TypeScript
get endIndex(): AttributedString_Index
Swift declaration
var endIndex: AttributedString.Runs.AttributesSlice2<T, U>.Index { get }

The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.

subscript · iOS 15.0+

subscript

TypeScript
subscript(position: AttributedString_Index): [(SDKHandle) | null, (SDKHandle) | null, SDKHandle]
Swift declaration
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice2<T, U>.Element { get }

Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)

get · iOS 15.0+

startIndex

TypeScript
get startIndex(): AttributedString_Index
Swift declaration
var startIndex: AttributedString.Runs.AttributesSlice3<T, U, V>.Index { get }

The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.

method · iOS 15.0+

makeIterator

TypeScript
makeIterator(): AttributedString_Runs_AttributesSlice3_Iterator<SDKHandle, SDKHandle, SDKHandle>
Swift declaration
func makeIterator() -> AttributedString.Runs.AttributesSlice3<T, U, V>.Iterator

Returns an iterator over the elements of the collection.

method · iOS 15.0+

index

TypeScript
indexAfter(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(after i: AttributedString.Runs.AttributesSlice3<T, U, V>.Index) -> AttributedString.Runs.AttributesSlice3<T, U, V>.Index

Returns the position immediately after the given index. The successor of an index must be well defined. For an index `i` into a collection `c`, calling `c.index(after: i)` returns the same index every time. - Parameter i: A valid index of the collection. `i` must be less than `endIndex`. - Returns: The index value immediately after `i`.

method · iOS 15.0+

index

TypeScript
indexBefore(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(before i: AttributedString.Runs.AttributesSlice3<T, U, V>.Index) -> AttributedString.Runs.AttributesSlice3<T, U, V>.Index

Returns the position immediately before the given index. - Parameter i: A valid index of the collection. `i` must be greater than `startIndex`. - Returns: The index value immediately before `i`.

method · iOS 15.0+

next

TypeScript
next(): ([(SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, SDKHandle]) | null
Swift declaration
mutating func next() -> AttributedString.Runs.AttributesSlice3<T, U, V>.Iterator.Element?

Advances to the next element and returns it, or `nil` if no next element exists. Repeatedly calling this method returns, in order, all the elements of the underlying sequence. As soon as the sequence has run out of elements, all subsequent calls return `nil`. You must not call this method if any other copy of this iterator has been advanced with a call to its `next()` method. The following example shows how an iterator can be used explicitly to emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and then call the iterator's `next()` method until it returns `nil`. let numbers = [2, 3, 5, 7] var numbersIterator = numbers.makeIterator() while let num = numbersIterator.next() { print(num) } // Prints "2" // Prints "3" // Prints "5" // Prints "7" - Returns: The next element in the underlying sequence, if a next element exists; otherwise, `nil`.

get · iOS 15.0+

endIndex

TypeScript
get endIndex(): AttributedString_Index
Swift declaration
var endIndex: AttributedString.Runs.AttributesSlice3<T, U, V>.Index { get }

The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.

subscript · iOS 15.0+

subscript

TypeScript
subscript(position: AttributedString_Index): [(SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, SDKHandle]
Swift declaration
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice3<T, U, V>.Element { get }

Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)

get · iOS 15.0+

startIndex

TypeScript
get startIndex(): AttributedString_Index
Swift declaration
var startIndex: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index { get }

The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.

method · iOS 15.0+

makeIterator

TypeScript
makeIterator(): AttributedString_Runs_AttributesSlice4_Iterator<SDKHandle, SDKHandle, SDKHandle, SDKHandle>
Swift declaration
func makeIterator() -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Iterator

Returns an iterator over the elements of the collection.

method · iOS 15.0+

index

TypeScript
indexAfter(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(after i: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index

Returns the position immediately after the given index. The successor of an index must be well defined. For an index `i` into a collection `c`, calling `c.index(after: i)` returns the same index every time. - Parameter i: A valid index of the collection. `i` must be less than `endIndex`. - Returns: The index value immediately after `i`.

method · iOS 15.0+

index

TypeScript
indexBefore(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(before i: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index

Returns the position immediately before the given index. - Parameter i: A valid index of the collection. `i` must be greater than `startIndex`. - Returns: The index value immediately before `i`.

method · iOS 15.0+

next

TypeScript
next(): ([(SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, SDKHandle]) | null
Swift declaration
mutating func next() -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Iterator.Element?

Advances to the next element and returns it, or `nil` if no next element exists. Repeatedly calling this method returns, in order, all the elements of the underlying sequence. As soon as the sequence has run out of elements, all subsequent calls return `nil`. You must not call this method if any other copy of this iterator has been advanced with a call to its `next()` method. The following example shows how an iterator can be used explicitly to emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and then call the iterator's `next()` method until it returns `nil`. let numbers = [2, 3, 5, 7] var numbersIterator = numbers.makeIterator() while let num = numbersIterator.next() { print(num) } // Prints "2" // Prints "3" // Prints "5" // Prints "7" - Returns: The next element in the underlying sequence, if a next element exists; otherwise, `nil`.

get · iOS 15.0+

endIndex

TypeScript
get endIndex(): AttributedString_Index
Swift declaration
var endIndex: AttributedString.Runs.AttributesSlice4<T, U, V, W>.Index { get }

The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.

subscript · iOS 15.0+

subscript

TypeScript
subscript(position: AttributedString_Index): [(SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, SDKHandle]
Swift declaration
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice4<T, U, V, W>.Element { get }

Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)

get · iOS 15.0+

startIndex

TypeScript
get startIndex(): AttributedString_Index
Swift declaration
var startIndex: AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Index { get }

The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.

method · iOS 15.0+

makeIterator

TypeScript
makeIterator(): AttributedString_Runs_AttributesSlice5_Iterator<SDKHandle, SDKHandle, SDKHandle, SDKHandle, SDKHandle>
Swift declaration
func makeIterator() -> AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Iterator

Returns an iterator over the elements of the collection.

method · iOS 15.0+

index

TypeScript
indexAfter(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(after i: AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Index) -> AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Index

Returns the position immediately after the given index. The successor of an index must be well defined. For an index `i` into a collection `c`, calling `c.index(after: i)` returns the same index every time. - Parameter i: A valid index of the collection. `i` must be less than `endIndex`. - Returns: The index value immediately after `i`.

method · iOS 15.0+

index

TypeScript
indexBefore(i: AttributedString_Index): AttributedString_Index
Swift declaration
func index(before i: AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Index) -> AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Index

Returns the position immediately before the given index. - Parameter i: A valid index of the collection. `i` must be greater than `startIndex`. - Returns: The index value immediately before `i`.

method · iOS 15.0+

next

TypeScript
next(): ([(SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, SDKHandle]) | null
Swift declaration
mutating func next() -> AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Iterator.Element?

Advances to the next element and returns it, or `nil` if no next element exists. Repeatedly calling this method returns, in order, all the elements of the underlying sequence. As soon as the sequence has run out of elements, all subsequent calls return `nil`. You must not call this method if any other copy of this iterator has been advanced with a call to its `next()` method. The following example shows how an iterator can be used explicitly to emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and then call the iterator's `next()` method until it returns `nil`. let numbers = [2, 3, 5, 7] var numbersIterator = numbers.makeIterator() while let num = numbersIterator.next() { print(num) } // Prints "2" // Prints "3" // Prints "5" // Prints "7" - Returns: The next element in the underlying sequence, if a next element exists; otherwise, `nil`.

get · iOS 15.0+

endIndex

TypeScript
get endIndex(): AttributedString_Index
Swift declaration
var endIndex: AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Index { get }

The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.

subscript · iOS 15.0+

subscript

TypeScript
subscript(position: AttributedString_Index): [(SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, (SDKHandle) | null, SDKHandle]
Swift declaration
subscript(position: AttributedString.Index) -> AttributedString.Runs.AttributesSlice5<T, U, V, W, X>.Element { get }

Accesses the element at the specified position. The following example accesses an element of an array through its subscript to print its value: var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] print(streets[1]) // Prints "Bryant" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)

method · iOS 15.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): AsyncLineSequence_AsyncIterator<SDKHandle>
Swift declaration
func makeAsyncIterator() -> AsyncLineSequence<Base>.AsyncIterator

Creates the asynchronous iterator that produces elements of this asynchronous sequence. - Returns: An instance of the `AsyncIterator` type used to produce elements of the asynchronous sequence.

method · iOS 15.0+

next

TypeScript
next(): Promise<(string) | null>
Swift declaration
mutating func next() async rethrows -> String?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element. - Returns: The next element, if it exists, or `nil` to signal the end of the sequence.

get · iOS 15.0+

keyPath

TypeScript
get keyPath(): (SDKHandle) & (SDKHandle)
Swift declaration
@preconcurrency let keyPath: any PartialKeyPath<Compared> & Sendable

The key path that the comparator uses to compare properties.

get · iOS 15.0+

order

TypeScript
get order(): SortOrder
Swift declaration
var order: SortOrder { get set }

The sort order that the comparator uses to compare properties.

set · iOS 15.0+

order

TypeScript
set order(value: SortOrder)
Swift declaration
var order: SortOrder { get set }

The sort order that the comparator uses to compare properties.

method · iOS 15.0+

compare

TypeScript
compare(lhs: unknown, rhs: unknown): ComparisonResult
Swift declaration
func compare(_ lhs: Compared, _ rhs: Compared) -> ComparisonResult

Provides the relative ordering of two items according to the ordering of the properties that the comparator's key path references. The method returns flipped comparisons if the sort order is ``SortOrder/reverse``. - Parameters: - lhs: The first property to compare. - rhs: The second property to compare. - Returns: The relative ordering for the compared properties.

function · iOS 8.0+

NSLocalizedString

TypeScript
NSLocalizedString(key: string, tableName: (string) | null, bundle: Bundle, value: string, comment: string): string
Swift declaration
func NSLocalizedString(_ key: String, tableName: String? = nil, bundle: Bundle = Bundle.main, value: String = "", comment: String) -> String

Returns the localized version of a string. - parameter key: An identifying value used to reference a localized string. Don't use the empty string as a key. Values keyed by the empty string will not be localized. - parameter tableName: The name of the table containing the localized string identified by `key`. This is the prefix of the strings file—a file with the `.strings` extension—containing the localized values. If `tableName` is `nil` or the empty string, the `Localizable` table is used. - parameter bundle: The bundle containing the table's strings file. The main bundle is used by default. - parameter value: A user-visible string to return when the localized string for `key` cannot be found in the table. If `value` is the empty string, `key` would be returned instead. - parameter comment: A note to the translator describing the context where the localized string is presented to the user. - returns: A localized version of the string designated by `key` in the table identified by `tableName`. If the localized string for `key` cannot be found within the table, `value` is returned. However, `key` is returned instead when `value` is the empty string. Export Localizations with Xcode ------------------------------- Xcode can read through a project's code to find invocations of `NSLocalizedString(_:tableName:bundle:value:comment:)` and automatically generate the appropriate strings files for the project's base localization. In Xcode, open the project file and, in the `Edit` menu, select `Export for Localization`. This will generate an XLIFF bundle containing strings files derived from your code along with other localizable assets. `xcodebuild` can also be used to generate the localization bundle from the command line with the `exportLocalizations` option. xcodebuild -exportLocalizations -project <projectname>.xcodeproj \ -localizationPath <path> These bundles can be sent to translators for localization, and then reimported into your Xcode project. In Xcode, open the project file. In the `Edit` menu, select `Import Localizations...`, and select the XLIFF folder to import. You can also use `xcodebuild` to import localizations with the `importLocalizations` option. xcodebuild -importLocalizations -project <projectname>.xcodeproj \ -localizationPath <path> Choose Meaningful Keys ---------------------- Words can often have multiple different meanings depending on the context in which they're used. For example, the word "Book" can be used as a noun—a printed literary work—and it can be used as a verb—the action of making a reservation. Words with different meanings which share the same spelling are heteronyms. Different languages often have different heteronyms. "Book" in English is one such heteronym, but that's not so in French, where the noun translates to "Livre", and the verb translates to "Réserver". For this reason, it's important make sure that each use of the same phrase is translated appropriately for its context by assigning unique keys to each phrase and adding a description comment describing how that phrase is used. NSLocalizedString("book-tag-title", value: "Book", comment: """ noun: A label attached to literary items in the library. """) NSLocalizedString("book-button-title", value: "Book", comment: """ verb: Title of the button that makes a reservation. """) Use Only String Literals ------------------------ String literal values must be used with `key`, `tableName`, `value`, and `comment`. Xcode does not evaluate interpolated strings and string variables when generating strings files from code. Attempting to localize a string using those language features will cause Xcode to export something that resembles the original code expression instead of its expected value at runtime. Translators would then translate that exported value—leaving international users with a localized string containing code. // Translators will see "1 + 1 = (1 + 1)". // International users will see a localization "1 + 1 = (1 + 1)". let localizedString = NSLocalizedString("string-interpolation", value: "1 + 1 = \(1 + 1)" comment: "A math equation.") To dynamically insert values within localized strings, set `value` to a format string, and use `String.localizedStringWithFormat(_:_:)` to insert those values. // Translators will see "1 + 1 = %d" (they know what "%d" means). // International users will see a localization of "1 + 1 = 2". let format = NSLocalizedString("string-literal", value: "1 + 1 = %d", comment: "A math equation.") let localizedString = String.localizedStringWithFormat(format, (1 + 1)) Multiline string literals are technically supported, but will result in unexpected behavior during internationalization. A newline will be inserted before and after the body of text within the string, and translators will likely preserve those in their internationalizations. To preserve some of the aesthetics of having newlines in the string mirrored in their code representation, string literal concatenation with the `+` operator can be used. NSLocalizedString("multiline-string-literal", value: """ This multiline string literal won't work as expected. An extra newline is added to the beginning and end of the string. """, comment: "The description of a sample of code.") NSLocalizedString("string-literal-contatenation", value: "This string literal concatenated with" + "this other string literal works just fine.", comment: "The description of a sample of code.") Since comments aren't localized, multiline string literals can be safely used with `comment`. Work with Manually Managed Strings ---------------------------------- If having Xcode generate strings files from code isn't desired behavior, call `Bundle.localizedString(forKey:value:table:)` instead. let greeting = Bundle.localizedString(forKey: "program-greeting", value: "Hello, World!", table: "Localization") However, this requires the manual creation and management of that table's strings file. /* Localization.strings */ /* A friendly greeting to the user when the program starts. */ "program-greeting" = "Hello, World!"; - note: Although `NSLocalizedString(_:tableName:bundle:value:comment:)` and `Bundle.localizedString(forKey:value:table:)` can be used in a project at the same time, data from manually managed strings files will be overwritten by Xcode when their table is also used to look up localized strings with `NSLocalizedString(_:tableName:bundle:value:comment:)`.

method · iOS 15.0+

format

TypeScript
format(value: number): AttributedString
Swift declaration
func format(_ value: Value) -> AttributedString

Formats an integer, using this style. Values not representable by `Int64` are clamped. - Parameter value: The integer to format. - Returns: An attributed string representation of `value`, formatted according to the style's configuration. The returned string contains attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope to indicate runs formatted by this format style.

method · iOS 15.0+

locale

TypeScript
locale(locale: Locale): IntegerFormatStyle_Attributed<number>
Swift declaration
func locale(_ locale: Locale) -> IntegerFormatStyle<Value>.Attributed

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A format style that uses the specified locale.

get · iOS 15.0+

attributed

TypeScript
get attributed(): IntegerFormatStyle_Attributed<number>
Swift declaration
var attributed: IntegerFormatStyle<Value>.Attributed { get }

An attributed format style based on the integer format style. Use this modifier to create an ``IntegerFormatStyle/Attributed`` instance, which formats values as ``AttributedString`` instances. These attributed strings contain attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

get · iOS 15.0+

parseStrategy

TypeScript
get parseStrategy(): IntegerParseStrategy<IntegerFormatStyle<number>>
Swift declaration
var parseStrategy: IntegerParseStrategy<IntegerFormatStyle<Value>> { get }

The parse strategy that this format style uses.

method · iOS 15.0+

decimalSeparator

TypeScript
decimalSeparator(strategy: NumberFormatStyleConfiguration_DecimalSeparatorDisplayStrategy): IntegerFormatStyle<number>
Swift declaration
func decimalSeparator(strategy: IntegerFormatStyle<Value>.Configuration.DecimalSeparatorDisplayStrategy) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified decimal separator display strategy. - Parameter strategy: The decimal separator display strategy to apply to the format style. - Returns: An integer format style modified to use the specified decimal separator display strategy.

method · iOS 15.0+

sign

TypeScript
sign(strategy: NumberFormatStyleConfiguration_SignDisplayStrategy): IntegerFormatStyle<number>
Swift declaration
func sign(strategy: IntegerFormatStyle<Value>.Configuration.SignDisplayStrategy) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols. - Parameter strategy: The sign display strategy to apply to the format style. - Returns: An integer format style modified to use the specified sign display strategy.

method · iOS 15.0+

scale

TypeScript
scale(multiplicand: number): IntegerFormatStyle<number>
Swift declaration
func scale(_ multiplicand: Double) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified scale. - Parameter multiplicand: The multiplicand to apply to the format style. - Returns: An integer format style modified to use the specified scale.

method · iOS 15.0+

format

TypeScript
format(value: number): string
Swift declaration
func format(_ value: Value) -> String

Returns a localized string for the given integer value. Supports up to 64-bit signed integer precision. Values not representable by `Int64` are clamped. - Parameter value: The value to be formatted. - Returns: A localized string for the given value.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

init · iOS 15.0+

init

TypeScript
static init(locale?: Locale): IntegerFormatStyle<number>
Swift declaration
init(locale: Locale = .autoupdatingCurrent)

Creates an integer format style that uses the given locale. Create an ``IntegerFormatStyle`` when you intend to apply a given style to multiple integers. The following example creates a style that uses the `en_US` locale, which uses three-based grouping and comma separators. It then applies this style to all the integers in an array. ```swift let enUSstyle = IntegerFormatStyle<Int>(locale: Locale(identifier: "en_US")) let nums = [100, 1000, 10000, 100000, 1000000] let formattedNums = nums.map { enUSstyle.format($0) } // ["100", "1,000", "10,000", "100,000", "1,000,000"] ``` To format a single integer, you can use the `BinaryInteger` instance method `formatted(_:)`, passing in an instance of ``IntegerFormatStyle``. - Parameter locale: The locale to use when formatting or parsing integers. Defaults to `Locale.autoupdatingCurrent`.

method · iOS 15.0+

locale

TypeScript
locale3084(locale: Locale): IntegerFormatStyle<number>
Swift declaration
func locale(_ locale: Locale) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: An integer format style modified to use the provided locale.

get · iOS 15.0+

attributed

TypeScript
get attributed(): IntegerFormatStyle_Attributed<number>
Swift declaration
var attributed: IntegerFormatStyle<Value>.Attributed { get }

An attributed format style based on the integer percent format style. Use this modifier to create an ``IntegerFormatStyle/Attributed`` instance, which formats values as ``AttributedString`` instances. These attributed strings contain attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

get · iOS 15.0+

parseStrategy

TypeScript
get parseStrategy(): IntegerParseStrategy<IntegerFormatStyle_Percent<number>>
Swift declaration
var parseStrategy: IntegerParseStrategy<IntegerFormatStyle<Value>.Percent> { get }

The parse strategy that this format style uses.

method · iOS 15.0+

decimalSeparator

TypeScript
decimalSeparator(strategy: NumberFormatStyleConfiguration_DecimalSeparatorDisplayStrategy): IntegerFormatStyle_Percent<number>
Swift declaration
func decimalSeparator(strategy: IntegerFormatStyle<Value>.Percent.Configuration.DecimalSeparatorDisplayStrategy) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified decimal separator display strategy. - Parameter strategy: The decimal separator display strategy to apply to the format style. - Returns: An integer percent format style modified to use the specified decimal separator display strategy.

method · iOS 15.0+

sign

TypeScript
sign(strategy: NumberFormatStyleConfiguration_SignDisplayStrategy): IntegerFormatStyle_Percent<number>
Swift declaration
func sign(strategy: IntegerFormatStyle<Value>.Percent.Configuration.SignDisplayStrategy) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols. - Parameter strategy: The sign display strategy to apply to the format style. - Returns: An integer percent format style modified to use the specified sign display strategy.

method · iOS 15.0+

scale

TypeScript
scale(multiplicand: number): IntegerFormatStyle_Percent<number>
Swift declaration
func scale(_ multiplicand: Double) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified scale. - Parameter multiplicand: The multiplicand to apply to the format style. - Returns: An integer percent format style modified to use the specified scale.

method · iOS 15.0+

format

TypeScript
format(value: number): string
Swift declaration
func format(_ value: Value) -> String

Returns a localized string for the given value in percentage. Supports up to 64-bit signed integer precision. Values not representable by `Int64` are clamped. - Parameter value: The value to be formatted. - Returns: A localized string for the given value in percentage.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

init · iOS 15.0+

init

TypeScript
static init(locale?: Locale): IntegerFormatStyle_Percent<number>
Swift declaration
init(locale: Locale = .autoupdatingCurrent)

Creates an integer percent format style that uses the given locale. - Parameter locale: The locale to use when formatting or parsing integers. Defaults to `Locale.autoupdatingCurrent`.

method · iOS 15.0+

locale

TypeScript
locale18215(locale: Locale): IntegerFormatStyle_Percent<number>
Swift declaration
func locale(_ locale: Locale) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: An integer percent format style modified to use the provided locale.

method · iOS 15.0+

rounded

TypeScript
rounded(rule?: SDKHandle, increment?: (number) | null): IntegerFormatStyle_Percent<number>
Swift declaration
func rounded(rule: IntegerFormatStyle<Value>.Percent.Configuration.RoundingRule = .toNearestOrEven, increment: Int? = nil) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified rounding rule and increment. - Parameters: - rule: The rounding rule to apply to the format style. - increment: A multiple by which the formatter rounds the fractional part. The formatter produces a value that is an even multiple of this increment. If this parameter is `nil` (the default), the formatter doesn't apply an increment. - Returns: An integer percent format style modified to use the specified rounding rule and increment.

method · iOS 15.0+

grouping

TypeScript
grouping(group: NumberFormatStyleConfiguration_Grouping): IntegerFormatStyle_Percent<number>
Swift declaration
func grouping(_ group: IntegerFormatStyle<Value>.Percent.Configuration.Grouping) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified grouping. - Parameter group: The grouping to apply to the format style. - Returns: An integer percent format style modified to use the specified grouping.

method · iOS 15.0+

notation

TypeScript
notation(notation: NumberFormatStyleConfiguration_Notation): IntegerFormatStyle_Percent<number>
Swift declaration
func notation(_ notation: IntegerFormatStyle<Value>.Percent.Configuration.Notation) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified notation. - Parameter notation: The notation to apply to the format style. - Returns: An integer percent format style modified to use the specified notation.

method · iOS 16.0+

consuming

TypeScript
consuming(input: string, index: SDKHandle, bounds: SDKHandle): ({ "upperBound": SDKHandle; "output": number }) | null
Swift declaration
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?

Matches the input string within the specified bounds, beginning at the given index. Don't call this method directly. Regular expression matching and capture calls it automatically when matching substrings. - Parameters: - input: An input string to match against. - index: The index within `input` at which to begin searching. - bounds: The bounds within `input` in which to search. - Returns: The upper bound where the match terminates and a matched instance, or `nil` if there isn't a match.

method · iOS 15.0+

precision

TypeScript
precision(p: NumberFormatStyleConfiguration_Precision): IntegerFormatStyle_Percent<number>
Swift declaration
func precision(_ p: IntegerFormatStyle<Value>.Percent.Configuration.Precision) -> IntegerFormatStyle<Value>.Percent

Modifies the format style to use the specified precision. - Parameter p: The precision to apply to the format style. - Returns: An integer percent format style modified to use the specified precision.

method · iOS 15.0+

rounded

TypeScript
rounded(rule?: SDKHandle, increment?: (number) | null): IntegerFormatStyle<number>
Swift declaration
func rounded(rule: IntegerFormatStyle<Value>.Configuration.RoundingRule = .toNearestOrEven, increment: Int? = nil) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified rounding rule and increment. - Parameters: - rule: The rounding rule to apply to the format style. - increment: A multiple by which the formatter rounds the fractional part. The formatter produces a value that is an even multiple of this increment. If this parameter is `nil` (the default), the formatter doesn't apply an increment. - Returns: An integer format style modified to use the specified rounding rule and increment.

get · iOS 15.0+

attributed

TypeScript
get attributed(): IntegerFormatStyle_Attributed<number>
Swift declaration
var attributed: IntegerFormatStyle<Value>.Attributed { get }

An attributed format style based on the integer currency format style. Use this modifier to create an ``IntegerFormatStyle/Attributed`` instance, which formats values as ``AttributedString`` instances. These attributed strings contain attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

get · iOS 15.0+

currencyCode

TypeScript
get currencyCode(): string
Swift declaration
let currencyCode: String

The currency code this format style uses, such as `USD` or `EUR`.

method · iOS 15.0+

presentation

TypeScript
presentation(p: CurrencyFormatStyleConfiguration_Presentation): IntegerFormatStyle_Currency<number>
Swift declaration
func presentation(_ p: IntegerFormatStyle<Value>.Currency.Configuration.Presentation) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified presentation. - Parameter p: A currency presentation value, such as ``CurrencyFormatStyleConfiguration/Presentation/isoCode`` or ``CurrencyFormatStyleConfiguration/Presentation/fullName``. - Returns: An integer currency format style modified to use the specified presentation.

get · iOS 15.0+

parseStrategy

TypeScript
get parseStrategy(): IntegerParseStrategy<IntegerFormatStyle_Currency<number>>
Swift declaration
var parseStrategy: IntegerParseStrategy<IntegerFormatStyle<Value>.Currency> { get }

The parse strategy that this format style uses.

method · iOS 15.0+

decimalSeparator

TypeScript
decimalSeparator(strategy: NumberFormatStyleConfiguration_DecimalSeparatorDisplayStrategy): IntegerFormatStyle_Currency<number>
Swift declaration
func decimalSeparator(strategy: IntegerFormatStyle<Value>.Currency.Configuration.DecimalSeparatorDisplayStrategy) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified decimal separator display strategy. - Parameter strategy: The decimal separator display strategy to apply to the format style. - Returns: An integer currency format style modified to use the specified decimal separator display strategy.

init · iOS 15.0+

init

TypeScript
static init(code: string, locale?: Locale): IntegerFormatStyle_Currency<number>
Swift declaration
init(code: String, locale: Locale = .autoupdatingCurrent)

Creates an integer currency format style that uses the given currency code and locale. - Parameters: - code: The currency code to use, such as `EUR` or `JPY`. - locale: The locale to use when formatting or parsing integers. Defaults to `Locale.autoupdatingCurrent`.

method · iOS 15.0+

sign

TypeScript
sign(strategy: CurrencyFormatStyleConfiguration_SignDisplayStrategy): IntegerFormatStyle_Currency<number>
Swift declaration
func sign(strategy: IntegerFormatStyle<Value>.Currency.Configuration.SignDisplayStrategy) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols. - Parameter strategy: The sign display strategy to apply to the format style. - Returns: An integer currency format style modified to use the specified sign display strategy.

method · iOS 15.0+

scale

TypeScript
scale(multiplicand: number): IntegerFormatStyle_Currency<number>
Swift declaration
func scale(_ multiplicand: Double) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified scale. - Parameter multiplicand: The multiplicand to apply to the format style. - Returns: An integer currency format style modified to use the specified scale.

method · iOS 15.0+

format

TypeScript
format(value: number): string
Swift declaration
func format(_ value: Value) -> String

Returns a localized currency string for the given value. Supports up to 64-bit signed integer precision. Values not representable by `Int64` are clamped. - Parameter value: The value to be formatted. - Returns: A localized currency string for the given value.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

method · iOS 15.0+

locale

TypeScript
locale49048(locale: Locale): IntegerFormatStyle_Currency<number>
Swift declaration
func locale(_ locale: Locale) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: An integer currency format style modified to use the provided locale.

method · iOS 15.0+

rounded

TypeScript
rounded(rule?: SDKHandle, increment?: (number) | null): IntegerFormatStyle_Currency<number>
Swift declaration
func rounded(rule: IntegerFormatStyle<Value>.Currency.Configuration.RoundingRule = .toNearestOrEven, increment: Int? = nil) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified rounding rule and increment. - Parameters: - rule: The rounding rule to apply to the format style. - increment: A multiple by which the formatter rounds the fractional part. The formatter produces a value that is an even multiple of this increment. If this parameter is `nil` (the default), the formatter doesn't apply an increment. - Returns: An integer currency format style modified to use the specified rounding rule and increment.

method · iOS 15.0+

grouping

TypeScript
grouping(group: NumberFormatStyleConfiguration_Grouping): IntegerFormatStyle_Currency<number>
Swift declaration
func grouping(_ group: IntegerFormatStyle<Value>.Currency.Configuration.Grouping) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified grouping. - Parameter group: The grouping to apply to the format style. - Returns: An integer currency format style modified to use the specified grouping.

method · iOS 18.0+

notation

TypeScript
notation(notation: NumberFormatStyleConfiguration_Notation): IntegerFormatStyle_Currency<number>
Swift declaration
func notation(_ notation: IntegerFormatStyle<Value>.Currency.Configuration.Notation) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified notation. - Parameter notation: The notation to apply to the format style. - Returns: An integer currency format style modified to use the specified notation.

method · iOS 16.0+

consuming

TypeScript
consuming(input: string, index: SDKHandle, bounds: SDKHandle): ({ "upperBound": SDKHandle; "output": number }) | null
Swift declaration
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?

Matches the input string within the specified bounds, beginning at the given index. Don't call this method directly. Regular expression matching and capture calls it automatically when matching substrings. - Parameters: - input: An input string to match against. - index: The index within `input` at which to begin searching. - bounds: The bounds within `input` in which to search. - Returns: The upper bound where the match terminates and a matched instance, or `nil` if there isn't a match.

method · iOS 15.0+

precision

TypeScript
precision(p: NumberFormatStyleConfiguration_Precision): IntegerFormatStyle_Currency<number>
Swift declaration
func precision(_ p: IntegerFormatStyle<Value>.Currency.Configuration.Precision) -> IntegerFormatStyle<Value>.Currency

Modifies the format style to use the specified precision. - Parameter p: The precision to apply to the format style. - Returns: An integer currency format style modified to use the specified precision.

method · iOS 15.0+

grouping

TypeScript
grouping(group: NumberFormatStyleConfiguration_Grouping): IntegerFormatStyle<number>
Swift declaration
func grouping(_ group: IntegerFormatStyle<Value>.Configuration.Grouping) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified grouping. The following example creates a default ``IntegerFormatStyle`` for the `en_US` locale, and a second style that never uses grouping. It then applies each style to an array of integers. The formatting that the modified style applies eliminates the three-digit grouping usually performed for the `en_US` locale. ```swift let defaultStyle = IntegerFormatStyle<Int>(locale: Locale(identifier: "en_US")) let neverStyle = defaultStyle.grouping(.never) let nums = [100, 1000, 10000, 100000, 1000000] let defaultNums = nums.map { defaultStyle.format($0) } // ["100", "1,000", "10,000", "100,000", "1,000,000"] let neverNums = nums.map { neverStyle.format($0) } // ["100", "1000", "10000", "100000", "1000000"] ``` - Parameter group: The grouping to apply to the format style. - Returns: An integer format style modified to use the specified grouping.

method · iOS 15.0+

notation

TypeScript
notation(notation: NumberFormatStyleConfiguration_Notation): IntegerFormatStyle<number>
Swift declaration
func notation(_ notation: IntegerFormatStyle<Value>.Configuration.Notation) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified notation. - Parameter notation: The notation to apply to the format style. - Returns: An integer format style modified to use the specified notation.

method · iOS 16.0+

consuming

TypeScript
consuming(input: string, index: SDKHandle, bounds: SDKHandle): ({ "upperBound": SDKHandle; "output": number }) | null
Swift declaration
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?

Matches the input string within the specified bounds, beginning at the given index. Don't call this method directly. Regular expression matching and capture calls it automatically when matching substrings. - Parameters: - input: An input string to match against. - index: The index within `input` at which to begin searching. - bounds: The bounds within `input` in which to search. - Returns: The upper bound where the match terminates and a matched instance, or `nil` if there isn't a match.

method · iOS 15.0+

precision

TypeScript
precision(p: NumberFormatStyleConfiguration_Precision): IntegerFormatStyle<number>
Swift declaration
func precision(_ p: IntegerFormatStyle<Value>.Configuration.Precision) -> IntegerFormatStyle<Value>

Modifies the format style to use the specified precision. - Parameter p: The precision to apply to the format style. - Returns: An integer format style modified to use the specified precision.

get · iOS 15.0+

order

TypeScript
get order(): SortOrder
Swift declaration
var order: SortOrder

The sort order that the comparator uses to compare.

set · iOS 15.0+

order

TypeScript
set order(value: SortOrder)
Swift declaration
var order: SortOrder

The sort order that the comparator uses to compare.

get · iOS 15.0+

lenient

TypeScript
get lenient(): boolean
Swift declaration
var lenient: Bool

A Boolean value that indicates whether parsing allows any discrepencies in the expected format.

set · iOS 15.0+

lenient

TypeScript
set lenient(value: boolean)
Swift declaration
var lenient: Bool

A Boolean value that indicates whether parsing allows any discrepencies in the expected format.

get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.0+

op

TypeScript
get op(): PredicateExpressions_ArithmeticOperator
Swift declaration
let op: PredicateExpressions.ArithmeticOperator
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.Arithmetic<LHS, RHS>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.0+

op

TypeScript
get op(): PredicateExpressions_ComparisonOperator
Swift declaration
let op: PredicateExpressions.ComparisonOperator
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): (unknown) | null
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.NilLiteral<Wrapped>.Output
init · iOS 17.0+

init

TypeScript
static init(): PredicateExpressions_NilLiteral<unknown>
Swift declaration
init()
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.UnaryMinus<Wrapped>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.IntDivision<LHS, RHS>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.NilCoalesce<LHS, RHS>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): unknown
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Wrapped
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.IntRemainder<LHS, RHS>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.FloatDivision<LHS, RHS>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): (unknown) | null
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.ConditionalCast<Input, Desired>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): (unknown) | null
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.OptionalFlatMap<LHS, Wrapped, RHS, Result>.Output
get · iOS 17.0+

variable

TypeScript
get variable(): PredicateExpressions_Variable<unknown>
Swift declaration
let variable: PredicateExpressions.Variable<Wrapped>
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): (SDKHandle) | null
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.SequenceMaximum<Elements>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): (SDKHandle) | null
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.SequenceMinimum<Elements>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 18.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 18.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): unknown
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.SequenceAllSatisfy<LHS, RHS>.Output
get · iOS 17.0+

variable

TypeScript
get variable(): PredicateExpressions_Variable<SDKHandle>
Swift declaration
let variable: PredicateExpressions.Variable<PredicateExpressions.SequenceAllSatisfy<LHS, RHS>.Element>
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 18.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 18.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.SequenceContainsWhere<LHS, RHS>.Output
get · iOS 17.0+

variable

TypeScript
get variable(): PredicateExpressions_Variable<SDKHandle>
Swift declaration
let variable: PredicateExpressions.Variable<PredicateExpressions.SequenceContainsWhere<LHS, RHS>.Element>
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): (unknown) | null
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.DictionaryKeySubscript<Wrapped, Key, Value>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): ComparisonResult
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.StringLocalizedCompare<Root, Other>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.RangeExpressionContains<RangeExpression, Element>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.CollectionIndexSubscript<Wrapped, Index>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.CollectionRangeSubscript<Wrapped, Range>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): ComparisonResult
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.StringCaseInsensitiveCompare<Root, Other>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.StringLocalizedStandardContains<Root, Other>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): SDKHandle
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.DictionaryKeyDefaultValueSubscript<Wrapped, Key, Default>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.0+

value

TypeScript
get value(): unknown
Swift declaration
let value: Output
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): unknown
Swift declaration
func evaluate(_ bindings: PredicateBindings) -> Output
init · iOS 17.0+

init

TypeScript
static init(value: unknown): PredicateExpressions_Value<unknown>
Swift declaration
init(_ value: Output)
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): Array<SDKHandle>
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.Filter<LHS, RHS>.Output
get · iOS 17.0+

variable

TypeScript
get variable(): PredicateExpressions_Variable<SDKHandle>
Swift declaration
let variable: PredicateExpressions.Variable<PredicateExpressions.Filter<LHS, RHS>.Element>
get · iOS 17.0+

keyPath

TypeScript
get keyPath(): (unknown) & (SDKHandle)
Swift declaration
let keyPath: any KeyPath<Root.Output, Output> & Sendable
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.0+

kind

TypeScript
get kind(): (PredicateExpressions_KeyPath_CommonKeyPathKind<SDKHandle, unknown>) | null
Swift declaration
var kind: PredicateExpressions.KeyPath<Root, Output>.CommonKeyPathKind? { get }
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): unknown
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Bool
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.0+

key

TypeScript
get key(): PredicateExpressions_VariableID
Swift declaration
let key: PredicateExpressions.VariableID
method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): unknown
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> Output
init · iOS 17.0+

init

TypeScript
static init(): PredicateExpressions_Variable<unknown>
Swift declaration
init()
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): unknown
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.ForceCast<Input, Desired>.Output
get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

method · iOS 17.0+

evaluate

TypeScript
evaluate(bindings: PredicateBindings): boolean
Swift declaration
func evaluate(_ bindings: PredicateBindings) throws -> PredicateExpressions.TypeCheck<Input, Desired>.Output
method · iOS 15.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): AsyncCharacterSequence_AsyncIterator<SDKHandle>
Swift declaration
func makeAsyncIterator() -> AsyncCharacterSequence<Base>.AsyncIterator

Creates the asynchronous iterator that produces elements of this asynchronous sequence. - Returns: An instance of the `AsyncIterator` type used to produce elements of the asynchronous sequence.

method · iOS 15.0+

next

TypeScript
next(): Promise<(string) | null>
Swift declaration
mutating func next() async rethrows -> Character?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element. - Returns: The next element, if it exists, or `nil` to signal the end of the sequence.

get · iOS 8.0+

kCFStringEncodingASCII

TypeScript
const kCFStringEncodingASCII: number
Swift declaration
var kCFStringEncodingASCII: CFStringEncoding { get }
method · iOS 15.0+

format

TypeScript
format(value: number): AttributedString
Swift declaration
func format(_ value: Value) -> AttributedString

Formats a floating-point value, using this style. - Parameter value: The floating-point value to format. - Returns: An attributed string representation of `value`, formatted according to the style's configuration. The returned string contains attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope to indicate runs formatted by this format style.

method · iOS 15.0+

locale

TypeScript
locale(locale: Locale): FloatingPointFormatStyle_Attributed<number>
Swift declaration
func locale(_ locale: Locale) -> FloatingPointFormatStyle<Value>.Attributed

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A format style that uses the specified locale.

get · iOS 15.0+

attributed

TypeScript
get attributed(): FloatingPointFormatStyle_Attributed<number>
Swift declaration
var attributed: FloatingPointFormatStyle<Value>.Attributed { get }

An attributed format style based on the floating-point format style. Use this modifier to create a ``FloatingPointFormatStyle/Attributed`` instance, which formats values as ``AttributedString`` instances. These attributed strings contain attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

get · iOS 15.0+

parseStrategy

TypeScript
get parseStrategy(): FloatingPointParseStrategy<FloatingPointFormatStyle<number>>
Swift declaration
var parseStrategy: FloatingPointParseStrategy<FloatingPointFormatStyle<Value>> { get }

The parse strategy that this format style uses.

method · iOS 15.0+

decimalSeparator

TypeScript
decimalSeparator(strategy: NumberFormatStyleConfiguration_DecimalSeparatorDisplayStrategy): FloatingPointFormatStyle<number>
Swift declaration
func decimalSeparator(strategy: FloatingPointFormatStyle<Value>.Configuration.DecimalSeparatorDisplayStrategy) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified decimal separator display strategy. - Parameter strategy: The decimal separator display strategy to apply to the format style. - Returns: A floating-point format style modified to use the specified decimal separator display strategy.

method · iOS 15.0+

sign

TypeScript
sign(strategy: NumberFormatStyleConfiguration_SignDisplayStrategy): FloatingPointFormatStyle<number>
Swift declaration
func sign(strategy: FloatingPointFormatStyle<Value>.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols. - Parameter strategy: The sign display strategy to apply to the format style. - Returns: A floating-point format style modified to use the specified sign display strategy.

method · iOS 15.0+

scale

TypeScript
scale(multiplicand: number): FloatingPointFormatStyle<number>
Swift declaration
func scale(_ multiplicand: Double) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified scale. - Parameter multiplicand: The multiplicand to apply to the format style. - Returns: A floating-point format style modified to use the specified scale.

method · iOS 15.0+

format

TypeScript
format(value: number): string
Swift declaration
func format(_ value: Value) -> String

Formats a floating-point value, using this style. Use this method when you want to create a single style instance and use it to format multiple floating-point values. The following example creates a style that uses the `en_US` locale, then adds the ``NumberFormatStyleConfiguration/Notation/scientific`` modifier. It applies this style to all the floating-point values in an array. ```swift let scientificStyle = FloatingPointFormatStyle<Double>( locale: Locale(identifier: "en_US")) .notation(.scientific) let nums = [100.1, 1000.2, 10000.3, 100000.4, 1000000.5] let formattedNums = nums.map { scientificStyle.format($0) } // ["1.001E2", "1.0002E3", "1.00003E4", "1.000004E5", "1E6"] ``` To format a single floating-point value, use the `BinaryFloatingPoint` instance method `formatted(_:)`, passing in an instance of ``FloatingPointFormatStyle``, or `formatted()` to use a default style. - Parameter value: The floating-point value to format. - Returns: A string representation of `value` formatted according to the style's configuration.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

init · iOS 15.0+

init

TypeScript
static init(locale?: Locale): FloatingPointFormatStyle<number>
Swift declaration
init(locale: Locale = .autoupdatingCurrent)

Creates a floating-point format style that uses the given locale. Create a ``FloatingPointFormatStyle`` when you intend to apply a given style to multiple floating-point values. The following example creates a style that uses the `en_US` locale, which uses three-based grouping and comma separators. It then applies this style to all the `Double` values in an array. ```swift let enUSstyle = FloatingPointFormatStyle<Double>(locale: Locale(identifier: "en_US")) let nums = [100.1, 1000.2, 10000.3, 100000.4, 1000000.5] let formattedNums = nums.map { enUSstyle.format($0) } // ["100.1", "1,000.2", "10,000.3", "100,000.4", "1,000,000.5"] ``` To format a single value, you can use the `BinaryFloatingPoint` instance method `formatted(_:)`, passing in an instance of ``FloatingPointFormatStyle``. - Parameter locale: The locale to use when formatting or parsing floating-point values. Defaults to `Locale.autoupdatingCurrent`.

method · iOS 15.0+

locale

TypeScript
locale26195(locale: Locale): FloatingPointFormatStyle<number>
Swift declaration
func locale(_ locale: Locale) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A floating-point format style modified to use the provided locale.

get · iOS 15.0+

attributed

TypeScript
get attributed(): FloatingPointFormatStyle_Attributed<number>
Swift declaration
var attributed: FloatingPointFormatStyle<Value>.Attributed { get }

An attributed format style based on the floating-point percent format style. Use this modifier to create a ``FloatingPointFormatStyle/Attributed`` instance, which formats values as ``AttributedString`` instances. These attributed strings contain attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

get · iOS 15.0+

parseStrategy

TypeScript
get parseStrategy(): FloatingPointParseStrategy<FloatingPointFormatStyle_Percent<number>>
Swift declaration
var parseStrategy: FloatingPointParseStrategy<FloatingPointFormatStyle<Value>.Percent> { get }

The parse strategy that this format style uses.

method · iOS 15.0+

decimalSeparator

TypeScript
decimalSeparator(strategy: NumberFormatStyleConfiguration_DecimalSeparatorDisplayStrategy): FloatingPointFormatStyle_Percent<number>
Swift declaration
func decimalSeparator(strategy: FloatingPointFormatStyle<Value>.Percent.Configuration.DecimalSeparatorDisplayStrategy) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified decimal separator display strategy. - Parameter strategy: The decimal separator display strategy to apply to the format style. - Returns: A floating-point percent format style modified to use the specified decimal separator display strategy.

method · iOS 15.0+

sign

TypeScript
sign(strategy: NumberFormatStyleConfiguration_SignDisplayStrategy): FloatingPointFormatStyle_Percent<number>
Swift declaration
func sign(strategy: FloatingPointFormatStyle<Value>.Percent.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols. - Parameter strategy: The sign display strategy to apply to the format style. - Returns: A floating-point percent format style modified to use the specified sign display strategy.

method · iOS 15.0+

scale

TypeScript
scale(multiplicand: number): FloatingPointFormatStyle_Percent<number>
Swift declaration
func scale(_ multiplicand: Double) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified scale. - Parameter multiplicand: The multiplicand to apply to the format style. - Returns: A floating-point percent format style modified to use the specified scale.

method · iOS 15.0+

format

TypeScript
format(value: number): string
Swift declaration
func format(_ value: Value) -> String

Formats a floating-point value as a percentage, using this style. - Parameter value: The floating-point value to format. - Returns: A string representation of `value` formatted as a percentage according to the style's configuration.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

init · iOS 15.0+

init

TypeScript
static init(locale?: Locale): FloatingPointFormatStyle_Percent<number>
Swift declaration
init(locale: Locale = .autoupdatingCurrent)

Creates a floating-point percent format style that uses the given locale. - Parameter locale: The locale to use when formatting or parsing floating-point values. Defaults to `Locale.autoupdatingCurrent`.

method · iOS 15.0+

locale

TypeScript
locale35568(locale: Locale): FloatingPointFormatStyle_Percent<number>
Swift declaration
func locale(_ locale: Locale) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A floating-point percent format style modified to use the provided locale.

method · iOS 15.0+

rounded

TypeScript
rounded(rule?: SDKHandle, increment?: (number) | null): FloatingPointFormatStyle_Percent<number>
Swift declaration
func rounded(rule: FloatingPointFormatStyle<Value>.Percent.Configuration.RoundingRule = .toNearestOrEven, increment: Double? = nil) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified rounding rule and increment. - Parameters: - rule: The rounding rule to apply to the format style. - increment: A multiple by which the formatter rounds the fractional part. The formatter produces a value that is an even multiple of this increment. If this parameter is `nil` (the default), the formatter doesn't apply an increment. - Returns: A floating-point percent format style modified to use the specified rounding rule and increment.

method · iOS 15.0+

grouping

TypeScript
grouping(group: NumberFormatStyleConfiguration_Grouping): FloatingPointFormatStyle_Percent<number>
Swift declaration
func grouping(_ group: FloatingPointFormatStyle<Value>.Percent.Configuration.Grouping) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified grouping. - Parameter group: The grouping to apply to the format style. - Returns: A floating-point percent format style modified to use the specified grouping.

method · iOS 15.0+

notation

TypeScript
notation(notation: NumberFormatStyleConfiguration_Notation): FloatingPointFormatStyle_Percent<number>
Swift declaration
func notation(_ notation: FloatingPointFormatStyle<Value>.Percent.Configuration.Notation) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified notation. - Parameter notation: The notation to apply to the format style. - Returns: A floating-point percent format style modified to use the specified notation.

method · iOS 16.0+

consuming

TypeScript
consuming(input: string, index: SDKHandle, bounds: SDKHandle): ({ "upperBound": SDKHandle; "output": number }) | null
Swift declaration
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?

Matches the input string within the specified bounds, beginning at the given index. Don't call this method directly. Regular expression matching and capture calls it automatically when matching substrings. - Parameters: - input: An input string to match against. - index: The index within `input` at which to begin searching. - bounds: The bounds within `input` in which to search. - Returns: The upper bound where the match terminates and a matched instance, or `nil` if there isn't a match.

method · iOS 15.0+

precision

TypeScript
precision(p: NumberFormatStyleConfiguration_Precision): FloatingPointFormatStyle_Percent<number>
Swift declaration
func precision(_ p: FloatingPointFormatStyle<Value>.Percent.Configuration.Precision) -> FloatingPointFormatStyle<Value>.Percent

Modifies the format style to use the specified precision. - Parameter p: The precision to apply to the format style. - Returns: A floating-point percent format style modified to use the specified precision.

method · iOS 15.0+

rounded

TypeScript
rounded(rule?: SDKHandle, increment?: (number) | null): FloatingPointFormatStyle<number>
Swift declaration
func rounded(rule: FloatingPointFormatStyle<Value>.Configuration.RoundingRule = .toNearestOrEven, increment: Double? = nil) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified rounding rule and increment. - Parameters: - rule: The rounding rule to apply to the format style. - increment: A multiple by which the formatter rounds the fractional part. The formatter produces a value that is an even multiple of this increment. If this parameter is `nil` (the default), the formatter doesn't apply an increment. - Returns: A floating-point format style modified to use the specified rounding rule and increment.

get · iOS 15.0+

attributed

TypeScript
get attributed(): FloatingPointFormatStyle_Attributed<number>
Swift declaration
var attributed: FloatingPointFormatStyle<Value>.Attributed { get }

An attributed format style based on the floating-point currency format style. Use this modifier to create a ``FloatingPointFormatStyle/Attributed`` instance, which formats values as ``AttributedString`` instances. These attributed strings contain attributes from the ``AttributeScopes/FoundationAttributes/NumberFormatAttributes`` attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

get · iOS 15.0+

currencyCode

TypeScript
get currencyCode(): string
Swift declaration
let currencyCode: String

The currency code this format style uses, such as `USD` or `EUR`.

method · iOS 15.0+

presentation

TypeScript
presentation(p: CurrencyFormatStyleConfiguration_Presentation): FloatingPointFormatStyle_Currency<number>
Swift declaration
func presentation(_ p: FloatingPointFormatStyle<Value>.Currency.Configuration.Presentation) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified presentation. - Parameter p: A currency presentation value, such as ``CurrencyFormatStyleConfiguration/Presentation/isoCode`` or ``CurrencyFormatStyleConfiguration/Presentation/fullName``. - Returns: A floating-point currency format style modified to use the specified presentation.

get · iOS 15.0+

parseStrategy

TypeScript
get parseStrategy(): FloatingPointParseStrategy<FloatingPointFormatStyle_Currency<number>>
Swift declaration
var parseStrategy: FloatingPointParseStrategy<FloatingPointFormatStyle<Value>.Currency> { get }

The parse strategy that this format style uses.

method · iOS 15.0+

decimalSeparator

TypeScript
decimalSeparator(strategy: NumberFormatStyleConfiguration_DecimalSeparatorDisplayStrategy): FloatingPointFormatStyle_Currency<number>
Swift declaration
func decimalSeparator(strategy: FloatingPointFormatStyle<Value>.Currency.Configuration.DecimalSeparatorDisplayStrategy) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified decimal separator display strategy. - Parameter strategy: The decimal separator display strategy to apply to the format style. - Returns: A floating-point currency format style modified to use the specified decimal separator display strategy.

init · iOS 15.0+

init

TypeScript
static init(code: string, locale?: Locale): FloatingPointFormatStyle_Currency<number>
Swift declaration
init(code: String, locale: Locale = .autoupdatingCurrent)

Creates a floating-point currency format style that uses the given currency code and locale. - Parameters: - code: The currency code to use, such as `EUR` or `JPY`. - locale: The locale to use when formatting or parsing floating-point values. Defaults to `Locale.autoupdatingCurrent`.

method · iOS 15.0+

sign

TypeScript
sign(strategy: CurrencyFormatStyleConfiguration_SignDisplayStrategy): FloatingPointFormatStyle_Currency<number>
Swift declaration
func sign(strategy: FloatingPointFormatStyle<Value>.Currency.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified sign display strategy for displaying or omitting sign symbols. - Parameter strategy: The sign display strategy to apply to the format style. - Returns: A floating-point currency format style modified to use the specified sign display strategy.

method · iOS 15.0+

scale

TypeScript
scale(multiplicand: number): FloatingPointFormatStyle_Currency<number>
Swift declaration
func scale(_ multiplicand: Double) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified scale. - Parameter multiplicand: The multiplicand to apply to the format style. - Returns: A floating-point currency format style modified to use the specified scale.

method · iOS 15.0+

format

TypeScript
format(value: number): string
Swift declaration
func format(_ value: Value) -> String

Formats a floating-point value as a currency string, using this style. - Parameter value: The floating-point value to format. - Returns: A string representation of `value` formatted as a currency value according to the style's configuration.

get · iOS 15.0+

locale

TypeScript
get locale(): Locale
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

set · iOS 15.0+

locale

TypeScript
set locale(value: Locale)
Swift declaration
var locale: Locale

The locale of the format style. Use the ``FormatStyle/locale(_:)`` modifier to create a copy of this format style with a different locale.

method · iOS 15.0+

locale

TypeScript
locale95225(locale: Locale): FloatingPointFormatStyle_Currency<number>
Swift declaration
func locale(_ locale: Locale) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified locale. - Parameter locale: The locale to apply to the format style. - Returns: A floating-point currency format style modified to use the provided locale.

method · iOS 15.0+

rounded

TypeScript
rounded(rule?: SDKHandle, increment?: (number) | null): FloatingPointFormatStyle_Currency<number>
Swift declaration
func rounded(rule: FloatingPointFormatStyle<Value>.Currency.Configuration.RoundingRule = .toNearestOrEven, increment: Double? = nil) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified rounding rule and increment. - Parameters: - rule: The rounding rule to apply to the format style. - increment: A multiple by which the formatter rounds the fractional part. The formatter produces a value that is an even multiple of this increment. If this parameter is `nil` (the default), the formatter doesn't apply an increment. - Returns: A floating-point currency format style modified to use the specified rounding rule and increment.

method · iOS 15.0+

grouping

TypeScript
grouping(group: NumberFormatStyleConfiguration_Grouping): FloatingPointFormatStyle_Currency<number>
Swift declaration
func grouping(_ group: FloatingPointFormatStyle<Value>.Currency.Configuration.Grouping) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified grouping. - Parameter group: The grouping to apply to the format style. - Returns: A floating-point currency format style modified to use the specified grouping.

method · iOS 18.0+

notation

TypeScript
notation(notation: NumberFormatStyleConfiguration_Notation): FloatingPointFormatStyle_Currency<number>
Swift declaration
func notation(_ notation: FloatingPointFormatStyle<Value>.Currency.Configuration.Notation) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified notation. - Parameter notation: The notation to apply to the format style. - Returns: A floating-point currency format style modified to use the specified notation.

method · iOS 16.0+

consuming

TypeScript
consuming(input: string, index: SDKHandle, bounds: SDKHandle): ({ "upperBound": SDKHandle; "output": number }) | null
Swift declaration
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?

Matches the input string within the specified bounds, beginning at the given index. Don't call this method directly. Regular expression matching and capture calls it automatically when matching substrings. - Parameters: - input: An input string to match against. - index: The index within `input` at which to begin searching. - bounds: The bounds within `input` in which to search. - Returns: The upper bound where the match terminates and a matched instance, or `nil` if there isn't a match.

method · iOS 15.0+

precision

TypeScript
precision(p: NumberFormatStyleConfiguration_Precision): FloatingPointFormatStyle_Currency<number>
Swift declaration
func precision(_ p: FloatingPointFormatStyle<Value>.Currency.Configuration.Precision) -> FloatingPointFormatStyle<Value>.Currency

Modifies the format style to use the specified precision. - Parameter p: The precision to apply to the format style. - Returns: A floating-point currency format style modified to use the specified precision.

method · iOS 15.0+

grouping

TypeScript
grouping(group: NumberFormatStyleConfiguration_Grouping): FloatingPointFormatStyle<number>
Swift declaration
func grouping(_ group: FloatingPointFormatStyle<Value>.Configuration.Grouping) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified grouping. - Parameter group: The grouping to apply to the format style. - Returns: A floating-point format style modified to use the specified grouping.

method · iOS 15.0+

notation

TypeScript
notation(notation: NumberFormatStyleConfiguration_Notation): FloatingPointFormatStyle<number>
Swift declaration
func notation(_ notation: FloatingPointFormatStyle<Value>.Configuration.Notation) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified notation. - Parameter notation: The notation to apply to the format style. - Returns: A floating-point format style modified to use the specified notation.

method · iOS 16.0+

consuming

TypeScript
consuming(input: string, index: SDKHandle, bounds: SDKHandle): ({ "upperBound": SDKHandle; "output": number }) | null
Swift declaration
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?

Matches the input string within the specified bounds, beginning at the given index. Don't call this method directly. Regular expression matching and capture calls it automatically when matching substrings. - Parameters: - input: An input string to match against. - index: The index within `input` at which to begin searching. - bounds: The bounds within `input` in which to search. - Returns: The upper bound where the match terminates and a matched instance, or `nil` if there isn't a match.

method · iOS 15.0+

precision

TypeScript
precision(p: NumberFormatStyleConfiguration_Precision): FloatingPointFormatStyle<number>
Swift declaration
func precision(_ p: FloatingPointFormatStyle<Value>.Configuration.Precision) -> FloatingPointFormatStyle<Value>

Modifies the format style to use the specified precision. - Parameter p: The precision to apply to the format style. - Returns: A floating-point format style modified to use the specified precision.

get · iOS 8.0+

newValue

TypeScript
get newValue(): (unknown) | null
Swift declaration
let newValue: Value?

newValue and oldValue will only be non-nil if .new/.old is passed to `observe()`. In general, get the most up to date value by accessing it directly on the observed object instead.

get · iOS 8.0+

oldValue

TypeScript
get oldValue(): (unknown) | null
Swift declaration
let oldValue: Value?
get · iOS 8.0+

kind

TypeScript
get kind(): NSKeyValueChange
Swift declaration
let kind: NSKeyValueObservedChange<Value>.Kind
get · iOS 8.0+

indexes

TypeScript
get indexes(): (IndexSet) | null
Swift declaration
let indexes: IndexSet?

indexes will be nil unless the observed KeyPath refers to an ordered to-many property

get · iOS 8.0+

isPrior

TypeScript
get isPrior(): boolean
Swift declaration
let isPrior: Bool

'isPrior' will be true if this change observation is being sent before the change happens, due to .prior being passed to `observe()`

method · iOS 15.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): AsyncUnicodeScalarSequence_AsyncIterator<SDKHandle>
Swift declaration
func makeAsyncIterator() -> AsyncUnicodeScalarSequence<Base>.AsyncIterator

Creates the asynchronous iterator that produces elements of this asynchronous sequence. - Returns: An instance of the `AsyncIterator` type used to produce elements of the asynchronous sequence.

method · iOS 15.0+

next

TypeScript
next(): Promise<(SDKHandle) | null>
Swift declaration
mutating func next() async rethrows -> UnicodeScalar?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element. - Returns: The next element, if it exists, or `nil` to signal the end of the sequence.

get · iOS 15.0+

lenient

TypeScript
get lenient(): boolean
Swift declaration
var lenient: Bool

A Boolean value that indicates whether parsing allows any discrepencies in the expected format.

set · iOS 15.0+

lenient

TypeScript
set lenient(value: boolean)
Swift declaration
var lenient: Bool

A Boolean value that indicates whether parsing allows any discrepencies in the expected format.

get · iOS 15.0+

asProvided

TypeScript
static get asProvided(): MeasurementFormatUnitUsage<Dimension>
Swift declaration
static var asProvided: MeasurementFormatUnitUsage<UnitType> { get }

A usage of the formatted measurement that reflects the units that you used to create the measurement.

get · iOS 15.0+

general

TypeScript
static get general(): MeasurementFormatUnitUsage<Dimension>
Swift declaration
static var general: MeasurementFormatUnitUsage<UnitType> { get }

A general usage of the formatted measurement.

get · iOS 15.0+

personWeight

TypeScript
static get personWeight(): MeasurementFormatUnitUsage<UnitMass>
Swift declaration
static var personWeight: MeasurementFormatUnitUsage<UnitMass> { get }

A usage of a mass measurement related to a person's weight.

get · iOS 16.0+

wind

TypeScript
static get wind(): MeasurementFormatUnitUsage<UnitSpeed>
Swift declaration
static var wind: MeasurementFormatUnitUsage<UnitSpeed> { get }

Describes the unit for wind speed

get · iOS 15.0+

food

TypeScript
static get food(): MeasurementFormatUnitUsage<UnitEnergy>
Swift declaration
static var food: MeasurementFormatUnitUsage<UnitEnergy> { get }

A usage of an energy measurement related to food.

get · iOS 15.0+

workout

TypeScript
static get workout(): MeasurementFormatUnitUsage<UnitEnergy>
Swift declaration
static var workout: MeasurementFormatUnitUsage<UnitEnergy> { get }

A usage of an energy measurement related to a workout.

get · iOS 16.0+

focalLength

TypeScript
static get focalLength(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var focalLength: MeasurementFormatUnitUsage<UnitLength> { get }

Used to format the focal length of an optical system, such as that of camera lenses

get · iOS 16.0+

visibility

TypeScript
static get visibility(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var visibility: MeasurementFormatUnitUsage<UnitLength> { get }

Describes the distance of visibility

get · iOS 15.0+

personHeight

TypeScript
static get personHeight(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var personHeight: MeasurementFormatUnitUsage<UnitLength> { get }

A usage of a length measurement related to a person's height.

get · iOS 15.0+

road

TypeScript
static get road(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var road: MeasurementFormatUnitUsage<UnitLength> { get }

A usage of a length measurement related to a road.

get · iOS 15.0+

person

TypeScript
static get person(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var person: MeasurementFormatUnitUsage<UnitLength> { get }

A format usage of a length measurement for displaying a distance as it relates to people.

get · iOS 16.0+

rainfall

TypeScript
static get rainfall(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var rainfall: MeasurementFormatUnitUsage<UnitLength> { get }

Used to format the rainfall amount

get · iOS 16.0+

snowfall

TypeScript
static get snowfall(): MeasurementFormatUnitUsage<UnitLength>
Swift declaration
static var snowfall: MeasurementFormatUnitUsage<UnitLength> { get }

Used to format the snowfall amount

get · iOS 16.0+

liquid

TypeScript
static get liquid(): MeasurementFormatUnitUsage<UnitVolume>
Swift declaration
static var liquid: MeasurementFormatUnitUsage<UnitVolume> { get }

Used to format the amount of liquid

get · iOS 16.0+

barometric

TypeScript
static get barometric(): MeasurementFormatUnitUsage<UnitPressure>
Swift declaration
static var barometric: MeasurementFormatUnitUsage<UnitPressure> { get }

Describes the unit for barometric pressure

get · iOS 15.0+

person

TypeScript
static get person64799(): MeasurementFormatUnitUsage<UnitTemperature>
Swift declaration
static var person: MeasurementFormatUnitUsage<UnitTemperature> { get }

A format usage of a temperature measurement for displaying a temperature as it relates to people.

get · iOS 15.0+

weather

TypeScript
static get weather(): MeasurementFormatUnitUsage<UnitTemperature>
Swift declaration
static var weather: MeasurementFormatUnitUsage<UnitTemperature> { get }

A usage of a temperature measurement related to the weather.

get · iOS 16.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

function · iOS 8.0+

pow

TypeScript
pow(x: Decimal, y: number): Decimal
Swift declaration
func pow(_ x: Decimal, _ y: Int) -> Decimal

Returns a decimal number raised to a given power. - Parameters: - x: The decimal number to raise to the power of `y`. - y: The power to raise `x` to. - Returns: The result of raising `x` to the power `y`. Returns `NaN` if the operation fails.

get · iOS 17.0+

expression

TypeScript
get expression(): SDKHandle
Swift declaration
let expression: any StandardPredicateExpression<Bool>

The component expressions of the predicate.

get · iOS 17.4+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 17.4+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

init · iOS 8.0+

init

TypeScript
static initTruncating(number: NSNumber): number
Swift declaration
init(truncating number: NSNumber)
init · iOS 8.0+

init

TypeScript
static initExactly(number: NSNumber): (number) | null
Swift declaration
init?(exactly number: NSNumber)
init · iOS 8.0+

init

TypeScript
static init(number: NSNumber): number
Swift declaration
init(_ number: NSNumber)
init · iOS 14.0+

init

TypeScript
static init(url: string): (_System_FilePath) | null
Swift declaration
init?(_ url: URL)

Creates a file path from a URL The result is nil if `url` doesn't refer to a local file.

get · iOS 2.0+

regions

TypeScript
get regions(): Array<DispatchData_Region>
Swift declaration
var regions: [DispatchData.Region] { get }

A collection of buffers that make up the whole of the type conforming to a data protocol.

get

NSURLErrorBadURL

TypeScript
const NSURLErrorBadURL: number
Swift declaration
var NSURLErrorBadURL: Int { get }
get

NSFormattingError

TypeScript
const NSFormattingError: number
Swift declaration
var NSFormattingError: Int { get }
get

NSURLErrorUnknown

TypeScript
const NSURLErrorUnknown: number
Swift declaration
var NSURLErrorUnknown: Int { get }
get

NSFileErrorMaximum

TypeScript
const NSFileErrorMaximum: number
Swift declaration
var NSFileErrorMaximum: Int { get }
get

NSFileErrorMinimum

TypeScript
const NSFileErrorMinimum: number
Swift declaration
var NSFileErrorMinimum: Int { get }
get

NSFileLockingError

TypeScript
const NSFileLockingError: number
Swift declaration
var NSFileLockingError: Int { get }
get

NSURLErrorTimedOut

TypeScript
const NSURLErrorTimedOut: number
Swift declaration
var NSURLErrorTimedOut: Int { get }
get · iOS 9.0+

NSCoderErrorMaximum

TypeScript
const NSCoderErrorMaximum: number
Swift declaration
var NSCoderErrorMaximum: Int { get }
get · iOS 9.0+

NSCoderErrorMinimum

TypeScript
const NSCoderErrorMinimum: number
Swift declaration
var NSCoderErrorMinimum: Int { get }
get

NSURLErrorCancelled

TypeScript
const NSURLErrorCancelled: number
Swift declaration
var NSURLErrorCancelled: Int { get }
get · iOS 9.0+

NSBundleErrorMaximum

TypeScript
const NSBundleErrorMaximum: number
Swift declaration
var NSBundleErrorMaximum: Int { get }
get · iOS 9.0+

NSBundleErrorMinimum

TypeScript
const NSBundleErrorMinimum: number
Swift declaration
var NSBundleErrorMinimum: Int { get }
get

NSUserCancelledError

TypeScript
const NSUserCancelledError: number
Swift declaration
var NSUserCancelledError: Int { get }
get · iOS 2.0+

NSExecutableLinkError

TypeScript
const NSExecutableLinkError: number
Swift declaration
var NSExecutableLinkError: Int { get }
get · iOS 2.0+

NSExecutableLoadError

TypeScript
const NSExecutableLoadError: number
Swift declaration
var NSExecutableLoadError: Int { get }
get

NSFileNoSuchFileError

TypeScript
const NSFileNoSuchFileError: number
Swift declaration
var NSFileNoSuchFileError: Int { get }
get

NSFileReadUnknownError

TypeScript
const NSFileReadUnknownError: number
Swift declaration
var NSFileReadUnknownError: Int { get }
get · iOS 3.0+

NSURLErrorCallIsActive

TypeScript
const NSURLErrorCallIsActive: number
Swift declaration
var NSURLErrorCallIsActive: Int { get }
get · iOS 6.0+

NSXPCConnectionInvalid

TypeScript
const NSXPCConnectionInvalid: number
Swift declaration
var NSXPCConnectionInvalid: Int { get }
get · iOS 9.0+

NSCoderReadCorruptError

TypeScript
const NSCoderReadCorruptError: number
Swift declaration
var NSCoderReadCorruptError: Int { get }
get · iOS 2.0+

NSFileReadTooLargeError

TypeScript
const NSFileReadTooLargeError: number
Swift declaration
var NSFileReadTooLargeError: Int { get }
get

NSFileWriteUnknownError

TypeScript
const NSFileWriteUnknownError: number
Swift declaration
var NSFileWriteUnknownError: Int { get }
get · iOS 10.0+

NSCloudSharingOtherError

TypeScript
const NSCloudSharingOtherError: number
Swift declaration
var NSCloudSharingOtherError: Int { get }
get · iOS 11.0+

NSCoderInvalidValueError

TypeScript
const NSCoderInvalidValueError: number
Swift declaration
var NSCoderInvalidValueError: Int { get }
get · iOS 13.0+

NSCompressionFailedError

TypeScript
const NSCompressionFailedError: number
Swift declaration
var NSCompressionFailedError: Int { get }
get · iOS 2.0+

NSExecutableErrorMaximum

TypeScript
const NSExecutableErrorMaximum: number
Swift declaration
var NSExecutableErrorMaximum: Int { get }
get · iOS 2.0+

NSExecutableErrorMinimum

TypeScript
const NSExecutableErrorMinimum: number
Swift declaration
var NSExecutableErrorMinimum: Int { get }
get

NSFormattingErrorMaximum

TypeScript
const NSFormattingErrorMaximum: number
Swift declaration
var NSFormattingErrorMaximum: Int { get }
get

NSFormattingErrorMinimum

TypeScript
const NSFormattingErrorMinimum: number
Swift declaration
var NSFormattingErrorMinimum: Int { get }
get

NSURLErrorCannotFindHost

TypeScript
const NSURLErrorCannotFindHost: number
Swift declaration
var NSURLErrorCannotFindHost: Int { get }
get

NSURLErrorCannotMoveFile

TypeScript
const NSURLErrorCannotMoveFile: number
Swift declaration
var NSURLErrorCannotMoveFile: Int { get }
get

NSURLErrorCannotOpenFile

TypeScript
const NSURLErrorCannotOpenFile: number
Swift declaration
var NSURLErrorCannotOpenFile: Int { get }
get · iOS 3.0+

NSURLErrorDataNotAllowed

TypeScript
const NSURLErrorDataNotAllowed: number
Swift declaration
var NSURLErrorDataNotAllowed: Int { get }
get

NSURLErrorUnsupportedURL

TypeScript
const NSURLErrorUnsupportedURL: number
Swift declaration
var NSURLErrorUnsupportedURL: Int { get }
get

NSValidationErrorMaximum

TypeScript
const NSValidationErrorMaximum: number
Swift declaration
var NSValidationErrorMaximum: Int { get }
get

NSValidationErrorMinimum

TypeScript
const NSValidationErrorMinimum: number
Swift declaration
var NSValidationErrorMinimum: Int { get }
get · iOS 9.0+

NSCoderValueNotFoundError

TypeScript
const NSCoderValueNotFoundError: number
Swift declaration
var NSCoderValueNotFoundError: Int { get }
get · iOS 13.0+

NSCompressionErrorMaximum

TypeScript
const NSCompressionErrorMaximum: number
Swift declaration
var NSCompressionErrorMaximum: Int { get }
get · iOS 13.0+

NSCompressionErrorMinimum

TypeScript
const NSCompressionErrorMinimum: number
Swift declaration
var NSCompressionErrorMinimum: Int { get }
get · iOS 6.0+

NSFeatureUnsupportedError

TypeScript
const NSFeatureUnsupportedError: number
Swift declaration
var NSFeatureUnsupportedError: Int { get }
get

NSFileReadNoSuchFileError

TypeScript
const NSFileReadNoSuchFileError: number
Swift declaration
var NSFileReadNoSuchFileError: Int { get }
get

NSKeyValueValidationError

TypeScript
const NSKeyValueValidationError: number
Swift declaration
var NSKeyValueValidationError: Int { get }
get

NSURLErrorCannotCloseFile

TypeScript
const NSURLErrorCannotCloseFile: number
Swift declaration
var NSURLErrorCannotCloseFile: Int { get }
get

NSURLErrorDNSLookupFailed

TypeScript
const NSURLErrorDNSLookupFailed: number
Swift declaration
var NSURLErrorDNSLookupFailed: Int { get }
get

NSURLErrorFileIsDirectory

TypeScript
const NSURLErrorFileIsDirectory: number
Swift declaration
var NSURLErrorFileIsDirectory: Int { get }
get · iOS 10.0+

NSCloudSharingErrorMaximum

TypeScript
const NSCloudSharingErrorMaximum: number
Swift declaration
var NSCloudSharingErrorMaximum: Int { get }
get · iOS 10.0+

NSCloudSharingErrorMinimum

TypeScript
const NSCloudSharingErrorMinimum: number
Swift declaration
var NSCloudSharingErrorMinimum: Int { get }
get · iOS 13.0+

NSDecompressionFailedError

TypeScript
const NSDecompressionFailedError: number
Swift declaration
var NSDecompressionFailedError: Int { get }
get

NSFileReadCorruptFileError

TypeScript
const NSFileReadCorruptFileError: number
Swift declaration
var NSFileReadCorruptFileError: Int { get }
get · iOS 5.0+

NSFileWriteFileExistsError

TypeScript
const NSFileWriteFileExistsError: number
Swift declaration
var NSFileWriteFileExistsError: Int { get }
get

NSFileWriteOutOfSpaceError

TypeScript
const NSFileWriteOutOfSpaceError: number
Swift declaration
var NSFileWriteOutOfSpaceError: Int { get }
get · iOS 4.0+

NSPropertyListErrorMaximum

TypeScript
const NSPropertyListErrorMaximum: number
Swift declaration
var NSPropertyListErrorMaximum: Int { get }
get · iOS 4.0+

NSPropertyListErrorMinimum

TypeScript
const NSPropertyListErrorMinimum: number
Swift declaration
var NSPropertyListErrorMinimum: Int { get }
get

NSURLErrorCannotCreateFile

TypeScript
const NSURLErrorCannotCreateFile: number
Swift declaration
var NSURLErrorCannotCreateFile: Int { get }
get

NSURLErrorCannotRemoveFile

TypeScript
const NSURLErrorCannotRemoveFile: number
Swift declaration
var NSURLErrorCannotRemoveFile: Int { get }
get

NSURLErrorFileDoesNotExist

TypeScript
const NSURLErrorFileDoesNotExist: number
Swift declaration
var NSURLErrorFileDoesNotExist: Int { get }
get

NSURLErrorZeroByteResource

TypeScript
const NSURLErrorZeroByteResource: number
Swift declaration
var NSURLErrorZeroByteResource: Int { get }
get · iOS 8.0+

NSUserActivityErrorMaximum

TypeScript
const NSUserActivityErrorMaximum: number
Swift declaration
var NSUserActivityErrorMaximum: Int { get }
get · iOS 8.0+

NSUserActivityErrorMinimum

TypeScript
const NSUserActivityErrorMinimum: number
Swift declaration
var NSUserActivityErrorMinimum: Int { get }
get · iOS 6.0+

NSXPCConnectionInterrupted

TypeScript
const NSXPCConnectionInterrupted: number
Swift declaration
var NSXPCConnectionInterrupted: Int { get }
get · iOS 10.0+

NSCloudSharingConflictError

TypeScript
const NSCloudSharingConflictError: number
Swift declaration
var NSCloudSharingConflictError: Int { get }
get

NSFileReadNoPermissionError

TypeScript
const NSFileReadNoPermissionError: number
Swift declaration
var NSFileReadNoPermissionError: Int { get }
get

NSURLErrorBadServerResponse

TypeScript
const NSURLErrorBadServerResponse: number
Swift declaration
var NSURLErrorBadServerResponse: Int { get }
get

NSURLErrorCannotWriteToFile

TypeScript
const NSURLErrorCannotWriteToFile: number
Swift declaration
var NSURLErrorCannotWriteToFile: Int { get }
get · iOS 6.0+

NSXPCConnectionErrorMaximum

TypeScript
const NSXPCConnectionErrorMaximum: number
Swift declaration
var NSXPCConnectionErrorMaximum: Int { get }
get · iOS 6.0+

NSXPCConnectionErrorMinimum

TypeScript
const NSXPCConnectionErrorMinimum: number
Swift declaration
var NSXPCConnectionErrorMinimum: Int { get }
get · iOS 6.0+

NSXPCConnectionReplyInvalid

TypeScript
const NSXPCConnectionReplyInvalid: number
Swift declaration
var NSXPCConnectionReplyInvalid: Int { get }
get · iOS 2.0+

NSExecutableNotLoadableError

TypeScript
const NSExecutableNotLoadableError: number
Swift declaration
var NSExecutableNotLoadableError: Int { get }
get

NSFileWriteNoPermissionError

TypeScript
const NSFileWriteNoPermissionError: number
Swift declaration
var NSFileWriteNoPermissionError: Int { get }
get · iOS 7.0+

NSUbiquitousFileErrorMaximum

TypeScript
const NSUbiquitousFileErrorMaximum: number
Swift declaration
var NSUbiquitousFileErrorMaximum: Int { get }
get · iOS 7.0+

NSUbiquitousFileErrorMinimum

TypeScript
const NSUbiquitousFileErrorMinimum: number
Swift declaration
var NSUbiquitousFileErrorMinimum: Int { get }
get · iOS 4.0+

NSPropertyListReadStreamError

TypeScript
const NSPropertyListReadStreamError: number
Swift declaration
var NSPropertyListReadStreamError: Int { get }
get

NSURLErrorCannotConnectToHost

TypeScript
const NSURLErrorCannotConnectToHost: number
Swift declaration
var NSURLErrorCannotConnectToHost: Int { get }
get

NSURLErrorCannotDecodeRawData

TypeScript
const NSURLErrorCannotDecodeRawData: number
Swift declaration
var NSURLErrorCannotDecodeRawData: Int { get }
get

NSURLErrorCannotParseResponse

TypeScript
const NSURLErrorCannotParseResponse: number
Swift declaration
var NSURLErrorCannotParseResponse: Int { get }
get · iOS 10.3+

NSURLErrorFileOutsideSafeArea

TypeScript
const NSURLErrorFileOutsideSafeArea: number
Swift declaration
var NSURLErrorFileOutsideSafeArea: Int { get }
get

NSURLErrorResourceUnavailable

TypeScript
const NSURLErrorResourceUnavailable: number
Swift declaration
var NSURLErrorResourceUnavailable: Int { get }
get

NSFileReadInvalidFileNameError

TypeScript
const NSFileReadInvalidFileNameError: number
Swift declaration
var NSFileReadInvalidFileNameError: Int { get }
get · iOS 4.0+

NSFileWriteVolumeReadOnlyError

TypeScript
const NSFileWriteVolumeReadOnlyError: number
Swift declaration
var NSFileWriteVolumeReadOnlyError: Int { get }
get · iOS 4.0+

NSPropertyListReadCorruptError

TypeScript
const NSPropertyListReadCorruptError: number
Swift declaration
var NSPropertyListReadCorruptError: Int { get }
get · iOS 4.0+

NSPropertyListWriteStreamError

TypeScript
const NSPropertyListWriteStreamError: number
Swift declaration
var NSPropertyListWriteStreamError: Int { get }
get

NSURLErrorHTTPTooManyRedirects

TypeScript
const NSURLErrorHTTPTooManyRedirects: number
Swift declaration
var NSURLErrorHTTPTooManyRedirects: Int { get }
get · iOS 10.0+

NSCloudSharingNoPermissionError

TypeScript
const NSCloudSharingNoPermissionError: number
Swift declaration
var NSCloudSharingNoPermissionError: Int { get }
get

NSFileWriteInvalidFileNameError

TypeScript
const NSFileWriteInvalidFileNameError: number
Swift declaration
var NSFileWriteInvalidFileNameError: Int { get }
get · iOS 8.0+

NSPropertyListWriteInvalidError

TypeScript
const NSPropertyListWriteInvalidError: number
Swift declaration
var NSPropertyListWriteInvalidError: Int { get }
get

NSURLErrorCannotLoadFromNetwork

TypeScript
const NSURLErrorCannotLoadFromNetwork: number
Swift declaration
var NSURLErrorCannotLoadFromNetwork: Int { get }
get

NSURLErrorNetworkConnectionLost

TypeScript
const NSURLErrorNetworkConnectionLost: number
Swift declaration
var NSURLErrorNetworkConnectionLost: Int { get }
get · iOS 10.0+

NSCloudSharingQuotaExceededError

TypeScript
const NSCloudSharingQuotaExceededError: number
Swift declaration
var NSCloudSharingQuotaExceededError: Int { get }
get · iOS 2.0+

NSExecutableRuntimeMismatchError

TypeScript
const NSExecutableRuntimeMismatchError: number
Swift declaration
var NSExecutableRuntimeMismatchError: Int { get }
get

NSFileReadUnsupportedSchemeError

TypeScript
const NSFileReadUnsupportedSchemeError: number
Swift declaration
var NSFileReadUnsupportedSchemeError: Int { get }
get

NSURLErrorNotConnectedToInternet

TypeScript
const NSURLErrorNotConnectedToInternet: number
Swift declaration
var NSURLErrorNotConnectedToInternet: Int { get }
get

NSURLErrorSecureConnectionFailed

TypeScript
const NSURLErrorSecureConnectionFailed: number
Swift declaration
var NSURLErrorSecureConnectionFailed: Int { get }
get · iOS 7.0+

NSUbiquitousFileUnavailableError

TypeScript
const NSUbiquitousFileUnavailableError: number
Swift declaration
var NSUbiquitousFileUnavailableError: Int { get }
get · iOS 8.0+

NSUserActivityHandoffFailedError

TypeScript
const NSUserActivityHandoffFailedError: number
Swift declaration
var NSUserActivityHandoffFailedError: Int { get }
get · iOS 10.0+

NSCloudSharingNetworkFailureError

TypeScript
const NSCloudSharingNetworkFailureError: number
Swift declaration
var NSCloudSharingNetworkFailureError: Int { get }
get

NSFileWriteUnsupportedSchemeError

TypeScript
const NSFileWriteUnsupportedSchemeError: number
Swift declaration
var NSFileWriteUnsupportedSchemeError: Int { get }
get

NSURLErrorCannotDecodeContentData

TypeScript
const NSURLErrorCannotDecodeContentData: number
Swift declaration
var NSURLErrorCannotDecodeContentData: Int { get }
get · iOS 3.0+

NSURLErrorInternationalRoamingOff

TypeScript
const NSURLErrorInternationalRoamingOff: number
Swift declaration
var NSURLErrorInternationalRoamingOff: Int { get }
get

NSURLErrorNoPermissionsToReadFile

TypeScript
const NSURLErrorNoPermissionsToReadFile: number
Swift declaration
var NSURLErrorNoPermissionsToReadFile: Int { get }
get · iOS 2.0+

NSURLErrorDataLengthExceedsMaximum

TypeScript
const NSURLErrorDataLengthExceedsMaximum: number
Swift declaration
var NSURLErrorDataLengthExceedsMaximum: Int { get }
get

NSURLErrorClientCertificateRejected

TypeScript
const NSURLErrorClientCertificateRejected: number
Swift declaration
var NSURLErrorClientCertificateRejected: Int { get }
get

NSURLErrorClientCertificateRequired

TypeScript
const NSURLErrorClientCertificateRequired: number
Swift declaration
var NSURLErrorClientCertificateRequired: Int { get }
get · iOS 2.0+

NSFileReadUnknownStringEncodingError

TypeScript
const NSFileReadUnknownStringEncodingError: number
Swift declaration
var NSFileReadUnknownStringEncodingError: Int { get }
get · iOS 3.0+

NSURLErrorRequestBodyStreamExhausted

TypeScript
const NSURLErrorRequestBodyStreamExhausted: number
Swift declaration
var NSURLErrorRequestBodyStreamExhausted: Int { get }
get

NSURLErrorServerCertificateUntrusted

TypeScript
const NSURLErrorServerCertificateUntrusted: number
Swift declaration
var NSURLErrorServerCertificateUntrusted: Int { get }
get

NSURLErrorUserAuthenticationRequired

TypeScript
const NSURLErrorUserAuthenticationRequired: number
Swift declaration
var NSURLErrorUserAuthenticationRequired: Int { get }
get · iOS 2.0+

NSExecutableArchitectureMismatchError

TypeScript
const NSExecutableArchitectureMismatchError: number
Swift declaration
var NSExecutableArchitectureMismatchError: Int { get }
get · iOS 4.0+

NSPropertyListReadUnknownVersionError

TypeScript
const NSPropertyListReadUnknownVersionError: number
Swift declaration
var NSPropertyListReadUnknownVersionError: Int { get }
get

NSURLErrorServerCertificateHasBadDate

TypeScript
const NSURLErrorServerCertificateHasBadDate: number
Swift declaration
var NSURLErrorServerCertificateHasBadDate: Int { get }
get

NSURLErrorUserCancelledAuthentication

TypeScript
const NSURLErrorUserCancelledAuthentication: number
Swift declaration
var NSURLErrorUserCancelledAuthentication: Int { get }
get · iOS 10.0+

NSCloudSharingTooManyParticipantsError

TypeScript
const NSCloudSharingTooManyParticipantsError: number
Swift declaration
var NSCloudSharingTooManyParticipantsError: Int { get }
get

NSURLErrorServerCertificateNotYetValid

TypeScript
const NSURLErrorServerCertificateNotYetValid: number
Swift declaration
var NSURLErrorServerCertificateNotYetValid: Int { get }
get · iOS 9.0+

NSBundleOnDemandResourceInvalidTagError

TypeScript
const NSBundleOnDemandResourceInvalidTagError: number
Swift declaration
var NSBundleOnDemandResourceInvalidTagError: Int { get }
get · iOS 9.0+

NSBundleOnDemandResourceOutOfSpaceError

TypeScript
const NSBundleOnDemandResourceOutOfSpaceError: number
Swift declaration
var NSBundleOnDemandResourceOutOfSpaceError: Int { get }
get

NSURLErrorRedirectToNonExistentLocation

TypeScript
const NSURLErrorRedirectToNonExistentLocation: number
Swift declaration
var NSURLErrorRedirectToNonExistentLocation: Int { get }
get · iOS 8.0+

NSUserActivityConnectionUnavailableError

TypeScript
const NSUserActivityConnectionUnavailableError: number
Swift declaration
var NSUserActivityConnectionUnavailableError: Int { get }
get

NSFileReadInapplicableStringEncodingError

TypeScript
const NSFileReadInapplicableStringEncodingError: number
Swift declaration
var NSFileReadInapplicableStringEncodingError: Int { get }
get

NSURLErrorDownloadDecodingFailedMidStream

TypeScript
const NSURLErrorDownloadDecodingFailedMidStream: number
Swift declaration
var NSURLErrorDownloadDecodingFailedMidStream: Int { get }
get

NSURLErrorServerCertificateHasUnknownRoot

TypeScript
const NSURLErrorServerCertificateHasUnknownRoot: number
Swift declaration
var NSURLErrorServerCertificateHasUnknownRoot: Int { get }
get

NSFileWriteInapplicableStringEncodingError

TypeScript
const NSFileWriteInapplicableStringEncodingError: number
Swift declaration
var NSFileWriteInapplicableStringEncodingError: Int { get }
get · iOS 8.0+

NSURLErrorBackgroundSessionWasDisconnected

TypeScript
const NSURLErrorBackgroundSessionWasDisconnected: number
Swift declaration
var NSURLErrorBackgroundSessionWasDisconnected: Int { get }
get

NSURLErrorDownloadDecodingFailedToComplete

TypeScript
const NSURLErrorDownloadDecodingFailedToComplete: number
Swift declaration
var NSURLErrorDownloadDecodingFailedToComplete: Int { get }
get · iOS 7.0+

NSUbiquitousFileNotUploadedDueToQuotaError

TypeScript
const NSUbiquitousFileNotUploadedDueToQuotaError: number
Swift declaration
var NSUbiquitousFileNotUploadedDueToQuotaError: Int { get }
get · iOS 7.0+

NSUbiquitousFileUbiquityServerNotAvailable

TypeScript
const NSUbiquitousFileUbiquityServerNotAvailable: number
Swift declaration
var NSUbiquitousFileUbiquityServerNotAvailable: Int { get }
get · iOS 8.0+

NSUserActivityHandoffUserInfoTooLargeError

TypeScript
const NSUserActivityHandoffUserInfoTooLargeError: number
Swift declaration
var NSUserActivityHandoffUserInfoTooLargeError: Int { get }
get · iOS 8.0+

NSUserActivityRemoteApplicationTimedOutError

TypeScript
const NSUserActivityRemoteApplicationTimedOutError: number
Swift declaration
var NSUserActivityRemoteApplicationTimedOutError: Int { get }
get · iOS 16.0+

NSXPCConnectionCodeSigningRequirementFailure

TypeScript
const NSXPCConnectionCodeSigningRequirementFailure: number
Swift declaration
var NSXPCConnectionCodeSigningRequirementFailure: Int { get }
get · iOS 9.0+

NSBundleOnDemandResourceExceededMaximumSizeError

TypeScript
const NSBundleOnDemandResourceExceededMaximumSizeError: number
Swift declaration
var NSBundleOnDemandResourceExceededMaximumSizeError: Int { get }
get · iOS 8.0+

NSURLErrorBackgroundSessionInUseByAnotherProcess

TypeScript
const NSURLErrorBackgroundSessionInUseByAnotherProcess: number
Swift declaration
var NSURLErrorBackgroundSessionInUseByAnotherProcess: Int { get }
get · iOS 8.0+

NSURLErrorBackgroundSessionRequiresSharedContainer

TypeScript
const NSURLErrorBackgroundSessionRequiresSharedContainer: number
Swift declaration
var NSURLErrorBackgroundSessionRequiresSharedContainer: Int { get }
get · iOS 9.0+

NSURLErrorAppTransportSecurityRequiresSecureConnection

TypeScript
const NSURLErrorAppTransportSecurityRequiresSecureConnection: number
Swift declaration
var NSURLErrorAppTransportSecurityRequiresSecureConnection: Int { get }
init · iOS 13.0+

init

TypeScript
static init(object: _ObjectiveC_NSObject, keyPath: "autoContentAccessingProxy" | SDKHandle, options: NSKeyValueObservingOptions): NSObject_KeyValueObservingPublisher<_ObjectiveC_NSObject, unknown>
Swift declaration
init(object: Subject, keyPath: KeyPath<Subject, Value>, options: NSKeyValueObservingOptions)
get · iOS 13.0+

object

TypeScript
get object(): _ObjectiveC_NSObject
Swift declaration
let object: Subject
get · iOS 13.0+

keyPath

TypeScript
get keyPath(): "autoContentAccessingProxy" | SDKHandle
Swift declaration
let keyPath: KeyPath<Subject, Value>
get · iOS 13.0+

options

TypeScript
get options(): NSKeyValueObservingOptions
Swift declaration
let options: NSKeyValueObservingOptions
method · iOS 15.0+

parse

TypeScript
parse(value: string): Decimal
Swift declaration
func parse(_ value: String) throws -> Format.FormatInput

Parses a decimal string in accordance with this strategy and returns the parsed value. Use this method to repeatedly parse decimal strings with the same ``Decimal/ParseStrategy``. To parse a single decimal string, use the initializers inherited from ``Decimal`` that take a `String` and a ``Decimal/FormatStyle`` as parameters. This method throws an error if the parse strategy can't parse the provided string. - Parameter value: The string to parse. - Returns: The parsed decimal value.

get · iOS 15.0+

lenient

TypeScript
get lenient(): boolean
Swift declaration
var lenient: Bool

A Boolean value that indicates whether the parse strategy permits some discrepancies when parsing.

set · iOS 15.0+

lenient

TypeScript
set lenient(value: boolean)
Swift declaration
var lenient: Bool

A Boolean value that indicates whether the parse strategy permits some discrepancies when parsing.

init · iOS 15.0+

init

TypeScript
static initFormatLenient(format: Decimal_FormatStyle_Percent, lenient?: boolean): Decimal_ParseStrategy<Decimal_FormatStyle_Percent>
Swift declaration
init(format: Format, lenient: Bool = true)

Creates a parse strategy instance using the specified decimal percentage format style. - Parameters: - format: A configured ``Decimal/FormatStyle/Percent`` that describes the percent string format to parse. - lenient: A Boolean value that indicates whether the parse strategy should permit some discrepancies when parsing. Defaults to `true`.

init · iOS 15.0+

init

TypeScript
static initFormatLenient66922(format: Decimal_FormatStyle_Currency, lenient?: boolean): Decimal_ParseStrategy<Decimal_FormatStyle_Currency>
Swift declaration
init(format: Format, lenient: Bool = true)

Creates a parse strategy instance using the specified decimal currency format style. - Parameters: - format: A configured ``Decimal/FormatStyle/Currency`` that describes the currency string format to parse. - lenient: A Boolean value that indicates whether the parse strategy should permit some discrepancies when parsing. Defaults to `true`.

init · iOS 15.0+

init

TypeScript
static initFormatLenient86719(format: Decimal_FormatStyle, lenient?: boolean): Decimal_ParseStrategy<Decimal_FormatStyle>
Swift declaration
init(format: Format, lenient: Bool = true)

Creates a parse strategy instance using the specified decimal format style. - Parameters: - format: A configured ``Decimal/FormatStyle`` that describes the string format to parse. - lenient: A Boolean value that indicates whether the parse strategy should permit some discrepancies when parsing. Defaults to `true`.

Skipped declarations

1,332 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Range.isValid(within:)

The containing type is outside the generated SDK type index.

Range.isValid(within:)

The containing type is outside the generated SDK type index.

RangeSet.isValid(within:)

The containing type is outside the generated SDK type index.

RangeSet.isValid(within:)

The containing type is outside the generated SDK type index.

String.init(_:)

The containing type is outside the generated SDK type index.

String.init(_:)

The containing type is outside the generated SDK type index.

Dictionary.init(_:)

The containing type is outside the generated SDK type index.

Dictionary.init(_:including:)

Passing a Swift type itself is not supported.

Dictionary.init(_:including:)

Passing a Swift type itself is not supported.

String.Index.init(_:within:)

The containing type is outside the generated SDK type index.

Range.init(_:in:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

Range.init(_:in:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

Range.init(_:in:)

The containing type is outside the generated SDK type index.

Range.init(_:in:)

The containing type is outside the generated SDK type index.

Array.regions

The containing type is outside the generated SDK type index.

ArraySlice.regions

The containing type is outside the generated SDK type index.

ContiguousArray.regions

The containing type is outside the generated SDK type index.

EmptyCollection.regions

The containing type is outside the generated SDK type index.

Repeated.regions

The containing type is outside the generated SDK type index.

Array.withBytes(_:)

The containing type is outside the generated SDK type index.

ArraySlice.withBytes(_:)

The containing type is outside the generated SDK type index.

ContiguousArray.withBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeRawBufferPointer.withUnsafeBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeRawBufferPointer.withBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeMutableRawBufferPointer.withUnsafeBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeMutableRawBufferPointer.withBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeBufferPointer.withUnsafeBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeBufferPointer.withBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeMutableBufferPointer.withUnsafeBytes(_:)

The containing type is outside the generated SDK type index.

UnsafeMutableBufferPointer.withBytes(_:)

The containing type is outside the generated SDK type index.