Foundation iOS 16.0 20A5303f to 20A5312e API Differences

Modified NSLog(_:_:)
Replacement
Frompublic func NSLog(_: Swift.String, _: Swift.CVarArg...)
Topublic func NSLog(_: Swift.String, _: some Swift.CVarArg...)

ByteCountFormatStyle
Modified ByteCountFormatStyle.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified ByteCountFormatStyle.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified ByteCountFormatStyle.Attributed.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified ByteCountFormatStyle.Attributed.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

CodableConfiguration
Modified CodableConfiguration.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CodableConfiguration.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

CurrencyFormatStyleConfiguration
Modified CurrencyFormatStyleConfiguration.Presentation.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CurrencyFormatStyleConfiguration.Presentation.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified CurrencyFormatStyleConfiguration.SignDisplayStrategy.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified CurrencyFormatStyleConfiguration.SignDisplayStrategy.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

DateInterval
Modified DateInterval.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified DateInterval.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

DescriptiveNumberFormatConfiguration
Modified DescriptiveNumberFormatConfiguration.Presentation.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified DescriptiveNumberFormatConfiguration.Presentation.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

FloatingPointFormatStyle
Modified FloatingPointFormatStyle.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified FloatingPointFormatStyle.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

FloatingPointParseStrategy
Modified FloatingPointParseStrategy.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified FloatingPointParseStrategy.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

FormatStyleCapitalizationContext
Modified FormatStyleCapitalizationContext.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified FormatStyleCapitalizationContext.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

IntegerFormatStyle
Modified IntegerFormatStyle.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified IntegerFormatStyle.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

IntegerParseStrategy
Modified IntegerParseStrategy.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified IntegerParseStrategy.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

ListFormatStyle
Modified ListFormatStyle.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified ListFormatStyle.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

LocalizedStringResource
Modified LocalizedStringResource.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified LocalizedStringResource.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

MeasurementFormatUnitUsage
Modified MeasurementFormatUnitUsage.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified MeasurementFormatUnitUsage.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

NumberFormatStyleConfiguration
Modified NumberFormatStyleConfiguration.DecimalSeparatorDisplayStrategy.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified NumberFormatStyleConfiguration.DecimalSeparatorDisplayStrategy.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified NumberFormatStyleConfiguration.Grouping.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified NumberFormatStyleConfiguration.Grouping.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified NumberFormatStyleConfiguration.Notation.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified NumberFormatStyleConfiguration.Notation.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified NumberFormatStyleConfiguration.Precision.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified NumberFormatStyleConfiguration.Precision.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified NumberFormatStyleConfiguration.SignDisplayStrategy.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified NumberFormatStyleConfiguration.SignDisplayStrategy.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

PresentationIntent
Modified PresentationIntent.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified PresentationIntent.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified PresentationIntent.IntentType.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified PresentationIntent.IntentType.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified PresentationIntent.Kind.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified PresentationIntent.Kind.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

Modified PresentationIntent.TableColumn.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified PresentationIntent.TableColumn.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

SortDescriptor
Modified SortDescriptor.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified SortDescriptor.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

SortOrder
Modified SortOrder.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified SortOrder.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

StringStyle
Modified StringStyle.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified StringStyle.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

URLResource
Modified URLResource.init(from:)
Replacement
Frompublic init(from: Swift.Decoder) throws
Topublic init(from: some Swift.Decoder) throws

Modified URLResource.encode(to:)
Replacement
Frompublic func encode(to: Swift.Encoder) throws
Topublic func encode(to: some Swift.Encoder) throws

URLResourceValues
Modified URLResourceValues.fileResourceIdentifier
Replacement
Frompublic var fileResourceIdentifier: (_: Foundation.NSCopying & Foundation.NSSecureCoding & ObjectiveC.NSObjectProtocol)? { get }
Topublic var fileResourceIdentifier: (_: some Foundation.NSCopying & Foundation.NSSecureCoding & ObjectiveC.NSObjectProtocol)? { get }

Modified URLResourceValues.generationIdentifier
Replacement
From@available(macOS 10.10, iOS 8.0, *) public var generationIdentifier: (_: Foundation.NSCopying & Foundation.NSSecureCoding & ObjectiveC.NSObjectProtocol)? { get }
To@available(macOS 10.10, iOS 8.0, *) public var generationIdentifier: (_: some Foundation.NSCopying & Foundation.NSSecureCoding & ObjectiveC.NSObjectProtocol)? { get }

Modified URLResourceValues.volumeIdentifier
Replacement
Frompublic var volumeIdentifier: (_: Foundation.NSCopying & Foundation.NSSecureCoding & ObjectiveC.NSObjectProtocol)? { get }
Topublic var volumeIdentifier: (_: some Foundation.NSCopying & Foundation.NSSecureCoding & ObjectiveC.NSObjectProtocol)? { get }