Foundation API Matrix — iOS · macOS · MiniSwift

Per-API comparison of Apple Foundation against MiniSwift's native (ir-to-c) implementation, across the practical Foundation surface. Native backend: ✅ executable codegen · 🟡 partial / with caveat · ❌ name-resolves only.

105
Full — executable native codegen
377
Partial — partial / with caveat
3450
Not yet — name-resolves only
3932
Total APIs compared
1. Date / Calendar / time stack2. Data / byte buffers3. NSString / Foundation String extensions / Scanner4. CharacterSet / Regex / AttributedString5. NSNumber / Decimal numbers6. Locale / NumberFormatter / FormatStyle7. Measurement / Units8. Other formatters9. URL / URLComponents10. URL requests / responses / URLSession11. File system / Bundle / Process12. Foundation collections / IndexPath / IndexSet13. UUID / identity / NSObject value types14. Serialization / Coding15. UserDefaults / preferences16. Notifications / KVO / NSObject runtime17. Concurrency / threading / timers / run loop18. Errors / exceptions19. Predicates / expressions / sorting20. Process info / system / progress21. macOS-only legacy / scripting / distributed / geometry

1. Date / Calendar / time stack

19·76·114
Date.init()
public init()
Lowers to __date_now wall clock; Double epoch seconds. Time-dependent output.
iOS allmacOS all
Date.init(timeIntervalSinceNow:)
public init(timeIntervalSinceNow: TimeInterval)
__date_now + offset.
iOS allmacOS all
Date.init(timeIntervalSince1970:)
public init(timeIntervalSince1970: TimeInterval)
Value cast to Double seconds; primary storage form. _(audit: native ❌, wasm ✅)_
iOS allmacOS all
Date.init(timeInterval:since:)
public init(timeInterval: TimeInterval, since date: Date)
date + interval as raw seconds.
iOS allmacOS all
Date.init(timeIntervalSinceReferenceDate:)
public init(timeIntervalSinceReferenceDate ti: TimeInterval)
Adds 978307200.0 reference offset (hardcoded).
iOS allmacOS all
Date.timeIntervalBetween1970AndReferenceDate
public static let timeIntervalBetween1970AndReferenceDate: Double
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.timeIntervalSinceReferenceDate (static)
public static var timeIntervalSinceReferenceDate: TimeInterval { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.timeIntervalSinceReferenceDate
public var timeIntervalSinceReferenceDate: TimeInterval { get }
Raw seconds - 978307200.0. _(audit: native ❌, wasm ✅)_
iOS allmacOS all
Date.timeIntervalSince(_:)
public func timeIntervalSince(_ date: Date) -> TimeInterval
self - other for date-like locals. _(audit: native ❌, wasm 🟡)_
iOS allmacOS all
Date.timeIntervalSinceNow
public var timeIntervalSinceNow: TimeInterval { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.timeIntervalSince1970
public var timeIntervalSince1970: TimeInterval { get }
Raw Double seconds; primary storage form.
iOS allmacOS all
Date.addingTimeInterval(_:)
public func addingTimeInterval(_ timeInterval: TimeInterval) -> Date
self + interval. No mutating addTimeInterval lowering. _(audit: native ❌, wasm 🟡)_
iOS allmacOS all
Date.addTimeInterval(_:)
public mutating func addTimeInterval(_ timeInterval: TimeInterval)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.distantFuture
public static let distantFuture: Date
Approximate deterministic 64092211200.0; not Foundation's centuries value.
iOS allmacOS all
Date.distantPast
public static let distantPast: Date
Returns 0.0 (Unix epoch), not Foundation's distant past; diverges.
iOS allmacOS all
Date.now
public static var now: Date { get }
Static property lowers to __date_now.
iOS iOS 15macOS macOS 12
Date.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.compare(_:)
public func compare(_ other: Date) -> ComparisonResult
__date_compare returns -1/0/1 at second granularity. _(audit: native ❌, wasm 🟡)_
iOS allmacOS all
Date.==(_:_:)
public static func == (lhs: Date, rhs: Date) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.<(_:_:)
public static func < (lhs: Date, rhs: Date) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.>(_:_:)
public static func > (lhs: Date, rhs: Date) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.+(_:_:)
public static func + (lhs: Date, rhs: TimeInterval) -> Date
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.-(_:_:)
public static func - (lhs: Date, rhs: TimeInterval) -> Date
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.+=(_:_:)
public static func += (lhs: inout Date, rhs: TimeInterval)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.-=(_:_:)
public static func -= (lhs: inout Date, rhs: TimeInterval)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Date.formatted(_:)
public func formatted<F>(_ format: F) -> F.FormatOutput where F : FormatStyle, F.FormatInput == Date
formatted() lowers to __date_iso8601 UTC string; style argument effectively ignored.
iOS iOS 15macOS macOS 12
Date.init(_:strategy:)
public init<T>(_ value: T.ParseInput, strategy: T) throws where T : ParseStrategy, T.ParseOutput == Date
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Date.ISO8601Format(_:)
public func ISO8601Format(_ style: Date.ISO8601FormatStyle = .init()) -> String
Returns ISO UTC string; ISO8601FormatStyle argument effectively ignored.
iOS iOS 15macOS macOS 12
Date.ISO8601FormatStyle
public struct ISO8601FormatStyle : Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Date.HTTPFormatStyle
public struct HTTPFormatStyle : Sendable, Hashable, Codable, ParseableFormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
DateComponents.init(calendar:timeZone:era:year:...)
public init(calendar: Calendar? = nil, timeZone: TimeZone? = nil, era: Int? = nil, year: Int? = nil, ... weekday/quarter/weekOfYear...)
Six int slots (year/month/day/hour/minute/second) set; other labels ignored; no nil semantics.
iOS allmacOS all
DateComponents.calendar
public var calendar: Calendar?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.timeZone
public var timeZone: TimeZone?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.era
public var era: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.year
public var year: Int?
Slot 0 settable; getter readback not lowered; no nil.
iOS allmacOS all
DateComponents.month
public var month: Int?
Slot 1 settable; getter readback not lowered; no nil.
iOS allmacOS all
DateComponents.day
public var day: Int?
Slot 2 settable; getter readback not lowered; no nil.
iOS allmacOS all
DateComponents.hour
public var hour: Int?
Slot 3 settable; getter readback not lowered; no nil.
iOS allmacOS all
DateComponents.minute
public var minute: Int?
Slot 4 settable; getter readback not lowered; no nil.
iOS allmacOS all
DateComponents.second
public var second: Int?
Slot 5 settable; getter readback not lowered; no nil.
iOS allmacOS all
DateComponents.nanosecond
public var nanosecond: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.weekday
public var weekday: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.weekdayOrdinal
public var weekdayOrdinal: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.quarter
public var quarter: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.weekOfMonth
public var weekOfMonth: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.weekOfYear
public var weekOfYear: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.dayOfYear
public var dayOfYear: Int?
name-resolves only; no executable Foundation codegen.
iOS iOS 18macOS macOS 15
DateComponents.yearForWeekOfYear
public var yearForWeekOfYear: Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.isLeapMonth
public var isLeapMonth: Bool?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.isRepeatedDay
public var isRepeatedDay: Bool?
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
DateComponents.date
public var date: Date? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.value(for:)
public func value(for component: Calendar.Component) -> Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.setValue(_:for:)
public mutating func setValue(_ value: Int?, for component: Calendar.Component)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.isValidDate
public var isValidDate: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.isValidDate(in:)
public func isValidDate(in calendar: Calendar) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.==(_:_:)
public static func == (lhs: DateComponents, rhs: DateComponents) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponents.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.Identifier
public enum Identifier : Sendable, CustomDebugStringConvertible (gregorian, buddhist, iso8601, japanese, persian, hebrew, islamic*, ...)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.Component
public enum Component : Sendable (era, year, month, day, hour, minute, second, weekday, ... nanosecond, calendar, timeZone)
component(_:from:) maps year..dayOfYear to codes 1..13; pair-API helpers mix code schemes.
iOS allmacOS all
Calendar.current
public static var current: Calendar { get }
Anchors method-call lowering; single UTC Gregorian model, not a stored value.
iOS allmacOS all
Calendar.autoupdatingCurrent
public static var autoupdatingCurrent: Calendar { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.init(identifier:)
public init(identifier: Calendar.Identifier)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.identifier
public var identifier: Calendar.Identifier { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.locale
public var locale: Locale?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.timeZone
public var timeZone: TimeZone
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.firstWeekday
public var firstWeekday: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.minimumDaysInFirstWeek
public var minimumDaysInFirstWeek: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.minimumRange(of:)
public func minimumRange(of component: Calendar.Component) -> Range<Int>?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.maximumRange(of:)
public func maximumRange(of component: Calendar.Component) -> Range<Int>?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.range(of:in:for:)
public func range(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) -> Range<Int>?
Runtime range helper for common pairs; return shape/component mapping not Foundation-compatible.
iOS allmacOS all
Calendar.dateInterval(of:start:interval:for:)
public func dateInterval(of component: Calendar.Component, start: inout Date, interval: inout TimeInterval, for date: Date) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.dateInterval(of:for:)
public func dateInterval(of component: Calendar.Component, for date: Date) -> DateInterval?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.ordinality(of:in:for:)
public func ordinality(of smaller: Calendar.Component, in larger: Calendar.Component, for date: Date) -> Int?
Runtime ordinal helper; component-code mismatch can break .day in .month.
iOS allmacOS all
Calendar.date(byAdding:to:wrappingComponents:)
public func date(byAdding components: DateComponents, to date: Date, wrappingComponents: Bool = false) -> Date?
Adds six slots y/m/d/h/m/s order; no wrapping, nanosecond, weekday/week/quarter; returns non-optional.
iOS allmacOS all
Calendar.date(byAdding:value:to:wrappingComponents:)
public func date(byAdding component: Calendar.Component, value: Int, to date: Date, wrappingComponents: Bool = false) -> Date?
Dedicated add for y/m/d/h/m/s/weekOfYear/quarter; month/year clamps; wrapping ignored.
iOS allmacOS all
Calendar.date(from:)
public func date(from components: DateComponents) -> Date?
Routes through __date_by_adding_components from epoch; year:2024 adds 2024y not absolute. Diverges.
iOS allmacOS all
Calendar.dateComponents(_:from:)
public func dateComponents(_ components: Set<Calendar.Component>, from date: Date) -> DateComponents
Calls __date_to_components; requested mask ignored; writes only y/m/d/h/m/s.
iOS allmacOS all
Calendar.dateComponents(in:from:)
public func dateComponents(in timeZone: TimeZone, from date: Date) -> DateComponents
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.dateComponents(_:from:to:)
public func dateComponents(_ components: Set<Calendar.Component>, from start: Date, to end: Date) -> DateComponents
__date_components_diff single scalar; set literal collapses to first component. Diverges.
iOS allmacOS all
Calendar.component(_:from:)
public func component(_ component: Calendar.Component, from date: Date) -> Int
Runtime extraction for year..dayOfYear; nanosecond returns 0; era simplified. _(audit: native ❌, wasm 🟡)_
iOS allmacOS all
Calendar.startOfDay(for:)
public func startOfDay(for date: Date) -> Date
UTC midnight; no DST gap/repeated-midnight handling.
iOS allmacOS all
Calendar.compare(_:to:toGranularity:)
public func compare(_ date1: Date, to date2: Date, toGranularity component: Calendar.Component) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.isDate(_:equalTo:toGranularity:)
public func isDate(_ date1: Date, equalTo date2: Date, toGranularity component: Calendar.Component) -> Bool
Runtime granularity helper; component-code mismatch makes .month/.year unreliable.
iOS allmacOS all
Calendar.isDate(_:inSameDayAs:)
public func isDate(_ date1: Date, inSameDayAs date2: Date) -> Bool
UTC same-day check; ignores calendar/timeZone settings.
iOS allmacOS all
Calendar.isDateInToday(_:)
public func isDateInToday(_ date: Date) -> Bool
Compares vs runtime current UTC day; time-zone/locale ignored.
iOS allmacOS all
Calendar.isDateInYesterday(_:)
public func isDateInYesterday(_ date: Date) -> Bool
UTC day compare; time-zone/locale ignored.
iOS allmacOS all
Calendar.isDateInTomorrow(_:)
public func isDateInTomorrow(_ date: Date) -> Bool
UTC day compare; time-zone/locale ignored.
iOS allmacOS all
Calendar.isDateInWeekend(_:)
public func isDateInWeekend(_ date: Date) -> Bool
Saturday/Sunday via UTC weekday; no locale weekend policy.
iOS allmacOS all
Calendar.dateIntervalOfWeekend(containing:start:interval:)
public func dateIntervalOfWeekend(containing date: Date, start: inout Date, interval: inout TimeInterval) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.dateIntervalOfWeekend(containing:)
public func dateIntervalOfWeekend(containing date: Date) -> DateInterval?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.nextWeekend(startingAfter:start:interval:direction:)
public func nextWeekend(startingAfter date: Date, start: inout Date, interval: inout TimeInterval, direction: Calendar.SearchDirection = .forward) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.nextWeekend(startingAfter:direction:)
public func nextWeekend(startingAfter date: Date, direction: Calendar.SearchDirection = .forward) -> DateInterval?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.SearchDirection
public enum SearchDirection : Sendable { case forward, backward }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.RepeatedTimePolicy
public enum RepeatedTimePolicy : Sendable { case first, last }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.MatchingPolicy
public enum MatchingPolicy : Sendable, Equatable { case nextTime, nextTimePreservingSmallerComponents, ... }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.enumerateDates(startingAfter:matching:matchingPolicy:repeatedTimePolicy:direction:using:)
public func enumerateDates(startingAfter start: Date, matching components: DateComponents, matchingPolicy:, ..., using block: (Date?, Bool, inout Bool) -> Void)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.nextDate(after:matching:matchingPolicy:repeatedTimePolicy:direction:)
public func nextDate(after date: Date, matching components: DateComponents, matchingPolicy:, ...) -> Date?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.date(bySetting:value:of:)
public func date(bySetting component: Calendar.Component, value: Int, of date: Date) -> Date?
Runtime setter; component codes mismatch setter scale (.year=1 vs runtime 5). Diverges.
iOS allmacOS all
Calendar.date(bySettingHour:minute:second:of:matchingPolicy:...)
public func date(bySettingHour hour: Int, minute: Int, second: Int, of date: Date, matchingPolicy:, ...) -> Date?
Sets UTC time of day; options and invalid-time behavior ignored; non-optional.
iOS allmacOS all
Calendar.date(_:matchesComponents:)
public func date(_ date: Date, matchesComponents components: DateComponents) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.==(_:_:)
public static func == (lhs: Calendar, rhs: Calendar) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Calendar.eraSymbols / monthSymbols / weekdaySymbols / quarterSymbols / amSymbol / pmSymbol (symbol arrays)
public var monthSymbols: [String] { get } (and the full symbol-array family)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.start
public var start: Date
Getter reads slot 0 as Double; setter not lowered.
iOS allmacOS all
DateInterval.end
public var end: Date
Getter reads slot 1 as Double; setter not lowered.
iOS allmacOS all
DateInterval.duration
public var duration: TimeInterval
Computed end - start; setter not lowered.
iOS allmacOS all
DateInterval.init()
public init()
Stores [0.0, 0.0]; current-date semantics missing. Diverges.
iOS allmacOS all
DateInterval.init(start:end:)
public init(start: Date, end: Date)
Stores numeric slots; no reversed-interval precondition.
iOS allmacOS all
DateInterval.init(start:duration:)
public init(start: Date, duration: TimeInterval)
Computes numeric end; no negative-duration precondition.
iOS allmacOS all
DateInterval.compare(_:)
public func compare(_ dateInterval: DateInterval) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.intersects(_:)
public func intersects(_ dateInterval: DateInterval) -> Bool
Closed-interval overlap lhs.start<=rhs.end && rhs.start<=lhs.end.
iOS allmacOS all
DateInterval.intersection(with:)
public func intersection(with dateInterval: DateInterval) -> DateInterval?
Returns value DateInterval(max,min); disjoint gives reversed value not nil. Diverges.
iOS allmacOS all
DateInterval.contains(_:)
public func contains(_ date: Date) -> Bool
Closed containment date>=start && date<=end.
iOS allmacOS all
DateInterval.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.==(_:_:)
public static func == (lhs: DateInterval, rhs: DateInterval) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.<(_:_:)
public static func < (lhs: DateInterval, rhs: DateInterval) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateInterval.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.init(identifier:)
public init?(identifier: String)
Small map plus GMT+/-HH:MM parser; unknown IDs become offset 0 instead of nil. Diverges.
iOS allmacOS all
TimeZone.init(secondsFromGMT:)
public init?(secondsFromGMT seconds: Int)
Creates GMT+N identifier; no validity-range enforcement; non-optional.
iOS allmacOS all
TimeZone.init(abbreviation:)
public init?(abbreviation: String)
Treated like identifier; real abbreviation dictionary semantics missing. Diverges.
iOS allmacOS all
TimeZone.current
public static var current: TimeZone { get }
Deterministic GMT/offset 0 stand-in, not host zone.
iOS allmacOS all
TimeZone.autoupdatingCurrent
public static var autoupdatingCurrent: TimeZone { get }
GMT/0; no autoupdating behavior.
iOS allmacOS all
TimeZone.identifier
public var identifier: String { get }
Reads slot 0.
iOS allmacOS all
TimeZone.secondsFromGMT(for:)
public func secondsFromGMT(for date: Date = Date()) -> Int
Returns slot 1; date argument ignored (no DST).
iOS allmacOS all
TimeZone.abbreviation(for:)
public func abbreviation(for date: Date = Date()) -> String?
Returns slot 2; no nil, no date-sensitive abbreviation.
iOS allmacOS all
TimeZone.isDaylightSavingTime(for:)
public func isDaylightSavingTime(for date: Date = Date()) -> Bool
Always false; correct only for fixed non-DST zones.
iOS allmacOS all
TimeZone.daylightSavingTimeOffset(for:)
public func daylightSavingTimeOffset(for date: Date = Date()) -> TimeInterval
Always 0.0; no transition data.
iOS allmacOS all
TimeZone.nextDaylightSavingTimeTransition(after:)
public func nextDaylightSavingTimeTransition(after date: Date) -> Date?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.abbreviationDictionary
public static var abbreviationDictionary: [String : String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.nextDaylightSavingTimeTransition
public var nextDaylightSavingTimeTransition: Date? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.localizedName(for:locale:)
public func localizedName(for style: TimeZone.NameStyle, locale: Locale?) -> String?
Returns abbreviation slot; style/locale ignored. Diverges.
iOS allmacOS all
TimeZone.gmt
public static var gmt: TimeZone { get }
GMT/offset 0; exposed unconditionally.
iOS allmacOS all
TimeZone.NameStyle
public enum NameStyle : Int { standard, shortStandard, daylightSaving, shortDaylightSaving, generic, shortGeneric }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.==(_:_:)
public static func == (lhs: TimeZone, rhs: TimeZone) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.knownTimeZoneIdentifiers
public static var knownTimeZoneIdentifiers: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.timeZoneDataVersion
public static var timeZoneDataVersion: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
TimeZone.description
public var description: String { get }
Identifier slot; not full Foundation debug output.
iOS allmacOS all
DateFormatter.init()
public init()
Four-slot formatter object; no NSObject/Formatter runtime.
iOS allmacOS all
DateFormatter.string(from:)
open func string(from date: Date) -> String
UTC formatter; explicit dateFormat wins, empty falls back to yyyy-MM-dd'T'HH:mm:ssZ; no locale.
iOS allmacOS all
DateFormatter.date(from:)
open func date(from string: String) -> Date?
Parses ISO-like literals to Double; nonliteral returns 0.0 not nil; settings unused.
iOS allmacOS all
DateFormatter.localizedString(from:dateStyle:timeStyle:)
open class func localizedString(from date: Date, dateStyle: DateFormatter.Style, timeStyle: DateFormatter.Style) -> String
Fallback ISO-like format; style args accepted but not locale-sensitive.
iOS allmacOS all
DateFormatter.dateFormat(fromTemplate:options:locale:)
open class func dateFormat(fromTemplate: String, options: Int, locale: Locale?) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.setLocalizedDateFormatFromTemplate(_:)
open func setLocalizedDateFormatFromTemplate(_ dateFormatTemplate: String)
Stores template as dateFormat; no locale/template expansion.
iOS allmacOS all
DateFormatter.dateFormat
open var dateFormat: String!
Slot 0; common numeric tokens yyyy/MM/dd/HH/mm/ss/Z work in runtime parser.
iOS allmacOS all
DateFormatter.dateStyle
open var dateStyle: DateFormatter.Style
Stored as int code; output fallback stays pragmatic ISO-like.
iOS allmacOS all
DateFormatter.timeStyle
open var timeStyle: DateFormatter.Style
Stored as int code; output fallback stays pragmatic ISO-like.
iOS allmacOS all
DateFormatter.locale
open var locale: Locale!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.timeZone
open var timeZone: TimeZone!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.calendar
open var calendar: Calendar!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.isLenient
open var isLenient: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.defaultDate
open var defaultDate: Date?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.formatterBehavior
open var formatterBehavior: DateFormatter.Behavior
Stored in slot 3; no behavior impact.
iOS allmacOS all
DateFormatter.monthSymbols / weekdaySymbols / amSymbol (symbol arrays)
open var monthSymbols: [String]! { get set } (and the full symbol-array family)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateFormatter.Style
public enum Style : UInt { case none=0, short=1, medium=2, long=3, full=4 }
Integer constants 0..4; covered by style readback tests.
iOS allmacOS all
DateFormatter.Behavior
public enum Behavior : UInt { case default=0, behavior10_4=1040 }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ISO8601DateFormatter.init()
public init()
Two-slot formatter; default formatOptions read as 1907 (withInternetDateTime).
iOS allmacOS all
ISO8601DateFormatter.timeZone
open var timeZone: TimeZone!
Slot 1 placeholder; formatting remains UTC.
iOS allmacOS all
ISO8601DateFormatter.formatOptions
open var formatOptions: ISO8601DateFormatter.Options
Slot 0 int; single constants/presets supported; no full bitwise composition.
iOS allmacOS all
ISO8601DateFormatter.string(from:)
open func string(from date: Date) -> String
UTC string by preset; withFullDate and withFractionalSeconds have special output.
iOS allmacOS all
ISO8601DateFormatter.date(from:)
open func date(from string: String) -> Date?
Parses ISO-like literals to Double; nonliteral returns 0.0 not nil.
iOS allmacOS all
ISO8601DateFormatter.string(from:timeZone:formatOptions:)
open class func string(from date: Date, timeZone: TimeZone, formatOptions: ISO8601DateFormatter.Options = []) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ISO8601DateFormatter.Options.init(rawValue:)
public init(rawValue: UInt)
Int-backed; exact presets drive output, arbitrary combinations not interpreted.
iOS allmacOS all
ISO8601DateFormatter.Options.withYear
public static var withYear: ISO8601DateFormatter.Options { get }
Code 1; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withMonth
public static var withMonth: ISO8601DateFormatter.Options { get }
Code 2; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withWeekOfYear
public static var withWeekOfYear: ISO8601DateFormatter.Options { get }
Code 4; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withDay
public static var withDay: ISO8601DateFormatter.Options { get }
Code 16; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withTime
public static var withTime: ISO8601DateFormatter.Options { get }
Code 32; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withTimeZone
public static var withTimeZone: ISO8601DateFormatter.Options { get }
Code 64; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withSpaceBetweenDateAndTime
public static var withSpaceBetweenDateAndTime: ISO8601DateFormatter.Options { get }
Code 128; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withDashSeparatorInDate
public static var withDashSeparatorInDate: ISO8601DateFormatter.Options { get }
Code 256; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withColonSeparatorInTime
public static var withColonSeparatorInTime: ISO8601DateFormatter.Options { get }
Code 512; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withColonSeparatorInTimeZone
public static var withColonSeparatorInTimeZone: ISO8601DateFormatter.Options { get }
Code 1024; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withFractionalSeconds
public static var withFractionalSeconds: ISO8601DateFormatter.Options { get }
Code 2048; outputs yyyy-MM-dd'T'HH:mm:ss.000Z.
iOS allmacOS all
ISO8601DateFormatter.Options.withFullDate
public static var withFullDate: ISO8601DateFormatter.Options { get }
Code 275; outputs yyyy-MM-dd.
iOS allmacOS all
ISO8601DateFormatter.Options.withFullTime
public static var withFullTime: ISO8601DateFormatter.Options { get }
Code 1632; stored only.
iOS allmacOS all
ISO8601DateFormatter.Options.withInternetDateTime
public static var withInternetDateTime: ISO8601DateFormatter.Options { get }
Code 1907 default; outputs yyyy-MM-dd'T'HH:mm:ssZ.
iOS allmacOS all
RelativeDateTimeFormatter.init()
public override init()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.dateTimeStyle
open var dateTimeStyle: RelativeDateTimeFormatter.DateTimeStyle
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.unitsStyle
open var unitsStyle: RelativeDateTimeFormatter.UnitsStyle
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.calendar
open var calendar: Calendar!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.locale
open var locale: Locale!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.localizedString(from:)
open func localizedString(from dateComponents: DateComponents) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.localizedString(fromTimeInterval:)
open func localizedString(fromTimeInterval timeInterval: TimeInterval) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.localizedString(for:relativeTo:)
open func localizedString(for date: Date, relativeTo referenceDate: Date) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.DateTimeStyle
public enum DateTimeStyle : Int { case numeric=0, named=1 }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
RelativeDateTimeFormatter.UnitsStyle
public enum UnitsStyle : Int { case full=0, spellOut=1, short=2, abbreviated=3 }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.string(from:to:)
open func string(from fromDate: Date, to toDate: Date) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.string(from:)
open func string(from dateInterval: DateInterval) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.dateStyle
open var dateStyle: DateIntervalFormatter.Style
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.timeStyle
open var timeStyle: DateIntervalFormatter.Style
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.dateTemplate
open var dateTemplate: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.locale / calendar / timeZone
open var locale: Locale! / calendar: Calendar! / timeZone: TimeZone!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateIntervalFormatter.Style
public enum Style : UInt { case none=0, short=1, medium=2, long=3, full=4 }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.string(from:) [DateComponents]
open func string(from components: DateComponents) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.string(from:to:)
open func string(from startDate: Date, to endDate: Date) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.string(from:) [TimeInterval]
open func string(from ti: TimeInterval) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.localizedString(from:unitsStyle:)
open class func localizedString(from components: DateComponents, unitsStyle: DateComponentsFormatter.UnitsStyle) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.unitsStyle
open var unitsStyle: DateComponentsFormatter.UnitsStyle
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.allowedUnits
open var allowedUnits: NSCalendar.Unit
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.zeroFormattingBehavior
open var zeroFormattingBehavior: DateComponentsFormatter.ZeroFormattingBehavior
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.maximumUnitCount
open var maximumUnitCount: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.UnitsStyle
public enum UnitsStyle : Int { positional=0, abbreviated=1, short=2, full=3, spellOut=4, brief=5 }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
DateComponentsFormatter.ZeroFormattingBehavior
public struct ZeroFormattingBehavior : OptionSet { default, dropLeading, dropMiddle, dropTrailing, dropAll, pad }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all

2. Data / byte buffers

15·8·121
Data.init(bytes:count:)
@inlinable public init(bytes: UnsafeRawPointer, count: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(buffer:) (UnsafeBufferPointer)
@inlinable public init<SourceType>(buffer: UnsafeBufferPointer<SourceType>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(buffer:) (UnsafeMutableBufferPointer)
@inlinable public init<SourceType>(buffer: UnsafeMutableBufferPointer<SourceType>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(repeating:count:)
@inlinable public init(repeating repeatedValue: UInt8, count: Int)
Repeated-byte buffer; covered by advanced test paths
iOS allmacOS all
Data.init(capacity:)
@inlinable public init(capacity: Int)
Empty data with reserved capacity; covered by advanced tests
iOS allmacOS all
Data.init(count:)
@inlinable public init(count: Int)
Zero-filled buffer of count bytes; no allocator/memory-pressure behavior
iOS allmacOS all
Data.init()
@inlinable public init()
Empty byte buffer; covered by append and file I/O paths
iOS allmacOS all
Data.init(bytesNoCopy:count:deallocator:)
@inlinable public init(bytesNoCopy bytes: UnsafeMutableRawPointer, count: Int, deallocator: Data.Deallocator)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(_:) (Sequence<UInt8>)
@inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8
[UInt8]/array-literal input supported; arbitrary Sequence<UInt8> not lowered
iOS allmacOS all
Data.init(bytes:) (Sequence, deprecated)
public init<S>(bytes elements: S) where S : Sequence, S.Element == UInt8
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(contentsOf:options:)
public init(contentsOf url: URL, options: Data.ReadingOptions = []) throws
Local host file read via __data_read_file; no throw, options ignored, no remote URL
iOS allmacOS all
Data.init(base64Encoded:options:) (String)
public init?(base64Encoded base64String: String, options: Data.Base64DecodingOptions = [])
Decodes to Data value; no nil-on-invalid optional failure, options ignored
iOS allmacOS all
Data.init(base64Encoded:options:) (Data)
public init?(base64Encoded base64Data: Data, options: Data.Base64DecodingOptions = [])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(from:) (Decodable)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.init(referencing:)
public init(referencing reference: NSData)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.reserveCapacity(_:)
@inlinable public mutating func reserveCapacity(_ minimumCapacity: Int)
Reserves backing buffer capacity; covered by advanced test paths
iOS allmacOS all
Data.count
@inlinable public var count: Int
Header length via __data_count; covered by data/file/UserDefaults tests
iOS allmacOS all
Data.regions
@inlinable public var regions: CollectionOfOne<Data> { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.withUnsafeBytes(_:) (deprecated typed)
public func withUnsafeBytes<ResultType, ContentType>(_ body: (UnsafePointer<ContentType>) throws -> ResultType) rethrows -> ResultType
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.withUnsafeBytes(_:) (raw)
@inlinable public func withUnsafeBytes<ResultType>(_ body: (UnsafeRawBufferPointer) throws -> ResultType) rethrows -> ResultType
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.bytes (RawSpan)
public var bytes: RawSpan { get }
name-resolves only; no executable Foundation codegen
iOS iOS 12.2macOS macOS 10.14.4
Data.span
public var span: Span<UInt8> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 12.2macOS macOS 10.14.4
Data.mutableBytes (MutableRawSpan)
public var mutableBytes: MutableRawSpan { mutating get }
name-resolves only; no executable Foundation codegen
iOS iOS 12.2macOS macOS 10.14.4
Data.mutableSpan
public var mutableSpan: MutableSpan<UInt8> { mutating get }
name-resolves only; no executable Foundation codegen
iOS iOS 12.2macOS macOS 10.14.4
Data.withContiguousStorageIfAvailable(_:)
public func withContiguousStorageIfAvailable<ResultType>(_ body: (_ buffer: UnsafeBufferPointer<UInt8>) throws -> ResultType) rethrows -> ResultType?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.withUnsafeMutableBytes(_:) (deprecated typed)
public mutating func withUnsafeMutableBytes<ResultType, ContentType>(_ body: (UnsafeMutablePointer<ContentType>) throws -> ResultType) rethrows -> ResultType
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.withUnsafeMutableBytes(_:) (raw)
@inlinable public mutating func withUnsafeMutableBytes<ResultType>(_ body: (UnsafeMutableRawBufferPointer) throws -> ResultType) rethrows -> ResultType
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.copyBytes(to:count:)
@inlinable public func copyBytes(to pointer: UnsafeMutablePointer<UInt8>, count: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.copyBytes(to:from:) (range)
@inlinable public func copyBytes(to pointer: UnsafeMutablePointer<UInt8>, from range: Range<Data.Index>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.copyBytes(to:from:) (buffer)
@inlinable public func copyBytes<DestinationType>(to buffer: UnsafeMutableBufferPointer<DestinationType>, from range: Range<Data.Index>? = nil) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.enumerateBytes(_:)
public func enumerateBytes(_ block: (_ buffer: UnsafeBufferPointer<UInt8>, _ byteIndex: Data.Index, _ stop: inout Bool) -> Void)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.append(_:count:) (pointer)
@inlinable public mutating func append(_ bytes: UnsafePointer<UInt8>, count: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.append(_:) (Data)
public mutating func append(_ other: Data)
Loops over source bytes and appends; covered by tests
iOS allmacOS all
Data.append(_:) (buffer)
@inlinable public mutating func append<SourceType>(_ buffer: UnsafeBufferPointer<SourceType>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.append(contentsOf:) ([UInt8])
@inlinable public mutating func append(contentsOf bytes: [UInt8])
Supports array literals and [UInt8] variables; covered by tests
iOS allmacOS all
Data.append(contentsOf:) (Sequence)
@inlinable public mutating func append<S>(contentsOf elements: S) where S : Sequence, S.Element == UInt8
Byte-array/Data oriented; unsupported sequence inputs trap in lowering
iOS allmacOS all
Data.resetBytes(in:)
@inlinable public mutating func resetBytes(in range: Range<Data.Index>)
Zeroes specified byte range; covered by advanced test paths
iOS allmacOS all
Data.replaceSubrange(_:with:) (Data)
@inlinable public mutating func replaceSubrange(_ subrange: Range<Data.Index>, with data: Data)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.replaceSubrange(_:with:) (buffer)
@inlinable public mutating func replaceSubrange<SourceType>(_ subrange: Range<Data.Index>, with buffer: UnsafeBufferPointer<SourceType>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.replaceSubrange(_:with:) (Collection)
@inlinable public mutating func replaceSubrange<ByteCollection>(_ subrange: Range<Data.Index>, with newElements: ByteCollection) where ByteCollection : Collection, ByteCollection.Element == UInt8
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.replaceSubrange(_:with:count:) (pointer)
@inlinable public mutating func replaceSubrange(_ subrange: Range<Data.Index>, with bytes: UnsafeRawPointer, count cnt: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.subdata(in:)
public func subdata(in range: Range<Data.Index>) -> Data
Half-open/closed/saved ranges supported; bounds diagnostics not Foundation-compatible
iOS allmacOS all
Data.write(to:options:)
public func write(to url: URL, options: Data.WritingOptions = []) throws
Local host write via __data_write_file; no throw, options/atomic/metadata ignored
iOS allmacOS all
Data.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.advanced(by:)
public func advanced(by amount: Int) -> Data
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.subscript(index:)
@inlinable public subscript(index: Data.Index) -> UInt8
Read-only byte via __data_get_byte; no mutation subscript or bounds diagnostics
iOS allmacOS all
Data.subscript(bounds:)
@inlinable public subscript(bounds: Range<Data.Index>) -> Data
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.subscript(rangeExpression:)
@inlinable public subscript<R>(rangeExpression: R) -> Data where R : RangeExpression, R.Bound : FixedWidthInteger
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.startIndex
@inlinable public var startIndex: Data.Index { get }
Bounds property; covered by advanced test paths
iOS allmacOS all
Data.endIndex
@inlinable public var endIndex: Data.Index { get }
One-past-end equals count; covered by advanced test paths
iOS allmacOS all
Data.index(before:)
@inlinable public func index(before i: Data.Index) -> Data.Index
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.index(after:)
@inlinable public func index(after i: Data.Index) -> Data.Index
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.indices
@inlinable public var indices: Range<Int> { get }
Range property; covered by advanced test paths
iOS allmacOS all
Data.makeIterator()
@inlinable public func makeIterator() -> Data.Iterator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.Iterator.next()
public mutating func next() -> UInt8?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.range(of:options:in:)
public func range(of dataToFind: Data, options: Data.SearchOptions = [], in range: Range<Data.Index>? = nil) -> Range<Data.Index>?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.== (static)
@inlinable public static func == (d1: Data, d2: Data) -> Bool
Byte-content equality; covered by advanced test paths
iOS allmacOS all
Data.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.base64EncodedString(options:)
public func base64EncodedString(options: Data.Base64EncodingOptions = []) -> String
Encodes via runtime helper; option set (line length, CR/LF) unsupported
iOS allmacOS all
Data.base64EncodedData(options:)
public func base64EncodedData(options: Data.Base64EncodingOptions = []) -> Data
Base64-encoded Data output; covered by advanced test paths (options ignored)
iOS allmacOS all
Data.isEmpty
public var isEmpty: Bool { get } (Collection requirement)
Runtime helper check count==0; deterministic boolean
iOS allmacOS all
Data.Deallocator
public enum Deallocator { case virtualMemory, unmap, free, none, custom(...) }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.ReadingOptions
public typealias ReadingOptions = NSData.ReadingOptions
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.ReadingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.ReadingOptions.mappedIfSafe
public static var mappedIfSafe: NSData.ReadingOptions { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.ReadingOptions.uncached
public static var uncached: NSData.ReadingOptions { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.ReadingOptions.alwaysMapped
public static var alwaysMapped: NSData.ReadingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS macOS 10.7
Data.WritingOptions
public typealias WritingOptions = NSData.WritingOptions
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.WritingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.WritingOptions.atomic
public static var atomic: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.WritingOptions.withoutOverwriting
public static var withoutOverwriting: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6.0macOS macOS 10.8
Data.WritingOptions.noFileProtection
public static var noFileProtection: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 11.0
Data.WritingOptions.completeFileProtection
public static var completeFileProtection: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 11.0
Data.WritingOptions.completeFileProtectionUnlessOpen
public static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS macOS 11.0
Data.WritingOptions.completeFileProtectionUntilFirstUserAuthentication
public static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS macOS 11.0
Data.WritingOptions.completeFileProtectionWhenUserInactive
public static var completeFileProtectionWhenUserInactive: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17.0macOS
Data.WritingOptions.fileProtectionMask
public static var fileProtectionMask: NSData.WritingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 11.0
Data.SearchOptions.backwards
public static var backwards: NSData.SearchOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
Data.SearchOptions.anchored
public static var anchored: NSData.SearchOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
Data.Base64EncodingOptions
public typealias Base64EncodingOptions = NSData.Base64EncodingOptions
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.Base64EncodingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Data.Base64EncodingOptions.lineLength64Characters
public static var lineLength64Characters: NSData.Base64EncodingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Data.Base64EncodingOptions.lineLength76Characters
public static var lineLength76Characters: NSData.Base64EncodingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Data.Base64EncodingOptions.endLineWithCarriageReturn
public static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Data.Base64EncodingOptions.endLineWithLineFeed
public static var endLineWithLineFeed: NSData.Base64EncodingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Data.Base64DecodingOptions
public typealias Base64DecodingOptions = NSData.Base64DecodingOptions
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Data.Base64DecodingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Data.Base64DecodingOptions.ignoreUnknownCharacters
public static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.length
open var length: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.bytes
open var bytes: UnsafeRawPointer { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.startIndex
@nonobjc public var startIndex: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.endIndex
@nonobjc public var endIndex: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.lastRange(of:in:)
@nonobjc public func lastRange<D, R>(of data: D, in r: R) -> Range<Int>? where D : DataProtocol, R : RangeExpression, R.Bound == Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.firstRange(of:in:)
@nonobjc public func firstRange<D, R>(of data: D, in r: R) -> Range<Int>? where D : DataProtocol, R : RangeExpression, R.Bound == Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.regions
@nonobjc public var regions: [Data] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.subscript(position:)
@nonobjc public subscript(position: Int) -> UInt8 { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.description
open var description: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.getBytes(_:length:)
open func getBytes(_ buffer: UnsafeMutableRawPointer, length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.getBytes(_:range:)
open func getBytes(_ buffer: UnsafeMutableRawPointer, range: NSRange)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.isEqual(to:)
open func isEqual(to other: Data) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.subdata(with:)
open func subdata(with range: NSRange) -> Data
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.write(toFile:atomically:)
open func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.write(to:atomically:)
open func write(to url: URL, atomically: Bool) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.write(toFile:options:)
open func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.write(to:options:)
open func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.range(of:options:in:)
open func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
NSData.enumerateBytes(_:)
open func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.init(bytes:length:)
public init(bytes: UnsafeRawPointer?, length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(bytesNoCopy:length:)
public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(bytesNoCopy:length:freeWhenDone:)
public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone b: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(bytesNoCopy:length:deallocator:)
public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.init(contentsOfFile:options:)
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(contentsOf:options:)
public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(contentsOfFile:)
public init?(contentsOfFile path: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(contentsOf:)
public init?(contentsOf url: URL)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(data:)
public init(data: Data)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSData.init(base64Encoded:options:) (String)
public init?(base64Encoded base64String: String, options: NSData.Base64DecodingOptions = [])
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.base64EncodedString(options:)
open func base64EncodedString(options: NSData.Base64EncodingOptions = []) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.init(base64Encoded:options:) (Data)
public init?(base64Encoded base64Data: Data, options: NSData.Base64DecodingOptions = [])
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.base64EncodedData(options:)
open func base64EncodedData(options: NSData.Base64EncodingOptions = []) -> Data
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
NSData.decompressed(using:)
open func decompressed(using algorithm: NSData.CompressionAlgorithm) throws -> Self
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NSData.compressed(using:)
open func compressed(using algorithm: NSData.CompressionAlgorithm) throws -> Self
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NSData.getBytes(_:) (deprecated)
open func getBytes(_ buffer: UnsafeMutableRawPointer)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS macOS 10.0
NSData.dataWithContentsOfMappedFile(_:)
open class func dataWithContentsOfMappedFile(_ path: String) -> Any?
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS macOS 10.0
NSData.init(contentsOfMappedFile:)
public init?(contentsOfMappedFile path: String)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS macOS 10.0
NSData.CompressionAlgorithm
public enum CompressionAlgorithm : Int { case lzfse, lz4, lzma, zlib }
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NSMutableData.mutableBytes
open var mutableBytes: UnsafeMutableRawPointer { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.length
open var length: Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.append(_:length:)
open func append(_ bytes: UnsafeRawPointer, length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.append(_:) (Data)
open func append(_ other: Data)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.increaseLength(by:)
open func increaseLength(by extraLength: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.replaceBytes(in:withBytes:)
open func replaceBytes(in range: NSRange, withBytes bytes: UnsafeRawPointer)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.resetBytes(in:)
open func resetBytes(in range: NSRange)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.setData(_:)
open func setData(_ data: Data)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.replaceBytes(in:withBytes:length:)
open func replaceBytes(in range: NSRange, withBytes replacementBytes: UnsafeRawPointer?, length replacementLength: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.init(capacity:)
public init?(capacity: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.init(length:)
public init?(length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableData.decompress(using:)
open func decompress(using algorithm: NSData.CompressionAlgorithm) throws
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NSMutableData.compress(using:)
open func compress(using algorithm: NSData.CompressionAlgorithm) throws
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NSPurgeableData
open class NSPurgeableData : NSMutableData, NSDiscardableContent {}
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6

3. NSString / Foundation String extensions / Scanner

0·13·270
NSString.length
open var length: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.character(at:)
open func character(at index: Int) -> unichar
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(coder:)
public init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(stringLiteral:)
required public convenience init(stringLiteral value: StaticString)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(format:_:)
public convenience init(format: NSString, _ args: any CVarArg...)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(format:locale:_:)
public convenience init(format: NSString, locale: Locale?, _ args: any CVarArg...)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.localizedStringWithFormat(_:_:)
public class func localizedStringWithFormat(_ format: NSString, _ args: any CVarArg...) -> Self
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.appendingFormat(_:_:)
public func appendingFormat(_ format: NSString, _ args: any CVarArg...) -> NSString
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(string:)
public convenience init(string aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.substring(from:)
open func substring(from: Int) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.substring(to:)
open func substring(to: Int) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.substring(with:)
open func substring(with range: NSRange) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.getCharacters(_:range:)
open func getCharacters(_ buffer: UnsafeMutablePointer<unichar>, range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.compare(_:)
open func compare(_ string: String) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.compare(_:options:)
open func compare(_ string: String, options mask: NSString.CompareOptions = []) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.compare(_:options:range:)
open func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.compare(_:options:range:locale:)
open func compare(_ string: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToCompare: NSRange, locale: Any?) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.caseInsensitiveCompare(_:)
open func caseInsensitiveCompare(_ string: String) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.localizedCompare(_:)
open func localizedCompare(_ string: String) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.localizedCaseInsensitiveCompare(_:)
open func localizedCaseInsensitiveCompare(_ string: String) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.localizedStandardCompare(_:)
open func localizedStandardCompare(_ string: String) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSString.isEqual(to:)
open func isEqual(to aString: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.hasPrefix(_:)
open func hasPrefix(_ str: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.hasSuffix(_:)
open func hasSuffix(_ str: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.commonPrefix(with:options:)
open func commonPrefix(with str: String, options mask: NSString.CompareOptions = []) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.contains(_:)
open func contains(_ str: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
NSString.localizedCaseInsensitiveContains(_:)
open func localizedCaseInsensitiveContains(_ str: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
NSString.localizedStandardContains(_:)
open func localizedStandardContains(_ str: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSString.localizedStandardRange(of:)
open func localizedStandardRange(of str: String) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSString.range(of:)
open func range(of searchString: String) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.range(of:options:)
open func range(of searchString: String, options mask: NSString.CompareOptions = []) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.range(of:options:range:)
open func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.range(of:options:range:locale:)
open func range(of searchString: String, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange, locale: Locale?) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.rangeOfCharacter(from:)
open func rangeOfCharacter(from searchSet: CharacterSet) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.rangeOfCharacter(from:options:)
open func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = []) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.rangeOfCharacter(from:options:range:)
open func rangeOfCharacter(from searchSet: CharacterSet, options mask: NSString.CompareOptions = [], range rangeOfReceiverToSearch: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.rangeOfComposedCharacterSequence(at:)
open func rangeOfComposedCharacterSequence(at index: Int) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.rangeOfComposedCharacterSequences(for:)
open func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.appending(_:)
open func appending(_ aString: String) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.doubleValue
open var doubleValue: Double { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.floatValue
open var floatValue: Float { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.intValue
open var intValue: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.integerValue
open var integerValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.longLongValue
open var longLongValue: Int64 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.boolValue
open var boolValue: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.uppercased
open var uppercased: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.lowercased
open var lowercased: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.capitalized
open var capitalized: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.localizedUppercase
open var localizedUppercase: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSString.localizedLowercase
open var localizedLowercase: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSString.localizedCapitalized
open var localizedCapitalized: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSString.uppercased(with:)
open func uppercased(with locale: Locale?) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS all
NSString.lowercased(with:)
open func lowercased(with locale: Locale?) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS all
NSString.capitalized(with:)
open func capitalized(with locale: Locale?) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS all
NSString.lineRange(for:)
open func lineRange(for range: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.paragraphRange(for:)
open func paragraphRange(for range: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.enumerateSubstrings(in:options:using:)
open func enumerateSubstrings(in range: NSRange, options opts: NSString.EnumerationOptions = [], using block: ...)
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSString.enumerateLines(_:)
open func enumerateLines(_ block: @escaping (String, UnsafeMutablePointer<ObjCBool>) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSString.utf8String
open var utf8String: UnsafePointer<CChar>? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.fastestEncoding
open var fastestEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.smallestEncoding
open var smallestEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.data(using:allowLossyConversion:)
open func data(using encoding: UInt, allowLossyConversion lossy: Bool) -> Data?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.data(using:)
open func data(using encoding: UInt) -> Data?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.canBeConverted(to:)
open func canBeConverted(to encoding: UInt) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.cString(using:)
open func cString(using encoding: UInt) -> UnsafePointer<CChar>?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.maximumLengthOfBytes(using:)
open func maximumLengthOfBytes(using enc: UInt) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.lengthOfBytes(using:)
open func lengthOfBytes(using enc: UInt) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.availableStringEncodings
open class var availableStringEncodings: UnsafePointer<UInt> { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.localizedName(of:)
open class func localizedName(of encoding: UInt) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.defaultCStringEncoding
open class var defaultCStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.decomposedStringWithCanonicalMapping
open var decomposedStringWithCanonicalMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.precomposedStringWithCanonicalMapping
open var precomposedStringWithCanonicalMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.decomposedStringWithCompatibilityMapping
open var decomposedStringWithCompatibilityMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.precomposedStringWithCompatibilityMapping
open var precomposedStringWithCompatibilityMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.components(separatedBy:String)
open func components(separatedBy separator: String) -> [String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.components(separatedBy:CharacterSet)
open func components(separatedBy separator: CharacterSet) -> [String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.trimmingCharacters(in:)
open func trimmingCharacters(in set: CharacterSet) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.padding(toLength:withPad:startingAt:)
open func padding(toLength newLength: Int, withPad padString: String, startingAt padIndex: Int) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.folding(options:locale:)
open func folding(options: NSString.CompareOptions = [], locale: Locale?) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.replacingOccurrences(of:with:options:range:)
open func replacingOccurrences(of target: String, with replacement: String, options: NSString.CompareOptions = [], range searchRange: NSRange) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.replacingOccurrences(of:with:)
open func replacingOccurrences(of target: String, with replacement: String) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.replacingCharacters(in:with:)
open func replacingCharacters(in range: NSRange, with replacement: String) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.applyingTransform(_:reverse:)
open func applyingTransform(_ transform: StringTransform, reverse: Bool) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSString.write(to:atomically:encoding:)
open func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.write(toFile:atomically:encoding:)
open func write(toFile path: String, atomically useAuxiliaryFile: Bool, encoding enc: UInt) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.description
open var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.hash
open var hash: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(utf8String:)
public convenience init?(utf8String nullTerminatedCString: UnsafePointer<CChar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(characters:length:)
public convenience init(characters: UnsafePointer<unichar>, length: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(format:arguments:)
public convenience init(format: String, arguments argList: CVaListPointer)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(data:encoding:)
public convenience init?(data: Data, encoding: UInt)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(bytes:length:encoding:)
public convenience init?(bytes: UnsafeRawPointer, length len: Int, encoding: UInt)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(cString:encoding:)
public convenience init?(cString nullTerminatedCString: UnsafePointer<CChar>, encoding: UInt)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(contentsOf:encoding:)
public convenience init(contentsOf url: URL, encoding enc: UInt) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(contentsOfFile:encoding:)
public convenience init(contentsOfFile path: String, encoding enc: UInt) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.init(contentsOf:usedEncoding:)
public convenience init(contentsOf url: URL, usedEncoding enc: UnsafeMutablePointer<UInt>?) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.stringEncoding(for:encodingOptions:convertedString:usedLossyConversion:)
open class func stringEncoding(for data: Data, encodingOptions opts: [StringEncodingDetectionOptionsKey : Any]? = nil, ...) -> UInt
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
NSString.propertyList()
open func propertyList() -> Any
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.propertyListFromStringsFileFormat()
open func propertyListFromStringsFileFormat() -> [AnyHashable : Any]?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions
public struct CompareOptions : OptionSet, @unchecked Sendable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.caseInsensitive
public static var caseInsensitive: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.literal
public static var literal: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.backwards
public static var backwards: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.anchored
public static var anchored: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.numeric
public static var numeric: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.diacriticInsensitive
public static var diacriticInsensitive: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.widthInsensitive
public static var widthInsensitive: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.forcedOrdering
public static var forcedOrdering: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.CompareOptions.regularExpression
public static var regularExpression: NSString.CompareOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSString.EncodingConversionOptions
public struct EncodingConversionOptions : OptionSet, @unchecked Sendable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EncodingConversionOptions.allowLossy
public static var allowLossy: NSString.EncodingConversionOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EncodingConversionOptions.externalRepresentation
public static var externalRepresentation: NSString.EncodingConversionOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions
public struct EnumerationOptions : OptionSet, @unchecked Sendable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.byLines
public static var byLines: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.byParagraphs
public static var byParagraphs: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.byComposedCharacterSequences
public static var byComposedCharacterSequences: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.byWords
public static var byWords: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.bySentences
public static var bySentences: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.byCaretPositions
public static var byCaretPositions: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS all
NSString.EnumerationOptions.byDeletionClusters
public static var byDeletionClusters: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS all
NSString.EnumerationOptions.reverse
public static var reverse: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.substringNotRequired
public static var substringNotRequired: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSString.EnumerationOptions.localized
public static var localized: NSString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.replaceCharacters(in:with:)
open func replaceCharacters(in range: NSRange, with aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.appendFormat(_:_:)
public func appendFormat(_ format: NSString, _ args: any CVarArg...)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.insert(_:at:)
open func insert(_ aString: String, at loc: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.deleteCharacters(in:)
open func deleteCharacters(in range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.append(_:)
open func append(_ aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.setString(_:)
open func setString(_ aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.replaceOccurrences(of:with:options:range:)
open func replaceOccurrences(of target: String, with replacement: String, options: NSString.CompareOptions = [], range searchRange: NSRange) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableString.applyTransform(_:reverse:range:updatedRange:)
open func applyTransform(_ transform: StringTransform, reverse: Bool, range: NSRange, updatedRange resultingRange: NSRangePointer?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSMutableString.init(capacity:)
public init(capacity: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.string
open var string: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.scanLocation
open var scanLocation: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 2 dep 13macOS macOS dep 10.15
Scanner.charactersToBeSkipped
open var charactersToBeSkipped: CharacterSet?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.caseSensitive
open var caseSensitive: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.locale
open var locale: Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.init(string:)
public init(string: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.NumberRepresentation
public enum NumberRepresentation : Sendable { case decimal; case hexadecimal }
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.currentIndex
public var currentIndex: String.Index
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanInt(representation:)
public func scanInt(representation: Scanner.NumberRepresentation = .decimal) -> Int?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanInt32(representation:)
public func scanInt32(representation: Scanner.NumberRepresentation = .decimal) -> Int32?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanInt64(representation:)
public func scanInt64(representation: Scanner.NumberRepresentation = .decimal) -> Int64?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanUInt64(representation:)
public func scanUInt64(representation: Scanner.NumberRepresentation = .decimal) -> UInt64?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanFloat(representation:)
public func scanFloat(representation: Scanner.NumberRepresentation = .decimal) -> Float?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanDouble(representation:)
public func scanDouble(representation: Scanner.NumberRepresentation = .decimal) -> Double?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanDecimal()
public func scanDecimal() -> Decimal?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanString(_:)
public func scanString(_ searchString: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanCharacters(from:)
public func scanCharacters(from set: CharacterSet) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanUpToString(_:)
public func scanUpToString(_ substring: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanUpToCharacters(from:)
public func scanUpToCharacters(from set: CharacterSet) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanCharacter()
public func scanCharacter() -> Character?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
Scanner.scanInt(_:)
open func scanInt(_ result: UnsafeMutablePointer<Int>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS all
Scanner.scanInt64(_:)
open func scanInt64(_ result: UnsafeMutablePointer<Int64>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.scanUnsignedLongLong(_:)
open func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
Scanner.scanHexInt32(_:)
open func scanHexInt32(_ result: UnsafeMutablePointer<UInt32>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2 dep 13macOS macOS dep 10.15
Scanner.scanHexInt64(_:)
open func scanHexInt64(_ result: UnsafeMutablePointer<UInt64>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS all
Scanner.scanHexFloat(_:)
open func scanHexFloat(_ result: UnsafeMutablePointer<Float>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS all
Scanner.scanHexDouble(_:)
open func scanHexDouble(_ result: UnsafeMutablePointer<Double>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS all
Scanner.isAtEnd
open var isAtEnd: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Scanner.localizedScanner(with:)
open class func localizedScanner(with string: String) -> Any
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringTransform.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringTransform.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringTransform.latinToKatakana
public static let latinToKatakana: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToHiragana
public static let latinToHiragana: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToHangul
public static let latinToHangul: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToArabic
public static let latinToArabic: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToHebrew
public static let latinToHebrew: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToThai
public static let latinToThai: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToCyrillic
public static let latinToCyrillic: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.latinToGreek
public static let latinToGreek: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.toLatin
public static let toLatin: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.mandarinToLatin
public static let mandarinToLatin: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.hiraganaToKatakana
public static let hiraganaToKatakana: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.fullwidthToHalfwidth
public static let fullwidthToHalfwidth: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.toXMLHex
public static let toXMLHex: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.toUnicodeName
public static let toUnicodeName: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.stripCombiningMarks
public static let stripCombiningMarks: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringTransform.stripDiacritics
public static let stripDiacritics: StringTransform
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringEncodingDetectionOptionsKey.suggestedEncodingsKey
public static let suggestedEncodingsKey: StringEncodingDetectionOptionsKey
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
StringEncodingDetectionOptionsKey.disallowedEncodingsKey
public static let disallowedEncodingsKey: StringEncodingDetectionOptionsKey
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
StringEncodingDetectionOptionsKey.allowLossyKey
public static let allowLossyKey: StringEncodingDetectionOptionsKey
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
String.init(_cocoaString:)
public init(_ cocoaString: NSString)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding
public struct Encoding : RawRepresentable, Sendable, Equatable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.ascii
public static let ascii: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.utf8
public static let utf8: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.isoLatin1
public static let isoLatin1: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.unicode
public static let unicode: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.utf16
public static let utf16: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.utf16BigEndian
public static let utf16BigEndian: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.utf16LittleEndian
public static let utf16LittleEndian: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.utf32
public static let utf32: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.macOSRoman
public static let macOSRoman: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.nonLossyASCII
public static let nonLossyASCII: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.shiftJIS
public static let shiftJIS: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.Encoding.windowsCP1252
public static let windowsCP1252: String.Encoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(data:encoding:)
public init?(data: Data, encoding: String.Encoding)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(bytes:encoding:)
public init?<S>(bytes: S, encoding: String.Encoding) where S : Sequence, S.Element == UInt8
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(contentsOfFile:encoding:)
public init(contentsOfFile path: String, encoding enc: String.Encoding) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(contentsOf:encoding:)
public init(contentsOf url: URL, encoding enc: String.Encoding) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(contentsOfFile:usedEncoding:)
public init(contentsOfFile path: String, usedEncoding: inout String.Encoding) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(contentsOf:usedEncoding:)
public init(contentsOf url: URL, usedEncoding: inout String.Encoding) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.write(toFile:atomically:encoding:)
public func write<T>(toFile path: T, atomically useAuxiliaryFile: Bool, encoding enc: String.Encoding) throws where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.write(to:atomically:encoding:)
public func write(to url: URL, atomically useAuxiliaryFile: Bool, encoding enc: String.Encoding) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.capitalized
public var capitalized: String { get }
Runtime helper uppercases first letter of each word; ASCII-oriented, locale-insensitive.
iOS allmacOS all
StringProtocol.rangeOfCharacter(from:options:range:)
public func rangeOfCharacter(from aSet: CharacterSet, options mask: String.CompareOptions = [], range aRange: Range<Self.Index>? = nil) -> Range<Self.Index>?
Returns first matching ASCII CharacterSet index as Int?, not Range<Index>; options/range not modeled.
iOS allmacOS all
StringProtocol.data(using:allowLossyConversion:)
public func data(using encoding: String.Encoding, allowLossyConversion: Bool = false) -> Data?
Wraps string bytes as Data, UTF-8-ish only; encoding choice and nil failure not modeled.
iOS allmacOS all
StringProtocol.components(separatedBy:String)
public func components<T>(separatedBy separator: T) -> [String] where T : StringProtocol
Uses __str_split_ex preserving empty pieces; matches Foundation split behavior for String separators.
iOS allmacOS all
StringProtocol.components(separatedBy:CharacterSet)
public func components(separatedBy separator: CharacterSet) -> [String]
Scans ASCII CharacterSet masks, empty pieces preserved; no non-ASCII scalar split.
iOS allmacOS all
StringProtocol.addingPercentEncoding(withAllowedCharacters:)
public func addingPercentEncoding(withAllowedCharacters allowedCharacters: CharacterSet) -> String?
Direct String via ASCII CharacterSet masks; no optional nil failure, lightweight UTF-8 semantics.
iOS allmacOS all
StringProtocol.removingPercentEncoding
public var removingPercentEncoding: String? { get }
Direct String result; no optional nil for invalid escape sequences.
iOS allmacOS all
StringProtocol.padding(toLength:withPad:startingAt:)
public func padding<T>(toLength newLength: Int, withPad padString: T, startingAt padIndex: Int) -> String where T : StringProtocol
Pads to length; startingAt accepted but pad cycles from start, shorter-target truncation not modeled.
iOS allmacOS all
StringProtocol.replacingOccurrences(of:with:options:range:)
public func replacingOccurrences<Target, Replacement>(of target: Target, with replacement: Replacement, options: String.CompareOptions = [], range searchRange: Range<Self.Index>? = nil) -> String
Replaces literal occurrences; options and range overload semantics not wired.
iOS allmacOS all
StringProtocol.trimmingCharacters(in:)
public func trimmingCharacters(in set: CharacterSet) -> String
Trims leading/trailing ASCII CharacterSet members; no Unicode scalar class matching.
iOS allmacOS all
StringProtocol.range(of:options:range:locale:)
public func range<T>(of aString: T, options mask: String.CompareOptions = [], range searchRange: Range<Self.Index>? = nil, locale: Locale? = nil) -> Range<Self.Index>?
Returns first match as Int?, not Range<Index>; options/range/locale not modeled.
iOS allmacOS all
StringProtocol.localizedStandardContains(_:)
public func localizedStandardContains<T>(_ string: T) -> Bool where T : StringProtocol
Lowercases both sides then contains; no locale/diacritic/collation standard comparison.
iOS iOS 9macOS all
StringProtocol.localizedCaseInsensitiveContains(_:)
public func localizedCaseInsensitiveContains<T>(_ other: T) -> Bool where T : StringProtocol
Lowercases both sides then contains; no locale, diacritic, width, or collation rules.
iOS allmacOS all
StringProtocol.applyingTransform(_:reverse:)
public func applyingTransform(_ transform: StringTransform, reverse: Bool) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringProtocol.canBeConverted(to:)
public func canBeConverted(to encoding: String.Encoding) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.caseInsensitiveCompare(_:)
public func caseInsensitiveCompare<T>(_ aString: T) -> ComparisonResult where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.commonPrefix(with:options:)
public func commonPrefix<T>(with aString: T, options: String.CompareOptions = []) -> String where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.compare(_:options:range:locale:)
public func compare<T>(_ aString: T, options mask: String.CompareOptions = [], range: Range<Self.Index>? = nil, locale: Locale? = nil) -> ComparisonResult where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.completePath(into:caseSensitive:matchesInto:filterTypes:)
public func completePath(into outputName: UnsafeMutablePointer<String>? = nil, caseSensitive: Bool, ...) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.cString(using:)
public func cString(using encoding: String.Encoding) -> [CChar]?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.decomposedStringWithCanonicalMapping
public var decomposedStringWithCanonicalMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.decomposedStringWithCompatibilityMapping
public var decomposedStringWithCompatibilityMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.precomposedStringWithCanonicalMapping
public var precomposedStringWithCanonicalMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.precomposedStringWithCompatibilityMapping
public var precomposedStringWithCompatibilityMapping: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.enumerateLines(invoking:)
public func enumerateLines(invoking body: @escaping (_ line: String, _ stop: inout Bool) -> Void)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.fastestEncoding
public var fastestEncoding: String.Encoding { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.getCString(_:maxLength:encoding:)
public func getCString(_ buffer: inout [CChar], maxLength: Int, encoding: String.Encoding) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.hash
public var hash: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.lengthOfBytes(using:)
public func lengthOfBytes(using encoding: String.Encoding) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.localizedCaseInsensitiveCompare(_:)
public func localizedCaseInsensitiveCompare<T>(_ aString: T) -> ComparisonResult where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.localizedCompare(_:)
public func localizedCompare<T>(_ aString: T) -> ComparisonResult where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.localizedStandardCompare(_:)
public func localizedStandardCompare<T>(_ string: T) -> ComparisonResult where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.maximumLengthOfBytes(using:)
public func maximumLengthOfBytes(using encoding: String.Encoding) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.propertyList()
public func propertyList() -> Any
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.propertyListFromStringsFileFormat()
public func propertyListFromStringsFileFormat() -> [String : String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.smallestEncoding
public var smallestEncoding: String.Encoding { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.appendingFormat(_:_:)
public func appendingFormat<T>(_ format: T, _ arguments: any CVarArg...) -> String where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.appending(_:)
public func appending(_ other: some StringProtocol) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.folding(options:locale:)
public func folding(options: String.CompareOptions = [], locale: Locale?) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.replacingCharacters(in:with:)
public func replacingCharacters<T, R>(in range: R, with replacement: T) -> String where T : StringProtocol, R : RangeExpression, R.Bound == String.Index
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.enumerateSubstrings(in:options:_:)
public func enumerateSubstrings<R>(in range: R, options opts: String.EnumerationOptions = [], _ body: ...) where R : RangeExpression, R.Bound == String.Index
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.getBytes(_:maxLength:usedLength:encoding:options:range:remaining:)
public func getBytes<R>(_ buffer: inout [UInt8], maxLength maxBufferCount: Int, ...) -> Bool where R : RangeExpression, R.Bound == String.Index
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.getLineStart(_:end:contentsEnd:for:)
public func getLineStart(_ start: UnsafeMutablePointer<Self.Index>, end:..., contentsEnd:..., for range: some RangeExpression<String.Index>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.getParagraphStart(_:end:contentsEnd:for:)
public func getParagraphStart(_ start: UnsafeMutablePointer<Self.Index>, end:..., contentsEnd:..., for range: some RangeExpression<String.Index>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.rangeOfComposedCharacterSequence(at:)
public func rangeOfComposedCharacterSequence(at anIndex: Self.Index) -> Range<Self.Index>
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.rangeOfComposedCharacterSequences(for:)
public func rangeOfComposedCharacterSequences<R>(for range: R) -> Range<Self.Index> where R : RangeExpression, R.Bound == String.Index
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.localizedStandardRange(of:)
public func localizedStandardRange<T>(of string: T) -> Range<Self.Index>? where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
StringProtocol.contains(_:)
public func contains<T>(_ other: T) -> Bool where T : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.lineRange(for:)
public func lineRange(for range: some RangeExpression<String.Index>) -> Range<Self.Index>
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.paragraphRange(for:)
public func paragraphRange(for range: some RangeExpression<String.Index>) -> Range<Self.Index>
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.substring(from:)
public func substring(from index: Self.Index) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.substring(to:)
public func substring(to index: Self.Index) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
StringProtocol.substring(with:)
public func substring(with aRange: Range<Self.Index>) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.availableStringEncodings
public static var availableStringEncodings: [String.Encoding] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.defaultCStringEncoding
public static var defaultCStringEncoding: String.Encoding { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.localizedName(of:)
public static func localizedName(of encoding: String.Encoding) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.localizedStringWithFormat(_:_:)
public static func localizedStringWithFormat(_ format: String, _ arguments: any CVarArg...) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(utf8String:UnsafePointer)
public init?(utf8String bytes: UnsafePointer<CChar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(utf16CodeUnits:count:)
public init(utf16CodeUnits: UnsafePointer<unichar>, count: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(contentsOfFile:)
public init(contentsOfFile path: String) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(contentsOf:)
public init(contentsOf url: URL) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(cString:encoding:)
public init?(cString: UnsafePointer<CChar>, encoding enc: String.Encoding)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(format:_:)
public init(format: String, _ arguments: any CVarArg...)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(format:arguments:)
public init(format: String, arguments: [any CVarArg])
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
String.init(format:locale:_:)
public init(format: String, locale: Locale?, _ args: any CVarArg...)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Range.init(_:in:)
public init?(_ range: NSRange, in string: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSUTF8StringEncoding
public var NSUTF8StringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSASCIIStringEncoding
public var NSASCIIStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSUnicodeStringEncoding
public var NSUnicodeStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSUTF16StringEncoding
public var NSUTF16StringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSUTF16BigEndianStringEncoding
public var NSUTF16BigEndianStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSUTF16LittleEndianStringEncoding
public var NSUTF16LittleEndianStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSUTF32StringEncoding
public var NSUTF32StringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSISOLatin1StringEncoding
public var NSISOLatin1StringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSMacOSRomanStringEncoding
public var NSMacOSRomanStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSShiftJISStringEncoding
public var NSShiftJISStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSNonLossyASCIIStringEncoding
public var NSNonLossyASCIIStringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSStringEncoding.NSWindowsCP1252StringEncoding
public var NSWindowsCP1252StringEncoding: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all

4. CharacterSet / Regex / AttributedString

0·31·167
CharacterSet.init()
public init()
Matrix: empty init not found as a user-facing lowered path; static sets drive coverage.
iOS allmacOS all
CharacterSet.init(charactersIn:Range)
public init(charactersIn range: Range<Unicode.Scalar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.init(charactersIn:ClosedRange)
public init(charactersIn range: ClosedRange<Unicode.Scalar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.init(charactersIn:String)
public init(charactersIn string: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.init(bitmapRepresentation:)
public init(bitmapRepresentation data: Data)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.init(contentsOfFile:)
public init?(contentsOfFile file: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.controlCharacters
public static var controlCharacters: CharacterSet { get }
ASCII 0...31 and 127 only; no non-ASCII control classes.
iOS allmacOS all
CharacterSet.whitespaces
public static var whitespaces: CharacterSet { get }
Space and tab only; no full Unicode whitespace set.
iOS allmacOS all
CharacterSet.whitespacesAndNewlines
public static var whitespacesAndNewlines: CharacterSet { get }
ASCII space, tab, LF, VT, FF, CR only.
iOS allmacOS all
CharacterSet.decimalDigits
public static var decimalDigits: CharacterSet { get }
ASCII 0-9 only; no Unicode decimal digit classes.
iOS allmacOS all
CharacterSet.letters
public static var letters: CharacterSet { get }
Collapses to ASCII A-Z, a-z; Foundation set is much larger.
iOS allmacOS all
CharacterSet.lowercaseLetters
public static var lowercaseLetters: CharacterSet { get }
ASCII a-z only; no Unicode lowercase classes.
iOS allmacOS all
CharacterSet.uppercaseLetters
public static var uppercaseLetters: CharacterSet { get }
ASCII A-Z only; no Unicode uppercase classes.
iOS allmacOS all
CharacterSet.nonBaseCharacters
public static var nonBaseCharacters: CharacterSet { get }
Collapses to ASCII letter set; not Unicode M* category.
iOS allmacOS all
CharacterSet.alphanumerics
public static var alphanumerics: CharacterSet { get }
ASCII A-Z, a-z, 0-9; Unicode alphanumeric set is much larger.
iOS allmacOS all
CharacterSet.decomposables
public static var decomposables: CharacterSet { get }
Collapses to ASCII letter set; not the decomposables class.
iOS allmacOS all
CharacterSet.illegalCharacters
public static var illegalCharacters: CharacterSet { get }
Intentionally empty set in current ASCII-focused model; diverges.
iOS allmacOS all
CharacterSet.punctuationCharacters
public static var punctuationCharacters: CharacterSet { get }
Deterministic ASCII punctuation ranges only.
iOS allmacOS all
CharacterSet.capitalizedLetters
public static var capitalizedLetters: CharacterSet { get }
Collapses to ASCII letter set; not Unicode Lt.
iOS allmacOS all
CharacterSet.symbols
public static var symbols: CharacterSet { get }
Selected ASCII symbols only; not Foundation Unicode S* class.
iOS allmacOS all
CharacterSet.newlines
public static var newlines: CharacterSet { get }
ASCII LF, VT, FF, CR only; no Unicode line separators.
iOS allmacOS all
CharacterSet.urlUserAllowed
public static var urlUserAllowed: CharacterSet { get }
ASCII alnum plus -._~; no credential-specific validation.
iOS allmacOS all
CharacterSet.urlPasswordAllowed
public static var urlPasswordAllowed: CharacterSet { get }
ASCII alnum plus -._~; no credential-specific validation.
iOS allmacOS all
CharacterSet.urlHostAllowed
public static var urlHostAllowed: CharacterSet { get }
ASCII alnum plus -._~; no IDNA or IPv6 handling.
iOS allmacOS all
CharacterSet.urlPathAllowed
public static var urlPathAllowed: CharacterSet { get }
ASCII alnum plus -._~ and /; encodes spaces and query seps.
iOS allmacOS all
CharacterSet.urlQueryAllowed
public static var urlQueryAllowed: CharacterSet { get }
ASCII alnum plus -._~, /, ?; used by percent-encoding tests.
iOS allmacOS all
CharacterSet.urlFragmentAllowed
public static var urlFragmentAllowed: CharacterSet { get }
ASCII alnum plus -._~, /, ?; same shape as query set.
iOS allmacOS all
CharacterSet.bitmapRepresentation
@nonobjc public var bitmapRepresentation: Data { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.inverted
@nonobjc public var inverted: CharacterSet { get }
Bitwise complement within four ASCII masks; outside ASCII not represented.
iOS allmacOS all
CharacterSet.hasMember(inPlane:)
public func hasMember(inPlane plane: UInt8) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.insert(charactersIn:Range)
public mutating func insert(charactersIn range: Range<Unicode.Scalar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.insert(charactersIn:ClosedRange)
public mutating func insert(charactersIn range: ClosedRange<Unicode.Scalar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.remove(charactersIn:Range)
public mutating func remove(charactersIn range: Range<Unicode.Scalar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.remove(charactersIn:ClosedRange)
public mutating func remove(charactersIn range: ClosedRange<Unicode.Scalar>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.insert(charactersIn:String)
public mutating func insert(charactersIn string: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.remove(charactersIn:String)
public mutating func remove(charactersIn string: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.invert()
public mutating func invert()
Matrix: nonmutating inverted exists, mutating invert() missing.
iOS allmacOS all
CharacterSet.insert(_:Unicode.Scalar)
public mutating func insert(_ character: Unicode.Scalar) -> (inserted: Bool, memberAfterInsert: Unicode.Scalar)
Scalar-level mutation not lowered; name-resolves only.
iOS allmacOS all
CharacterSet.update(with:)
public mutating func update(with character: Unicode.Scalar) -> Unicode.Scalar?
Scalar-level mutation not lowered; name-resolves only.
iOS allmacOS all
CharacterSet.remove(_:Unicode.Scalar)
public mutating func remove(_ character: Unicode.Scalar) -> Unicode.Scalar?
Scalar-level mutation not lowered; name-resolves only.
iOS allmacOS all
CharacterSet.contains(_:Unicode.Scalar)
public func contains(_ member: Unicode.Scalar) -> Bool
Matrix: scalar contains missing; SetAlgebra ops exist, scalar-level does not.
iOS allmacOS all
CharacterSet.union(_:)
public func union(_ other: CharacterSet) -> CharacterSet
Bitwise OR over four ASCII slots; covered by smoke tests.
iOS allmacOS all
CharacterSet.formUnion(_:)
public mutating func formUnion(_ other: CharacterSet)
Mutating union over four ASCII slots; returns Void.
iOS allmacOS all
CharacterSet.intersection(_:)
public func intersection(_ other: CharacterSet) -> CharacterSet
Bitwise AND over four ASCII slots; covered by smoke tests.
iOS allmacOS all
CharacterSet.formIntersection(_:)
public mutating func formIntersection(_ other: CharacterSet)
Mutating intersection over four ASCII slots; returns Void.
iOS allmacOS all
CharacterSet.subtracting(_:)
public func subtracting(_ other: CharacterSet) -> CharacterSet
lhs & ~rhs within ASCII slots; covered by smoke tests.
iOS allmacOS all
CharacterSet.subtract(_:)
public mutating func subtract(_ other: CharacterSet)
Mutating subtraction over ASCII slots; returns Void.
iOS allmacOS all
CharacterSet.symmetricDifference(_:)
public func symmetricDifference(_ other: CharacterSet) -> CharacterSet
(lhs|rhs)-(lhs&rhs) within ASCII slots; covered by smoke tests.
iOS allmacOS all
CharacterSet.formSymmetricDifference(_:)
public mutating func formSymmetricDifference(_ other: CharacterSet)
Mutating symmetric difference over ASCII slots; returns Void.
iOS allmacOS all
CharacterSet.isSuperset(of:)
public func isSuperset(of other: CharacterSet) -> Bool
Checks (lhs & rhs) == rhs per ASCII slot; covered by smoke tests.
iOS allmacOS all
CharacterSet.hash(into:)
public func hash(into hasher: inout Hasher)
Matrix: Hashable/hash(into:) missing; need slot-wise hash policy.
iOS allmacOS all
CharacterSet.==(_:_:)
public static func == (lhs: CharacterSet, rhs: CharacterSet) -> Bool
Matrix: Equatable/== missing; need slot-wise equality policy.
iOS allmacOS all
CharacterSet.hashValue
public var hashValue: Int { get }
Matrix: Hashable surface missing for CharacterSet.
iOS allmacOS all
CharacterSet.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
CharacterSet.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.controlCharacters
open class var controlCharacters: CharacterSet { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.whitespaces
open class var whitespaces: CharacterSet { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.alphanumerics
open class var alphanumerics: CharacterSet { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.init(range:)
public init(range aRange: NSRange)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.init(charactersIn:)
public init(charactersIn aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.init(bitmapRepresentation:)
public init(bitmapRepresentation data: Data)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.init(contentsOfFile:)
public init?(contentsOfFile fName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.init(coder:)
public init(coder: NSCoder)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.characterIsMember(_:)
open func characterIsMember(_ aCharacter: unichar) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.bitmapRepresentation
open var bitmapRepresentation: Data { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.inverted
open var inverted: CharacterSet { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.longCharacterIsMember(_:)
open func longCharacterIsMember(_ theLongChar: UTF32Char) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.isSuperset(of:)
open func isSuperset(of theOtherSet: CharacterSet) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCharacterSet.hasMemberInPlane(_:)
open func hasMemberInPlane(_ thePlane: UInt8) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.addCharacters(in:NSRange)
open func addCharacters(in aRange: NSRange)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.removeCharacters(in:NSRange)
open func removeCharacters(in aRange: NSRange)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.addCharacters(in:String)
open func addCharacters(in aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.removeCharacters(in:String)
open func removeCharacters(in aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.formUnion(with:)
open func formUnion(with otherSet: CharacterSet)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.formIntersection(with:)
open func formIntersection(with otherSet: CharacterSet)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.invert()
open func invert()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.alphanumeric()
open class func alphanumeric() -> NSMutableCharacterSet
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.whitespace()
open class func whitespace() -> NSMutableCharacterSet
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.init(range:)
public init(range aRange: NSRange)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSMutableCharacterSet.init(charactersIn:)
public init(charactersIn aString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSRegularExpression.init(pattern:options:)
public init(pattern: String, options: NSRegularExpression.Options = []) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.pattern
open var pattern: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.options
open var options: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.numberOfCaptureGroups
open var numberOfCaptureGroups: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.escapedPattern(for:)
open class func escapedPattern(for string: String) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.enumerateMatches(in:options:range:using:)
open func enumerateMatches(in string: String, options: MatchingOptions = [], range: NSRange, using block: ...)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.matches(in:options:range:)
open func matches(in string: String, options: MatchingOptions = [], range: NSRange) -> [NSTextCheckingResult]
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.numberOfMatches(in:options:range:)
open func numberOfMatches(in string: String, options: MatchingOptions = [], range: NSRange) -> Int
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.firstMatch(in:options:range:)
open func firstMatch(in string: String, options: MatchingOptions = [], range: NSRange) -> NSTextCheckingResult?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.rangeOfFirstMatch(in:options:range:)
open func rangeOfFirstMatch(in string: String, options: MatchingOptions = [], range: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.stringByReplacingMatches(in:options:range:withTemplate:)
open func stringByReplacingMatches(in string: String, options: MatchingOptions = [], range: NSRange, withTemplate templ: String) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.replaceMatches(in:options:range:withTemplate:)
open func replaceMatches(in string: NSMutableString, options: MatchingOptions = [], range: NSRange, withTemplate templ: String) -> Int
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.replacementString(for:in:offset:template:)
open func replacementString(for result: NSTextCheckingResult, in string: String, offset: Int, template templ: String) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.escapedTemplate(for:)
open class func escapedTemplate(for string: String) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.caseInsensitive
public static var caseInsensitive: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.allowCommentsAndWhitespace
public static var allowCommentsAndWhitespace: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.ignoreMetacharacters
public static var ignoreMetacharacters: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.dotMatchesLineSeparators
public static var dotMatchesLineSeparators: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.anchorsMatchLines
public static var anchorsMatchLines: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.useUnixLineSeparators
public static var useUnixLineSeparators: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.Options.useUnicodeWordBoundaries
public static var useUnicodeWordBoundaries: NSRegularExpression.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingOptions.reportProgress
public static var reportProgress: NSRegularExpression.MatchingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingOptions.reportCompletion
public static var reportCompletion: NSRegularExpression.MatchingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingOptions.anchored
public static var anchored: NSRegularExpression.MatchingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingOptions.withTransparentBounds
public static var withTransparentBounds: NSRegularExpression.MatchingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingOptions.withoutAnchoringBounds
public static var withoutAnchoringBounds: NSRegularExpression.MatchingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingFlags.progress
public static var progress: NSRegularExpression.MatchingFlags { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingFlags.completed
public static var completed: NSRegularExpression.MatchingFlags { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSRegularExpression.MatchingFlags.hitEnd
public static var hitEnd: NSRegularExpression.MatchingFlags { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSDataDetector.init(types:)
public init(types checkingTypes: NSTextCheckingTypes) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSDataDetector.checkingTypes
open var checkingTypes: NSTextCheckingTypes { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.7
NSTextCheckingResult.resultType
open var resultType: NSTextCheckingResult.CheckingType { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.range
open var range: NSRange { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.numberOfRanges
open var numberOfRanges: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSTextCheckingResult.range(at:)
open func range(at idx: Int) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSTextCheckingResult.range(withName:)
open func range(withName name: String) -> NSRange
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSTextCheckingResult.url
open var url: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.date
open var date: Date? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.phoneNumber
open var phoneNumber: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSTextCheckingResult.regularExpression
@NSCopying open var regularExpression: NSRegularExpression? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSTextCheckingResult.adjustingRanges(offset:)
open func adjustingRanges(offset: Int) -> NSTextCheckingResult
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS all
NSTextCheckingResult.CheckingType.regularExpression
public static var regularExpression: NSTextCheckingResult.CheckingType { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.CheckingType.link
public static var link: NSTextCheckingResult.CheckingType { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.CheckingType.phoneNumber
public static var phoneNumber: NSTextCheckingResult.CheckingType { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.CheckingType.date
public static var date: NSTextCheckingResult.CheckingType { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSTextCheckingResult.regularExpressionCheckingResult(ranges:count:regularExpression:)
open class func regularExpressionCheckingResult(ranges: NSRangePointer, count: Int, regularExpression: NSRegularExpression) -> NSTextCheckingResult
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSLinguisticTagger.init(tagSchemes:options:)
public init(tagSchemes: [NSLinguisticTagScheme], options opts: Int)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0 (deprecated)macOS macOS 10.7 (deprecated)
NSLinguisticTagger.tagSchemes
open var tagSchemes: [NSLinguisticTagScheme] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0 (deprecated)macOS macOS 10.7 (deprecated)
NSLinguisticTagger.string
open var string: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0 (deprecated)macOS macOS 10.7 (deprecated)
NSLinguisticTagger.tag(at:unit:scheme:tokenRange:)
open func tag(at charIndex: Int, unit: NSLinguisticTaggerUnit, scheme: NSLinguisticTagScheme, tokenRange: NSRangePointer?) -> NSLinguisticTag?
name-resolves only; no executable Foundation codegen.
iOS iOS 11 (deprecated)macOS macOS 10.13 (deprecated)
NSLinguisticTagger.tags(in:unit:scheme:options:tokenRanges:)
open func tags(in range: NSRange, unit: NSLinguisticTaggerUnit, scheme: NSLinguisticTagScheme, options: Options = [], tokenRanges: ...) -> [NSLinguisticTag]
name-resolves only; no executable Foundation codegen.
iOS iOS 11 (deprecated)macOS macOS 10.13 (deprecated)
NSLinguisticTagger.dominantLanguage
open var dominantLanguage: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 11 (deprecated)macOS macOS 10.13 (deprecated)
NSLinguisticTagger.dominantLanguage(for:)
open class func dominantLanguage(for string: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 11 (deprecated)macOS macOS 10.13 (deprecated)
NSLinguisticTagger.enumerateTags(in:unit:scheme:options:using:)
open func enumerateTags(in range: NSRange, unit: NSLinguisticTaggerUnit, scheme: NSLinguisticTagScheme, options: Options = [], using block: ...)
name-resolves only; no executable Foundation codegen.
iOS iOS 11 (deprecated)macOS macOS 10.13 (deprecated)
NSLinguisticTagger.Options.omitWords
public static var omitWords: NSLinguisticTagger.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0 (deprecated)macOS macOS 10.7 (deprecated)
NSLinguisticTagger.Options.omitPunctuation
public static var omitPunctuation: NSLinguisticTagger.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0 (deprecated)macOS macOS 10.7 (deprecated)
NSLinguisticTagger.Options.joinNames
public static var joinNames: NSLinguisticTagger.Options { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0 (deprecated)macOS macOS 10.7 (deprecated)
NSAttributedString.string
open var string: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.length
open var length: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.init(string:)
public init(string str: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.init(string:attributes:)
public init(string str: String, attributes attrs: [NSAttributedString.Key : Any]? = nil)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.init(attributedString:)
public init(attributedString attrStr: NSAttributedString)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.init(markdown:options:baseURL:)
public convenience init(markdown: Data, options: AttributedString.MarkdownParsingOptions = .init(), baseURL: URL? = nil) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSAttributedString.init(_:AttributedString)
public convenience init(_ attrStr: AttributedString)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSAttributedString.attributes(at:effectiveRange:)
open func attributes(at location: Int, effectiveRange range: NSRangePointer?) -> [NSAttributedString.Key : Any]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.attribute(_:at:effectiveRange:)
open func attribute(_ attrName: NSAttributedString.Key, at location: Int, effectiveRange range: NSRangePointer?) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.attributedSubstring(from:)
open func attributedSubstring(from range: NSRange) -> NSAttributedString
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.isEqual(to:)
open func isEqual(to other: NSAttributedString) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.enumerateAttributes(in:options:using:)
open func enumerateAttributes(in enumerationRange: NSRange, options opts: EnumerationOptions = [], using block: ...)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSAttributedString.enumerateAttribute(_:in:options:using:)
open func enumerateAttribute(_ attrName: NSAttributedString.Key, in enumerationRange: NSRange, options opts: EnumerationOptions = [], using block: ...)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSAttributedString.EnumerationOptions.reverse
public static var reverse: NSAttributedString.EnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.Key.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.Key.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSAttributedString.Key.inlinePresentationIntent
public static let inlinePresentationIntent: NSAttributedString.Key
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSAttributedString.Key.languageIdentifier
public static let languageIdentifier: NSAttributedString.Key
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSAttributedString.Key.imageURL
public static let imageURL: NSAttributedString.Key
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSAttributedString.Key.presentationIntentAttributeName
public static let presentationIntentAttributeName: NSAttributedString.Key
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSMutableAttributedString.replaceCharacters(in:with:String)
open func replaceCharacters(in range: NSRange, with str: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.setAttributes(_:range:)
open func setAttributes(_ attrs: [NSAttributedString.Key : Any]?, range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.mutableString
open var mutableString: NSMutableString { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.addAttribute(_:value:range:)
open func addAttribute(_ name: NSAttributedString.Key, value: Any, range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.addAttributes(_:range:)
open func addAttributes(_ attrs: [NSAttributedString.Key : Any] = [:], range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.removeAttribute(_:range:)
open func removeAttribute(_ name: NSAttributedString.Key, range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.append(_:)
open func append(_ attrString: NSAttributedString)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.insert(_:at:)
open func insert(_ attrString: NSAttributedString, at loc: Int)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.deleteCharacters(in:)
open func deleteCharacters(in range: NSRange)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.beginEditing()
open func beginEditing()
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
NSMutableAttributedString.endEditing()
open func endEditing()
name-resolves only; no executable Foundation codegen.
iOS iOS 3.2macOS all
AttributedString.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.init(_:attributes:)
public init(_ string: String, attributes: AttributeContainer = .init())
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.init(_:Substring:attributes:)
public init(_ substring: Substring, attributes: AttributeContainer = .init())
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.init(stringLiteral:)
public init(stringLiteral value: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.==(_:_:)
public static func == (lhs: AttributedString, rhs: AttributedString) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.startIndex
public var startIndex: AttributedString.Index { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.endIndex
public var endIndex: AttributedString.Index { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.subscript(K.Type)
public subscript<K>(_: K.Type) -> K.Value? where K : AttributedStringKey, K.Value : Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.subscript(dynamicMember:)
public subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> K.Value? where K : AttributedStringKey
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.subscript(bounds:)
public subscript(bounds: some RangeExpression<AttributedString.Index>) -> AttributedSubstring
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.setAttributes(_:)
public mutating func setAttributes(_ attributes: AttributeContainer)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.mergeAttributes(_:mergePolicy:)
public mutating func mergeAttributes(_ attributes: AttributeContainer, mergePolicy: AttributeMergePolicy = .keepNew)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.replaceAttributes(_:with:)
public mutating func replaceAttributes(_ attributes: AttributeContainer, with others: AttributeContainer)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.append(_:)
public mutating func append(_ s: some AttributedStringProtocol)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.insert(_:at:)
public mutating func insert(_ s: some AttributedStringProtocol, at index: AttributedString.Index)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.removeSubrange(_:)
public mutating func removeSubrange(_ range: some RangeExpression<AttributedString.Index>)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.replaceSubrange(_:with:)
public mutating func replaceSubrange(_ range: some RangeExpression<AttributedString.Index>, with s: some AttributedStringProtocol)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.+(_:_:)
public static func + (lhs: AttributedString, rhs: AttributedString) -> AttributedString
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.+=(_:_:)
public static func += (lhs: inout AttributedString, rhs: AttributedString)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.characters
public var characters: AttributedString.CharacterView
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.transformingAttributes(_:_:)
public func transformingAttributes<K>(_ k: K.Type, _ c: (inout SingleAttributeTransformer<K>) -> Void) -> AttributedString
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedString.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedStringKey.name
static var name: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedStringKey.Value
associatedtype Value : Hashable
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
AttributedStringKey.runBoundaries
static var runBoundaries: AttributedString.AttributeRunBoundaries? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
AttributedStringKey.inheritedByAddedText
static var inheritedByAddedText: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
AttributedStringKey.invalidationConditions
static var invalidationConditions: Set<AttributedString.AttributeInvalidationCondition>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
AttributedStringKey.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12

5. NSNumber / Decimal numbers

0·32·143
Decimal.init()
public init()
Decimal() returns f64-backed zero; covered by smoke test, not base-10 storage.
iOS allmacOS all
Decimal.init(_exponent:_length:_isNegative:_isCompact:_reserved:_mantissa:)
public init(_exponent: Int32, _length: UInt32, _isNegative: UInt32, _isCompact: UInt32, _reserved: UInt32, _mantissa: (UInt16,...))
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal._exponent
public var _exponent: Int32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal._length
public var _length: UInt32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal._isNegative
public var _isNegative: UInt32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal._isCompact
public var _isCompact: UInt32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal._reserved
public var _reserved: UInt32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal._mantissa
public var _mantissa: (UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.RoundingMode
public typealias RoundingMode = NSDecimalNumber.RoundingMode
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.CalculationError
public typealias CalculationError = NSDecimalNumber.CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.init(string:locale:)
public init?(string: String, locale: Locale? = nil)
Failable string parse returns Decimal?/nil correctly; locale arg ignored, uses f64 path.
iOS allmacOS all
Decimal.description
public var description: String { get }
Deterministic via __str_from_double; f64 formatting, not exact Foundation decimal formatting.
iOS allmacOS all
Decimal.leastFiniteMagnitude
public static let leastFiniteMagnitude: Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.greatestFiniteMagnitude
public static let greatestFiniteMagnitude: Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.leastNormalMagnitude
public static let leastNormalMagnitude: Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.leastNonzeroMagnitude
public static let leastNonzeroMagnitude: Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.pi
public static let pi: Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.quietNaN
public static var quietNaN: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.nan
public static var nan: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.radix
public static var radix: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.zero
public static var zero: Decimal { get }
Decimal.zero lowered as explicit f64 zero; description covered by smoke test.
iOS allmacOS all
Decimal.init(_:UInt8)
public init(_ value: UInt8)
Generic numeric lowering casts to f64; no width-specific exactness guarantee.
iOS allmacOS all
Decimal.init(_:Int8)
public init(_ value: Int8)
Generic numeric lowering casts to f64; no width-specific exactness guarantee.
iOS allmacOS all
Decimal.init(_:UInt16)
public init(_ value: UInt16)
Generic numeric lowering casts to f64; no width-specific exactness guarantee.
iOS allmacOS all
Decimal.init(_:Int16)
public init(_ value: Int16)
Generic numeric lowering casts to f64; no width-specific exactness guarantee.
iOS allmacOS all
Decimal.init(_:UInt32)
public init(_ value: UInt32)
Generic numeric lowering casts to f64; no width-specific exactness guarantee.
iOS allmacOS all
Decimal.init(_:Int32)
public init(_ value: Int32)
Generic numeric lowering casts to f64; no width-specific exactness guarantee.
iOS allmacOS all
Decimal.init(_:UInt64)
public init(_ value: UInt64)
Cast to f64; large 64-bit integer exactness limited by Double.
iOS allmacOS all
Decimal.init(_:Int64)
public init(_ value: Int64)
Cast to f64; large 64-bit integer exactness limited by Double.
iOS allmacOS all
Decimal.init(_:UInt)
public init(_ value: UInt)
Cast to f64; large integer exactness limited by Double.
iOS allmacOS all
Decimal.init(_:Int)
public init(_ value: Int)
Int cast to f64; common values fine, large-integer exactness limited.
iOS allmacOS all
Decimal.init(_:Double)
public init(_ value: Double)
Stored as same f64; no base-10 conversion model.
iOS allmacOS all
Decimal.init(sign:exponent:significand:)
public init(sign: FloatingPointSign, exponent: Int, significand: Decimal)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.init(signOf:magnitudeOf:)
public init(signOf: Decimal, magnitudeOf magnitude: Decimal)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.exponent
public var exponent: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.significand
public var significand: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.sign
public var sign: FloatingPointSign { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.ulp
public var ulp: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.floatingPointClass
public var floatingPointClass: FloatingPointClassification { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isCanonical
public var isCanonical: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isSignMinus
public var isSignMinus: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isZero
public var isZero: Bool { get }
Maps to decimal == 0.0; covered by smoke test on f64 value.
iOS allmacOS all
Decimal.isSubnormal
public var isSubnormal: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isNormal
public var isNormal: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isFinite
public var isFinite: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isInfinite
public var isInfinite: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isNaN
public var isNaN: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isSignaling
public var isSignaling: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isSignalingNaN
public var isSignalingNaN: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.nextUp
public var nextUp: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.nextDown
public var nextDown: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isEqual(to:)
public func isEqual(to other: Decimal) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isLess(than:)
public func isLess(than other: Decimal) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isLessThanOrEqualTo(_:)
public func isLessThanOrEqualTo(_ other: Decimal) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.isTotallyOrdered(belowOrEqualTo:)
public func isTotallyOrdered(belowOrEqualTo other: Decimal) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.init(floatLiteral:)
public init(floatLiteral value: Double)
ExpressibleByFloatLiteral; literal stored as f64.
iOS allmacOS all
Decimal.init(integerLiteral:)
public init(integerLiteral value: Int)
ExpressibleByIntegerLiteral; literal stored as f64.
iOS allmacOS all
Decimal.hash(into:)
public func hash(into hasher: inout Hasher)
Hashable via double FNV-1a hashing stub on f64 value.
iOS allmacOS all
Decimal.hashValue
public var hashValue: Int { get }
Double FNV-1a hashing on f64-backed Decimal; doc green.
iOS allmacOS all
Decimal.==(_:_:)
public static func == (lhs: Decimal, rhs: Decimal) -> Bool
Equatable mapped to double ==/!= on f64 value; doc green.
iOS allmacOS all
Decimal.<(_:_:)
public static func < (lhs: Decimal, rhs: Decimal) -> Bool
Comparable mapped to double <,<=,>,>= on f64 value; doc green.
iOS allmacOS all
Decimal.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.magnitude
public var magnitude: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.init(exactly:)
public init?<T>(exactly source: T) where T : BinaryInteger
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.+=(_:_:)
public static func += (lhs: inout Decimal, rhs: Decimal)
SignedNumeric mutating add mapped to double += on f64 value.
iOS allmacOS all
Decimal.-=(_:_:)
public static func -= (lhs: inout Decimal, rhs: Decimal)
SignedNumeric mutating subtract mapped to double -= on f64 value.
iOS allmacOS all
Decimal.*=(_:_:)
public static func *= (lhs: inout Decimal, rhs: Decimal)
SignedNumeric mutating multiply mapped to double *= on f64 value.
iOS allmacOS all
Decimal./=(_:_:)
public static func /= (lhs: inout Decimal, rhs: Decimal)
Mutating divide mapped to double /= on f64 value; not exact decimal.
iOS allmacOS all
Decimal.+(_:_:)
public static func + (lhs: Decimal, rhs: Decimal) -> Decimal
Mapped to double +; f64 approximation, not exact base-10 arithmetic.
iOS allmacOS all
Decimal.-(_:_:)
public static func - (lhs: Decimal, rhs: Decimal) -> Decimal
Mapped to double -; f64 approximation, not exact base-10 arithmetic.
iOS allmacOS all
Decimal.*(_:_:)
public static func * (lhs: Decimal, rhs: Decimal) -> Decimal
Mapped to double *; f64 approximation, not exact base-10 arithmetic.
iOS allmacOS all
Decimal./(_:_:)
public static func / (lhs: Decimal, rhs: Decimal) -> Decimal
Mapped to double /; f64 approximation, not exact base-10 arithmetic.
iOS allmacOS all
Decimal.negate()
public mutating func negate()
SignedNumeric negate mapped to double negation on f64 value.
iOS allmacOS all
Decimal.distance(to:)
public func distance(to other: Decimal) -> Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.advanced(by:)
public func advanced(by n: Decimal) -> Decimal
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Decimal.doubleValue
public var doubleValue: Double { get } (miniswift convenience)
miniswift extension returning f64 value; not in SDK Decimal surface but supported.
iOSmacOS
Decimal.FormatStyle
public struct FormatStyle : Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.init(locale:)
public init(locale: Locale = .autoupdatingCurrent)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.grouping(_:)
public func grouping(_ group: Configuration.Grouping) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.precision(_:)
public func precision(_ p: Configuration.Precision) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.sign(strategy:)
public func sign(strategy: Configuration.SignDisplayStrategy) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.decimalSeparator(strategy:)
public func decimalSeparator(strategy: Configuration.DecimalSeparatorDisplayStrategy) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.rounded(rule:increment:)
public func rounded(rule: Configuration.RoundingRule = .toNearestOrEven, increment: Int? = nil) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.scale(_:)
public func scale(_ multiplicand: Double) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.notation(_:)
public func notation(_ notation: Configuration.Notation) -> Decimal.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.Percent
public struct Percent : FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.Currency
public struct Currency : FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.FormatStyle.Attributed
public struct Attributed : FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Decimal.ParseStrategy
public struct ParseStrategy : ParseableFormatStyle.Strategy
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
NSDecimalMaxSize
public var NSDecimalMaxSize: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNoScale
public var NSDecimalNoScale: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalIsNotANumber
public func NSDecimalIsNotANumber(_ dcm: UnsafePointer<Decimal>) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalCopy
public func NSDecimalCopy(_ destination: UnsafeMutablePointer<Decimal>, _ source: UnsafePointer<Decimal>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalCompact
public func NSDecimalCompact(_ number: UnsafeMutablePointer<Decimal>)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalCompare
public func NSDecimalCompare(_ leftOperand: UnsafePointer<Decimal>, _ rightOperand: UnsafePointer<Decimal>) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalRound
public func NSDecimalRound(_ result: ..., _ number: ..., _ scale: Int, _ roundingMode: NSDecimalNumber.RoundingMode)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNormalize
public func NSDecimalNormalize(_ number1: ..., _ number2: ..., _ roundingMode: ...) -> NSDecimalNumber.CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalAdd
public func NSDecimalAdd(_ result: ..., _ leftOperand: ..., _ rightOperand: ..., _ roundingMode: ...) -> CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalSubtract
public func NSDecimalSubtract(_ result: ..., _ leftOperand: ..., _ rightOperand: ..., _ roundingMode: ...) -> CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalMultiply
public func NSDecimalMultiply(_ result: ..., _ leftOperand: ..., _ rightOperand: ..., _ roundingMode: ...) -> CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalDivide
public func NSDecimalDivide(_ result: ..., _ leftOperand: ..., _ rightOperand: ..., _ roundingMode: ...) -> CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalPower
public func NSDecimalPower(_ result: ..., _ number: ..., _ power: Int, _ roundingMode: ...) -> CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalMultiplyByPowerOf10
public func NSDecimalMultiplyByPowerOf10(_ result: ..., _ number: ..., _ power: Int16, _ roundingMode: ...) -> CalculationError
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalString
public func NSDecimalString(_ dcm: UnsafePointer<Decimal>, _ locale: Any?) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.RoundingMode
public enum RoundingMode : UInt { case plain, down, up, bankers }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.CalculationError
public enum CalculationError : UInt { case noError, lossOfPrecision, underflow, overflow, divideByZero }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumberBehaviors.roundingMode()
func roundingMode() -> NSDecimalNumber.RoundingMode
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumberBehaviors.scale()
func scale() -> Int16
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumberBehaviors.exceptionDuringOperation(_:error:leftOperand:rightOperand:)
func exceptionDuringOperation(_ operation: Selector, error: CalculationError, leftOperand: NSDecimalNumber, rightOperand: NSDecimalNumber?) -> NSDecimalNumber?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.init(mantissa:exponent:isNegative:)
public convenience init(mantissa: UInt64, exponent: Int16, isNegative flag: Bool)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.init(decimal:)
public init(decimal dcm: Decimal)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.init(string:)
public convenience init(string numberValue: String?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.init(string:locale:)
public convenience init(string numberValue: String?, locale: Any?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.description(withLocale:)
open func description(withLocale locale: Any?) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.decimalValue
open var decimalValue: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.zero
@NSCopying open class var zero: NSDecimalNumber { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.one
@NSCopying open class var one: NSDecimalNumber { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.minimum
@NSCopying open class var minimum: NSDecimalNumber { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.maximum
@NSCopying open class var maximum: NSDecimalNumber { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.notANumber
@NSCopying open class var notANumber: NSDecimalNumber { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.adding(_:)
open func adding(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.adding(_:withBehavior:)
open func adding(_ decimalNumber: NSDecimalNumber, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.subtracting(_:)
open func subtracting(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.subtracting(_:withBehavior:)
open func subtracting(_ decimalNumber: NSDecimalNumber, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.multiplying(by:)
open func multiplying(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.multiplying(by:withBehavior:)
open func multiplying(by decimalNumber: NSDecimalNumber, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.dividing(by:)
open func dividing(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.dividing(by:withBehavior:)
open func dividing(by decimalNumber: NSDecimalNumber, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.raising(toPower:)
open func raising(toPower power: Int) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.raising(toPower:withBehavior:)
open func raising(toPower power: Int, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.multiplying(byPowerOf10:)
open func multiplying(byPowerOf10 power: Int16) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.multiplying(byPowerOf10:withBehavior:)
open func multiplying(byPowerOf10 power: Int16, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.rounding(accordingToBehavior:)
open func rounding(accordingToBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.compare(_:)
open func compare(_ decimalNumber: NSNumber) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.defaultBehavior
open class var defaultBehavior: any NSDecimalNumberBehaviors
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.objCType
open var objCType: UnsafePointer<CChar> { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumber.doubleValue
open var doubleValue: Double { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumberHandler.default
open class var `default`: NSDecimalNumberHandler { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSDecimalNumberHandler.init(roundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:)
public init(roundingMode: RoundingMode, scale: Int16, raiseOnExactness: Bool, raiseOnOverflow: Bool, raiseOnUnderflow: Bool, raiseOnDivideByZero: Bool)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(coder:)
public init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:CChar)
public init(value: CChar)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:UInt8)
public init(value: UInt8)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Int16)
public init(value: Int16)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:UInt16)
public init(value: UInt16)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Int32)
public init(value: Int32)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:UInt32)
public init(value: UInt32)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Int64)
public init(value: Int64)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:UInt64)
public init(value: UInt64)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Float)
public init(value: Float)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Double)
public init(value: Double)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Bool)
public init(value: Bool)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(value:Int)
public init(value: Int)
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
NSNumber.init(value:UInt)
public init(value: UInt)
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
NSNumber.int8Value
open var int8Value: CChar { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.uint8Value
open var uint8Value: UInt8 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.int16Value
open var int16Value: Int16 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.uint16Value
open var uint16Value: UInt16 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.int32Value
open var int32Value: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.uint32Value
open var uint32Value: UInt32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.int64Value
open var int64Value: Int64 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.uint64Value
open var uint64Value: UInt64 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.floatValue
open var floatValue: Float { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.doubleValue
open var doubleValue: Double { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.boolValue
open var boolValue: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.intValue
open var intValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
NSNumber.uintValue
open var uintValue: UInt { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
NSNumber.stringValue
open var stringValue: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.compare(_:)
open func compare(_ otherNumber: NSNumber) -> ComparisonResult
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.isEqual(to:)
open func isEqual(to number: NSNumber) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.description(withLocale:)
open func description(withLocale locale: Any?) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.decimalValue
open var decimalValue: Decimal { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(integerLiteral:)
required public convenience init(integerLiteral value: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(floatLiteral:)
required public convenience init(floatLiteral value: Double)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSNumber.init(booleanLiteral:)
required public convenience init(booleanLiteral value: Bool)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all

6. Locale / NumberFormatter / FormatStyle

21·13·199
Locale.autoupdatingCurrent
public static var autoupdatingCurrent: Locale { get }
Deterministic stand-in: same fixed en_US value as current; no live preference tracking or special equality.
iOS allmacOS all
Locale.current
public static var current: Locale { get }
Deterministic en_US with USD, '.', ','; not host-aware.
iOS allmacOS all
Locale.init(identifier:)
public init(identifier: String)
Literal identifiers populate six parsed slots; dynamic identifiers keep only identifier slot; no ICU/BCP-47 extensions.
iOS allmacOS all
Locale.init(components:)
public init(components: Locale.Components)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.init(languageComponents:)
public init(languageComponents: Locale.Language.Components)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.init(languageCode:script:languageRegion:)
public init(languageCode: Locale.LanguageCode? = nil, script: Locale.Script? = nil, languageRegion: Locale.Region? = nil)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.localizedString(forIdentifier:)
public func localizedString(forIdentifier identifier: String) -> String?
Passthrough: returns input identifier wrapped in optional; no real translation.
iOS allmacOS all
Locale.localizedString(forLanguageCode:)
public func localizedString(forLanguageCode languageCode: String) -> String?
Passthrough: returns first argument as String?; no translation.
iOS allmacOS all
Locale.localizedString(forRegionCode:)
public func localizedString(forRegionCode regionCode: String) -> String?
Passthrough: returns first argument as String?; no translation.
iOS allmacOS all
Locale.localizedString(forScriptCode:)
public func localizedString(forScriptCode scriptCode: String) -> String?
Passthrough: returns first argument as String?; no translation.
iOS allmacOS all
Locale.localizedString(forVariantCode:)
public func localizedString(forVariantCode variantCode: String) -> String?
Passthrough: returns first argument as String?; no translation.
iOS allmacOS all
Locale.localizedString(for:)
public func localizedString(for calendarIdentifier: Calendar.Identifier) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.localizedString(forCurrencyCode:)
public func localizedString(forCurrencyCode currencyCode: String) -> String?
Passthrough: returns first argument as String?; no translation.
iOS allmacOS all
Locale.localizedString(forCollationIdentifier:)
public func localizedString(forCollationIdentifier collationIdentifier: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.localizedString(forCollatorIdentifier:)
public func localizedString(forCollatorIdentifier collatorIdentifier: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.identifier
public var identifier: String { get }
Reads identifier slot 0.
iOS allmacOS all
Locale.languageCode
public var languageCode: String? { get }
Reads slot 1; missing value returns nil. SDK deprecated; renamed language.languageCode.identifier.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.regionCode
public var regionCode: String? { get }
Reads slot 2; missing value returns nil. SDK deprecated; renamed region.identifier.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.scriptCode
public var scriptCode: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.variantCode
public var variantCode: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.exemplarCharacterSet
public var exemplarCharacterSet: CharacterSet? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.calendar
public var calendar: Calendar { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.collationIdentifier
public var collationIdentifier: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.usesMetricSystem
public var usesMetricSystem: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.decimalSeparator
public var decimalSeparator: String? { get }
Reads slot 4; defaults to '.', returns nil if missing. Region-mapped only, not CLDR.
iOS allmacOS all
Locale.groupingSeparator
public var groupingSeparator: String? { get }
Reads slot 5; defaults to ',', returns nil if missing. Region-mapped only, not CLDR.
iOS allmacOS all
Locale.currencySymbol
public var currencySymbol: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.currencyCode
public var currencyCode: String? { get }
Reads slot 3; unknown region returns nil. Small hardcoded region->currency map. SDK deprecated; renamed currency.identifier.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.collatorIdentifier
public var collatorIdentifier: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.quotationBeginDelimiter
public var quotationBeginDelimiter: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.quotationEndDelimiter
public var quotationEndDelimiter: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.alternateQuotationBeginDelimiter
public var alternateQuotationBeginDelimiter: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.alternateQuotationEndDelimiter
public var alternateQuotationEndDelimiter: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.measurementSystem
public var measurementSystem: Locale.MeasurementSystem { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.currency
public var currency: Locale.Currency? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.numberingSystem
public var numberingSystem: Locale.NumberingSystem { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.availableNumberingSystems
public var availableNumberingSystems: [Locale.NumberingSystem] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.firstDayOfWeek
public var firstDayOfWeek: Locale.Weekday { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.language
public var language: Locale.Language { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.identifier(_:)
public func identifier(_ type: Locale.IdentifierType) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.hourCycle
public var hourCycle: Locale.HourCycle { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.collation
public var collation: Locale.Collation { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.region
public var region: Locale.Region? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.timeZone
public var timeZone: TimeZone? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.subdivision
public var subdivision: Locale.Subdivision? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.variant
public var variant: Locale.Variant? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.preferredLanguages
public static var preferredLanguages: [String] { get }
Returns deterministic placeholder static array ["en"].
iOS allmacOS all
Locale.preferredLocales
public static var preferredLocales: [Locale] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
Locale.identifier(fromComponents:)
public static func identifier(fromComponents components: [String : String]) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.canonicalIdentifier(from:)
public static func canonicalIdentifier(from string: String) -> String
Deterministic passthrough: returns input unmodified. SDK deprecated; renamed identifier(_:from:).
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.canonicalLanguageIdentifier(from:)
public static func canonicalLanguageIdentifier(from string: String) -> String
Deterministic passthrough: returns input unmodified.
iOS allmacOS all
Locale.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.==(_:_:)
public static func == (lhs: Locale, rhs: Locale) -> Bool
Compares identifier slot via string equality; no autoupdating special case.
iOS allmacOS all
Locale.hashValue
public var hashValue: Int { get }
FNV-1a hash of the identifier field.
iOS allmacOS all
Locale.description
public var description: String { get }
Returns identifier slot, not Foundation's full description formatting.
iOS allmacOS all
Locale.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.identifier(fromWindowsLocaleCode:)
public static func identifier(fromWindowsLocaleCode code: Int) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.windowsLocaleCode(fromIdentifier:)
public static func windowsLocaleCode(fromIdentifier identifier: String) -> Int?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.identifier(_:from:)
public static func identifier(_ type: Locale.IdentifierType, from string: String) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.availableIdentifiers
public static var availableIdentifiers: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Locale.commonISOCurrencyCodes
public static var commonISOCurrencyCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.isoLanguageCodes
public static var isoLanguageCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.components(fromIdentifier:)
public static func components(fromIdentifier string: String) -> [String : String]
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.isoRegionCodes
public static var isoRegionCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.isoCurrencyCodes
public static var isoCurrencyCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.characterDirection(forLanguage:)
public static func characterDirection(forLanguage isoLangCode: String) -> Locale.LanguageDirection
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.lineDirection(forLanguage:)
public static func lineDirection(forLanguage isoLangCode: String) -> Locale.LanguageDirection
name-resolves only; no executable Foundation codegen.
iOS iOS 16 dep.macOS macOS 13 dep.
Locale.IdentifierType
public enum IdentifierType : Sendable { case bcp47, cldr, icu }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Components.init(languageCode:script:languageRegion:)
public init(languageCode: Locale.LanguageCode? = nil, script: Locale.Script? = nil, languageRegion: Locale.Region? = nil)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.LanguageCode.init(_:)
public init(_ identifier: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.LanguageCode.identifier
public var identifier: String
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.LanguageCode.isoLanguageCodes
public static var isoLanguageCodes: [Locale.LanguageCode] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Script.init(_:)
public init(_ identifier: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Script.unknown
public static let unknown: Locale.Script
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.init(identifier:)
public init(identifier: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.init(components:)
public init(components: Locale.Language.Components)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.init(languageCode:script:region:)
public init(languageCode: Locale.LanguageCode? = nil, script: Locale.Script? = nil, region: Locale.Region? = nil)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.systemLanguages
public static var systemLanguages: [Locale.Language] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.languageCode
public var languageCode: Locale.LanguageCode? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.script
public var script: Locale.Script? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.region
public var region: Locale.Region? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.characterDirection
public var characterDirection: Locale.LanguageDirection { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.lineLayoutDirection
public var lineLayoutDirection: Locale.LanguageDirection { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.parent
public var parent: Locale.Language? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.minimalIdentifier
public var minimalIdentifier: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.maximalIdentifier
public var maximalIdentifier: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.isEquivalent(to:)
public func isEquivalent(to language: Locale.Language) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.hasCommonParent(with:)
public func hasCommonParent(with language: Locale.Language) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Language.Components.init(languageCode:script:region:)
public init(languageCode: Locale.LanguageCode? = nil, script: Locale.Script? = nil, region: Locale.Region? = nil)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.init(_:)
public init(_ identifier: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.identifier
public var identifier: String
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.unknown
public static let unknown: Locale.Region
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.isISORegion
public var isISORegion: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.subRegions
public var subRegions: [Locale.Region] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.containingRegion
public var containingRegion: Locale.Region? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.continent
public var continent: Locale.Region? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Region.isoRegions
public static var isoRegions: [Locale.Region] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Currency.init(_:)
public init(_ identifier: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Currency.identifier
public var identifier: String
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Currency.isISOCurrency
public var isISOCurrency: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
Locale.Currency.isoCurrencies
public static var isoCurrencies: [Locale.Currency] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
NSLocale.init(localeIdentifier:)
public init(localeIdentifier string: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.object(forKey:)
open func object(forKey key: NSLocale.Key) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.displayName(forKey:value:)
open func displayName(forKey key: NSLocale.Key, value: Any) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.localeIdentifier
open var localeIdentifier: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.languageCode
open var languageCode: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.countryCode
open var countryCode: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0 dep.macOS all
NSLocale.scriptCode
open var scriptCode: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.variantCode
open var variantCode: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.decimalSeparator
open var decimalSeparator: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.groupingSeparator
open var groupingSeparator: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.currencyCode
open var currencyCode: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.localizedString(forLanguageCode:)
open func localizedString(forLanguageCode languageCode: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS all
NSLocale.current
open class var current: Locale { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.autoupdatingCurrent
open class var autoupdatingCurrent: Locale { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NSLocale.system
open class var system: Locale { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.availableLocaleIdentifiers
open class var availableLocaleIdentifiers: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.isoLanguageCodes
open class var isoLanguageCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.isoCountryCodes
open class var isoCountryCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.isoCurrencyCodes
open class var isoCurrencyCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.commonISOCurrencyCodes
open class var commonISOCurrencyCodes: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NSLocale.preferredLanguages
open class var preferredLanguages: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NSLocale.components(fromLocaleIdentifier:)
open class func components(fromLocaleIdentifier string: String) -> [String : String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.localeIdentifier(fromComponents:)
open class func localeIdentifier(fromComponents dict: [String : String]) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.canonicalLocaleIdentifier(from:)
open class func canonicalLocaleIdentifier(from string: String) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSLocale.Key
public struct Key : Hashable, Equatable, RawRepresentable, Sendable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Formatter.string(for:)
open func string(for obj: Any?) -> String?
Same lowering as NumberFormatter.string(from:); works for numeric Decimal smoke tests, no optional/object bridge.
iOS allmacOS all
Formatter.attributedString(for:withDefaultAttributes:)
open func attributedString(for obj: Any, withDefaultAttributes attrs: [NSAttributedString.Key : Any]? = nil) -> NSAttributedString?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Formatter.editingString(for:)
open func editingString(for obj: Any) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Formatter.getObjectValue(_:for:errorDescription:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Formatter.isPartialStringValid(_:newEditingString:errorDescription:)
open func isPartialStringValid(_ partialString: String, newEditingString newString: AutoreleasingUnsafeMutablePointer<NSString?>?, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Formatter.Context
public enum Context : Int { case unknown, dynamic, standalone, listItem, beginningOfSentence, middleOfSentence }
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS all
NumberFormatter()
public override init()
Five-slot formatter with deterministic defaults (style 0, minFrac 0, maxFrac -1, USD, grouping false), not Foundation defaults.
iOS allmacOS all
NumberFormatter.string(from:)
open func string(from number: NSNumber) -> String?
Accepts Decimal/Double/Float/Int via f64 path; no NSNumber bridge, returns non-optional String not String?.
iOS allmacOS all
NumberFormatter.number(from:)
open func number(from string: String) -> NSNumber?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.getObjectValue(_:for:range:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.localizedString(from:number:)
open class func localizedString(from num: NSNumber, number nstyle: NumberFormatter.Style) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NumberFormatter.defaultFormatterBehavior()
open class func defaultFormatterBehavior() -> NumberFormatter.Behavior
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.setDefaultFormatterBehavior(_:)
open class func setDefaultFormatterBehavior(_ behavior: NumberFormatter.Behavior)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.numberStyle
open var numberStyle: NumberFormatter.Style
Read/write supported; internal codes 0/1/2 differ from SDK raw values, .none and .decimal collapse.
iOS allmacOS all
NumberFormatter.locale
open var locale: Locale!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.generatesDecimalNumbers
open var generatesDecimalNumbers: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.formatterBehavior
open var formatterBehavior: NumberFormatter.Behavior
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.usesGroupingSeparator
open var usesGroupingSeparator: Bool
Read/write supported; enables comma thousands grouping in lightweight formatter.
iOS allmacOS all
NumberFormatter.decimalSeparator
open var decimalSeparator: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.groupingSeparator
open var groupingSeparator: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.alwaysShowsDecimalSeparator
open var alwaysShowsDecimalSeparator: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.currencyCode
open var currencyCode: String!
Read/write supported; default USD; used as text prefix for currency style.
iOS allmacOS all
NumberFormatter.currencySymbol
open var currencySymbol: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.internationalCurrencySymbol
open var internationalCurrencySymbol: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.percentSymbol
open var percentSymbol: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.perMillSymbol
open var perMillSymbol: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.minusSign
open var minusSign: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.plusSign
open var plusSign: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.exponentSymbol
open var exponentSymbol: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.positivePrefix
open var positivePrefix: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.positiveSuffix
open var positiveSuffix: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.negativePrefix
open var negativePrefix: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.negativeSuffix
open var negativeSuffix: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.negativeFormat
open var negativeFormat: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.positiveFormat
open var positiveFormat: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.allowsFloats
open var allowsFloats: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.groupingSize
open var groupingSize: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.secondaryGroupingSize
open var secondaryGroupingSize: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.minimumGroupingDigits
open var minimumGroupingDigits: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 18.0macOS macOS 15.0
NumberFormatter.multiplier
@NSCopying open var multiplier: NSNumber?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.formatWidth
open var formatWidth: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.paddingCharacter
open var paddingCharacter: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.paddingPosition
open var paddingPosition: NumberFormatter.PadPosition
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.roundingMode
open var roundingMode: NumberFormatter.RoundingMode
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.roundingIncrement
@NSCopying open var roundingIncrement: NSNumber!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.minimumIntegerDigits
open var minimumIntegerDigits: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.maximumIntegerDigits
open var maximumIntegerDigits: Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.minimumFractionDigits
open var minimumFractionDigits: Int
Read/write supported; pads to at least N fractional digits via __nf_format.
iOS allmacOS all
NumberFormatter.maximumFractionDigits
open var maximumFractionDigits: Int
Read/write supported; rounds/trims to at most N fractional digits; default -1 means unbounded.
iOS allmacOS all
NumberFormatter.minimum
@NSCopying open var minimum: NSNumber?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.maximum
@NSCopying open var maximum: NSNumber?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.currencyGroupingSeparator
open var currencyGroupingSeparator: String!
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NumberFormatter.isLenient
open var isLenient: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NumberFormatter.usesSignificantDigits
open var usesSignificantDigits: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NumberFormatter.minimumSignificantDigits
open var minimumSignificantDigits: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NumberFormatter.maximumSignificantDigits
open var maximumSignificantDigits: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NumberFormatter.formattingContext
open var formattingContext: Formatter.Context
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS all
NumberFormatter.isPartialStringValidationEnabled
open var isPartialStringValidationEnabled: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NumberFormatter.Style
public enum Style : UInt { case none, decimal, currency, percent, scientific, spellOut, ordinal, currencyISOCode, currencyPlural, currencyAccounting }
Only .none/.decimal/.currency/.percent reach formatter; scientific/spellOut/ordinal/currency* unmapped; raw values diverge.
iOS allmacOS all
NumberFormatter.Style.none
case none = 0
Maps to internal 0, same path as .decimal; collapsed with decimal.
iOS allmacOS all
NumberFormatter.Style.decimal
case decimal = 1
Supported but internal value 0, prints 0 when read; raw differs from SDK 1.
iOS allmacOS all
NumberFormatter.Style.currency
case currency = 2
Formats as '<currencyCode> <number>' e.g. USD 12.5; no symbol/locale placement.
iOS allmacOS all
NumberFormatter.Style.percent
case percent = 3
Multiplies by 100 and appends '%'; no localized percent symbol.
iOS allmacOS all
NumberFormatter.Style.scientific
case scientific = 4
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.Style.spellOut
case spellOut = 5
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.Style.ordinal
case ordinal = 6
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.Style.currencyISOCode
case currencyISOCode = 8
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.Style.currencyPlural
case currencyPlural = 9
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.Style.currencyAccounting
case currencyAccounting = 10
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.Behavior
public enum Behavior : UInt { case default = 0, behavior10_4 = 1040 }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.PadPosition
public enum PadPosition : UInt { case beforePrefix, afterPrefix, beforeSuffix, afterSuffix }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NumberFormatter.RoundingMode
public enum RoundingMode : UInt { case ceiling, floor, down, up, halfEven, halfDown, halfUp }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FormatStyle
public protocol FormatStyle<FormatInput, FormatOutput> : Decodable, Encodable, Hashable
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FormatStyle.format(_:)
func format(_ value: Self.FormatInput) -> Self.FormatOutput
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FormatStyle.locale(_:)
func locale(_ locale: Locale) -> Self
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.init(locale:)
public init(locale: Locale = .autoupdatingCurrent)
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.locale
public var locale: Locale
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.attributed
public var attributed: FloatingPointFormatStyle<Value>.Attributed { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.grouping(_:)
public func grouping(_ group: FloatingPointFormatStyle<Value>.Configuration.Grouping) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.precision(_:)
public func precision(_ p: FloatingPointFormatStyle<Value>.Configuration.Precision) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.sign(strategy:)
public func sign(strategy: FloatingPointFormatStyle<Value>.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.decimalSeparator(strategy:)
public func decimalSeparator(strategy: FloatingPointFormatStyle<Value>.Configuration.DecimalSeparatorDisplayStrategy) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.rounded(rule:increment:)
public func rounded(rule: FloatingPointFormatStyle<Value>.Configuration.RoundingRule = .toNearestOrEven, increment: Double? = nil) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.scale(_:)
public func scale(_ multiplicand: Double) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.notation(_:)
public func notation(_ notation: FloatingPointFormatStyle<Value>.Configuration.Notation) -> FloatingPointFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.format(_:)
public func format(_ value: Value) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.Percent
public struct Percent : Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.Currency
public struct Currency : Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FloatingPointFormatStyle.currency(code:)
public static func currency<Value>(code: String) -> Self where Self == FloatingPointFormatStyle<Value>.Currency, Value : BinaryFloatingPoint
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.init(locale:)
public init(locale: Locale = .autoupdatingCurrent)
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.locale
public var locale: Locale
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.attributed
public var attributed: IntegerFormatStyle<Value>.Attributed { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.grouping(_:)
public func grouping(_ group: IntegerFormatStyle<Value>.Configuration.Grouping) -> IntegerFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.precision(_:)
public func precision(_ p: IntegerFormatStyle<Value>.Configuration.Precision) -> IntegerFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.sign(strategy:)
public func sign(strategy: IntegerFormatStyle<Value>.Configuration.SignDisplayStrategy) -> IntegerFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.scale(_:)
public func scale(_ multiplicand: Double) -> IntegerFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.notation(_:)
public func notation(_ notation: IntegerFormatStyle<Value>.Configuration.Notation) -> IntegerFormatStyle<Value>
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.format(_:)
public func format(_ value: Value) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.Percent
public struct Percent : Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.Currency
public struct Currency : Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
IntegerFormatStyle.currency(code:)
public static func currency<V>(code: String) -> Self where Self == IntegerFormatStyle<V>.Currency, V : BinaryInteger
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FormatStyle.number (static .number)
public static var number: FloatingPointFormatStyle<Self> { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
BinaryFloatingPoint.formatted()
public func formatted() -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
BinaryInteger.formatted()
public func formatted() -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0

7. Measurement / Units

4·42·102
Measurement.init(value:unit:)
public init(value: Double, unit: UnitType)
Four-slot value; static unit exprs get internal codes/symbols. Generic UnitType erased.
iOS iOS 10macOS macOS 10.12
Measurement.value
public var value: Double
Slot 0; covered by tests.
iOS iOS 10macOS macOS 10.12
Measurement.unit
public let unit: UnitType
Stored as Int unit code; concrete type/object identity not preserved.
iOS iOS 10macOS macOS 10.12
Measurement.description
public var description: String { get }
Emits <value> <symbol> via double-to-string + cached symbol; not Foundation text.
iOS iOS 10macOS macOS 10.12
Measurement.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.converted(to:)
public func converted(to otherUnit: UnitType) -> Measurement<UnitType>
Nonmutating conversion via cached base value; no dimension-compatibility check.
iOS iOS 10macOS macOS 10.12
Measurement.convert(to:)
public mutating func convert(to otherUnit: UnitType)
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.+(_:_:) (Dimension)
public static func + (lhs: Measurement<UnitType>, rhs: Measurement<UnitType>) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.-(_:_:) (Dimension)
public static func - (lhs: Measurement<UnitType>, rhs: Measurement<UnitType>) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.+(_:_:) (Unit)
public static func + (lhs: Measurement<UnitType>, rhs: Measurement<UnitType>) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.-(_:_:) (Unit)
public static func - (lhs: Measurement<UnitType>, rhs: Measurement<UnitType>) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.*(_:_:) (measurement,scalar)
public static func * (lhs: Measurement<UnitType>, rhs: Double) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.*(_:_:) (scalar,measurement)
public static func * (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement./(_:_:) (measurement,scalar)
public static func / (lhs: Measurement<UnitType>, rhs: Double) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement./(_:_:) (scalar,measurement)
public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.==(_:_:)
public static func == <L, R>(lhs: Measurement<L>, rhs: Measurement<R>) -> Bool where L : Unit, R : Unit
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.<(_:_:)
public static func < <L, R>(lhs: Measurement<L>, rhs: Measurement<R>) -> Bool where L : Unit, R : Unit
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Measurement.formatted(_:)
public func formatted<S>(_ style: S) -> S.FormatOutput where S : FormatStyle, S.FormatInput == Measurement<UnitType>
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.formatted()
public func formatted() -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle
public struct FormatStyle : FormatStyle, Sendable (where UnitType : Dimension)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.init(width:locale:usage:numberFormatStyle:)
public init(width: UnitWidth, locale: Locale = .autoupdatingCurrent, usage: MeasurementFormatUnitUsage<UnitType> = .general, numberFormatStyle: FloatingPointFormatStyle<Double>? = nil)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.width
public var width: Measurement<UnitType>.FormatStyle.UnitWidth
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.locale
public var locale: Locale
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.numberFormatStyle
public var numberFormatStyle: FloatingPointFormatStyle<Double>?
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.usage
public var usage: MeasurementFormatUnitUsage<UnitType>?
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.attributed
public var attributed: Measurement<UnitType>.AttributedStyle { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.format(_:)
public func format(_ measurement: Measurement<UnitType>) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.locale(_:)
public func locale(_ locale: Locale) -> Measurement<UnitType>.FormatStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.UnitWidth.wide
public static var wide: Measurement<UnitType>.FormatStyle.UnitWidth { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.UnitWidth.abbreviated
public static var abbreviated: Measurement<UnitType>.FormatStyle.UnitWidth { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.FormatStyle.UnitWidth.narrow
public static var narrow: Measurement<UnitType>.FormatStyle.UnitWidth { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.AttributedStyle
public struct AttributedStyle : FormatStyle, Sendable (where UnitType : Dimension)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.AttributedStyle.format(_:)
public func format(_ measurement: Measurement<UnitType>) -> AttributedString
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
Measurement.AttributedStyle.locale(_:)
public func locale(_ locale: Locale) -> Measurement<UnitType>.AttributedStyle
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
MeasurementFormatUnitUsage.general
public static var general: MeasurementFormatUnitUsage<UnitType> { get }
Type stub only; no locale-driven unit choice. name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
MeasurementFormatUnitUsage.asProvided
public static var asProvided: MeasurementFormatUnitUsage<UnitType> { get }
Type stub only. name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
MeasurementFormatUnitUsage.weather (Temperature)
public static var weather: MeasurementFormatUnitUsage<UnitTemperature> { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
MeasurementFormatUnitUsage.person (Temperature)
public static var person: MeasurementFormatUnitUsage<UnitTemperature> { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
MeasurementFormatUnitUsage.road (Length)
public static var road: MeasurementFormatUnitUsage<UnitLength> { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
MeasurementFormatUnitUsage.food (Energy)
public static var food: MeasurementFormatUnitUsage<UnitEnergy> { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
UnitConverter.baseUnitValue(fromValue:)
open func baseUnitValue(fromValue value: Double) -> Double
value*coefficient+constant with Fahrenheit special case; static Unit*.converter uses known coefficients.
iOS allmacOS macOS 10.12
UnitConverter.value(fromBaseUnitValue:)
open func value(fromBaseUnitValue baseUnitValue: Double) -> Double
(base-constant)/coefficient; explicit Fahrenheit formula. Kelvin via coefficient/constant.
iOS allmacOS macOS 10.12
UnitConverter.init()
public override init() (NSObject)
miniswift extension: identity linear converter, coefficient 1.0, constant 0.0.
iOS allmacOS macOS 10.12
UnitConverterLinear.init(coefficient:)
public convenience init(coefficient: Double)
Three-slot converter, constant 0.0; covered by smoke tests.
iOS iOS 10macOS macOS 10.12
UnitConverterLinear.init(coefficient:constant:)
public init(coefficient: Double, constant: Double)
Three-slot affine converter; covered by smoke tests.
iOS iOS 10macOS macOS 10.12
UnitConverterLinear.coefficient
open var coefficient: Double { get }
Slot 0; covered by smoke tests.
iOS iOS 10macOS macOS 10.12
UnitConverterLinear.constant
open var constant: Double { get }
Slot 1; covered by smoke tests.
iOS iOS 10macOS macOS 10.12
Unit.symbol
open var symbol: String { get }
Static symbol lookup for mapped unit static members only.
iOS iOS 10macOS macOS 10.12
Unit.init(symbol:)
public init(symbol: String)
Custom units not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Dimension.converter
@NSCopying open var converter: UnitConverter { get }
Three-slot converter with family coefficient/constant for mapped Length/Mass/Duration/Speed/Temperature only.
iOS iOS 10macOS macOS 10.12
Dimension.init(symbol:converter:)
public init(symbol: String, converter: UnitConverter)
Custom dimension not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Dimension.baseUnit()
open class func baseUnit() -> Self
Base units hardcoded in conversion tables. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
Dimension.init(forLocale:)
public convenience init(forLocale: Locale)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
UnitLength.meters
@NSCopying open class var meters: UnitLength { get }
Mapped: code 1000, symbol m, base value*1.0.
iOS iOS 10macOS macOS 10.12
UnitLength.kilometers
@NSCopying open class var kilometers: UnitLength { get }
Mapped: code 1001, symbol km, value*1000.0.
iOS iOS 10macOS macOS 10.12
UnitLength.centimeters
@NSCopying open class var centimeters: UnitLength { get }
Mapped: code 1002, symbol cm, value*0.01.
iOS iOS 10macOS macOS 10.12
UnitLength.millimeters
@NSCopying open class var millimeters: UnitLength { get }
Mapped: code 1003, symbol mm, value*0.001.
iOS iOS 10macOS macOS 10.12
UnitLength.miles
@NSCopying open class var miles: UnitLength { get }
Mapped: code 1004, symbol mi, value*1609.344.
iOS iOS 10macOS macOS 10.12
UnitLength.yards
@NSCopying open class var yards: UnitLength { get }
Mapped: code 1005, symbol yd, value*0.9144.
iOS iOS 10macOS macOS 10.12
UnitLength.feet
@NSCopying open class var feet: UnitLength { get }
Mapped: code 1006, symbol ft, value*0.3048; symbol/converter tested.
iOS iOS 10macOS macOS 10.12
UnitLength.inches
@NSCopying open class var inches: UnitLength { get }
Mapped: code 1007, symbol in, value*0.0254.
iOS iOS 10macOS macOS 10.12
UnitLength.megameters
@NSCopying open class var megameters: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.hectometers
@NSCopying open class var hectometers: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.decameters
@NSCopying open class var decameters: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.decimeters
@NSCopying open class var decimeters: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.micrometers
@NSCopying open class var micrometers: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.nanometers
@NSCopying open class var nanometers: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.picometers
@NSCopying open class var picometers: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.scandinavianMiles
@NSCopying open class var scandinavianMiles: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.lightyears
@NSCopying open class var lightyears: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.nauticalMiles
@NSCopying open class var nauticalMiles: UnitLength { get }
Unmapped; falls back to unknown behavior. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.fathoms
@NSCopying open class var fathoms: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.furlongs
@NSCopying open class var furlongs: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.astronomicalUnits
@NSCopying open class var astronomicalUnits: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.parsecs
@NSCopying open class var parsecs: UnitLength { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitLength.init(forLocale:usage:)
public convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitLength> = .general)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
UnitMass.kilograms
@NSCopying open class var kilograms: UnitMass { get }
Mapped: code 2000, symbol kg, base value*1.0.
iOS iOS 10macOS macOS 10.12
UnitMass.grams
@NSCopying open class var grams: UnitMass { get }
Mapped: code 2001, symbol g, value*0.001.
iOS iOS 10macOS macOS 10.12
UnitMass.milligrams
@NSCopying open class var milligrams: UnitMass { get }
Mapped: code 2002, symbol mg, value*0.000001.
iOS iOS 10macOS macOS 10.12
UnitMass.pounds
@NSCopying open class var pounds: UnitMass { get }
Mapped: code 2003, symbol lb, value*0.45359237.
iOS iOS 10macOS macOS 10.12
UnitMass.ounces
@NSCopying open class var ounces: UnitMass { get }
Mapped: code 2004, symbol oz, value*0.028349523125.
iOS iOS 10macOS macOS 10.12
UnitMass.decigrams
@NSCopying open class var decigrams: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.centigrams
@NSCopying open class var centigrams: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.micrograms
@NSCopying open class var micrograms: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.nanograms
@NSCopying open class var nanograms: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.picograms
@NSCopying open class var picograms: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.stones
@NSCopying open class var stones: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.metricTons
@NSCopying open class var metricTons: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.shortTons
@NSCopying open class var shortTons: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.carats
@NSCopying open class var carats: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.ouncesTroy
@NSCopying open class var ouncesTroy: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.slugs
@NSCopying open class var slugs: UnitMass { get }
Unmapped long-tail unit. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitMass.init(forLocale:usage:)
public convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitMass> = .general)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
UnitDuration.seconds
@NSCopying open class var seconds: UnitDuration { get }
Mapped: code 3000, symbol s, base value*1.0.
iOS iOS 10macOS macOS 10.12
UnitDuration.minutes
@NSCopying open class var minutes: UnitDuration { get }
Mapped: code 3001, symbol min, value*60.0.
iOS iOS 10macOS macOS 10.12
UnitDuration.hours
@NSCopying open class var hours: UnitDuration { get }
Mapped: code 3002, symbol hr, value*3600.0.
iOS iOS 10macOS macOS 10.12
UnitDuration.milliseconds
@NSCopying open class var milliseconds: UnitDuration { get }
Sub-second unit unmapped. name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
UnitDuration.microseconds
@NSCopying open class var microseconds: UnitDuration { get }
Sub-second unit unmapped. name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
UnitDuration.nanoseconds
@NSCopying open class var nanoseconds: UnitDuration { get }
Sub-second unit unmapped. name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
UnitDuration.picoseconds
@NSCopying open class var picoseconds: UnitDuration { get }
Sub-second unit unmapped. name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
UnitSpeed.metersPerSecond
@NSCopying open class var metersPerSecond: UnitSpeed { get }
Mapped: code 4000, symbol m/s, base value*1.0.
iOS iOS 10macOS macOS 10.12
UnitSpeed.kilometersPerHour
@NSCopying open class var kilometersPerHour: UnitSpeed { get }
Mapped: code 4001, symbol km/h, value*(1000/3600).
iOS iOS 10macOS macOS 10.12
UnitSpeed.milesPerHour
@NSCopying open class var milesPerHour: UnitSpeed { get }
Mapped: code 4002, symbol mph, value*(1609.344/3600).
iOS iOS 10macOS macOS 10.12
UnitSpeed.knots
@NSCopying open class var knots: UnitSpeed { get }
Not mapped in UnitSpeed. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitSpeed.init(forLocale:usage:)
public convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitSpeed> = .general)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 14
UnitTemperature.kelvin
@NSCopying open class var kelvin: UnitTemperature { get }
Mapped: code 5002, symbol K, Celsius base = value-273.15.
iOS iOS 10macOS macOS 10.12
UnitTemperature.celsius
@NSCopying open class var celsius: UnitTemperature { get }
Mapped: code 5000, symbol C, Celsius base = value.
iOS iOS 10macOS macOS 10.12
UnitTemperature.fahrenheit
@NSCopying open class var fahrenheit: UnitTemperature { get }
Mapped: code 5001, symbol F, base=(value-32)*5/9; converter tested.
iOS iOS 10macOS macOS 10.12
UnitTemperature.init(forLocale:usage:)
public convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitTemperature> = .general)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
UnitArea (all static members)
open class UnitArea : Dimension (squareMeters, acres, hectares, ...14 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitVolume (all static members)
open class UnitVolume : Dimension (liters, gallons, cups, ...39 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitAngle (all static members)
open class UnitAngle : Dimension (degrees, radians, gradians, revolutions, arcMinutes, arcSeconds)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitPressure (all static members)
open class UnitPressure : Dimension (newtonsPerMetersSquared, bars, hectopascals, ...10 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitPressure.init(forLocale:usage:)
public convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitPressure> = .general)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 14
UnitEnergy (all static members)
open class UnitEnergy : Dimension (joules, kilojoules, calories, kilocalories, kilowattHours)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitEnergy.init(forLocale:usage:)
public convenience init(forLocale: Locale, usage: MeasurementFormatUnitUsage<UnitEnergy> = .general)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
UnitPower (all static members)
open class UnitPower : Dimension (watts, kilowatts, horsepower, ...11 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitFrequency (all static members)
open class UnitFrequency : Dimension (hertz, kilohertz, gigahertz, framesPerSecond, ...9 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitAcceleration (all static members)
open class UnitAcceleration : Dimension (metersPerSecondSquared, gravity)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitElectricCharge (all static members)
open class UnitElectricCharge : Dimension (coulombs, ampereHours, milliampereHours, ...6 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitElectricCurrent (all static members)
open class UnitElectricCurrent : Dimension (amperes, milliamperes, kiloamperes, ...5 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitElectricPotentialDifference (all static members)
open class UnitElectricPotentialDifference : Dimension (volts, millivolts, kilovolts, ...5 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitElectricResistance (all static members)
open class UnitElectricResistance : Dimension (ohms, kiloohms, megaohms, milliohms, microohms)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitFuelEfficiency (all static members)
open class UnitFuelEfficiency : Dimension (litersPer100Kilometers, milesPerGallon, milesPerImperialGallon)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitIlluminance.lux
@NSCopying open class var lux: UnitIlluminance { get }
Type stub only; static member not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitInformationStorage (all static members)
open class UnitInformationStorage : Dimension (bytes, bits, gigabytes, gibibytes, ...34 members)
Type stub only; static members not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
UnitConcentrationMass.gramsPerLiter
@NSCopying open class var gramsPerLiter: UnitConcentrationMass { get }
Type stub only; static member not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitConcentrationMass.milligramsPerDeciliter
@NSCopying open class var milligramsPerDeciliter: UnitConcentrationMass { get }
Type stub only; static member not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitConcentrationMass.millimolesPerLiter(withGramsPerMole:)
open class func millimolesPerLiter(withGramsPerMole gramsPerMole: Double) -> UnitConcentrationMass
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
UnitDispersion.partsPerMillion
@NSCopying open class var partsPerMillion: UnitDispersion { get }
Type stub only; static member not lowered. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.init()
open class MeasurementFormatter : Formatter, NSSecureCoding (default init)
Two-slot formatter; deterministic defaults.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.unitOptions
open var unitOptions: MeasurementFormatter.UnitOptions
Stored as Int (.providedUnit=1, .naturalScale=2, .temperatureWithoutUnit=4); no option-set composition behavior.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.unitStyle
open var unitStyle: Formatter.UnitStyle
Stored as Int (.medium=0, .short=1, .long=2); shallow formatting, no Foundation width fidelity.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.locale
open var locale: Locale!
Not resolved/lowered; no locale integration. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.numberFormatter
@NSCopying open var numberFormatter: NumberFormatter!
Not resolved/lowered; values use __str_from_double. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.string(from:) (measurement)
open func string(from measurement: Measurement<Unit>) -> String
Lightweight <value> <unit text> or value-only via stored style/options; not locale or NumberFormatter.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.string(from:) (unit)
open func string(from unit: Unit) -> String
Symbol/long-name lookup for mapped unit code; works for mapped families only.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.string(from:) <UnitType>
public func string<UnitType>(from measurement: Measurement<UnitType>) -> String where UnitType : Unit
Generic overload routes to same lightweight stringify as the Unit-typed form.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.UnitOptions.init(rawValue:)
public init(rawValue: UInt)
Raw-like Int codes only; no real OptionSet composition.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.UnitOptions.providedUnit
public static var providedUnit: MeasurementFormatter.UnitOptions { get }
Stored/read back as 1; keeps provided unit by default, no scale logic.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.UnitOptions.naturalScale
public static var naturalScale: MeasurementFormatter.UnitOptions { get }
Stored/read back as 2; no automatic natural-scale selection behavior.
iOS iOS 10macOS macOS 10.12
MeasurementFormatter.UnitOptions.temperatureWithoutUnit
public static var temperatureWithoutUnit: MeasurementFormatter.UnitOptions { get }
Code exactly 4 returns value-only string; omits unit unconditionally; smoke-tested.
iOS iOS 10macOS macOS 10.12
NSMeasurement (Measurement.ReferenceType bridge)
public typealias ReferenceType = NSMeasurement
NSMeasurement stubbed only; no ObjC bridge, copy, coding, add/subtract. name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12

8. Other formatters

0·0·166
Formatter.string(for:)
open func string(for obj: Any?) -> String?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Formatter.attributedString(for:withDefaultAttributes:)
open func attributedString(for obj: Any, withDefaultAttributes attrs: [NSAttributedString.Key : Any]? = nil) -> NSAttributedString?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Formatter.editingString(for:)
open func editingString(for obj: Any) -> String?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Formatter.getObjectValue(_:for:errorDescription:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Formatter.isPartialStringValid(_:newEditingString:errorDescription:)
open func isPartialStringValid(_ partialString: String, newEditingString newString: AutoreleasingUnsafeMutablePointer<NSString?>?, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Formatter.isPartialStringValid(_:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:)
open func isPartialStringValid(_ partialStringPtr: AutoreleasingUnsafeMutablePointer<NSString>, proposedSelectedRange proposedSelRangePtr: NSRangePointer?, originalString origString: String, originalSelectedRange origSelRange: NSRange, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Formatter.Context
public enum Context : Int, @unchecked Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.Context.unknown
case unknown = 0
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.Context.dynamic
case dynamic = 1
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.Context.standalone
case standalone = 2
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.Context.listItem
case listItem = 3
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.Context.beginningOfSentence
case beginningOfSentence = 4
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.Context.middleOfSentence
case middleOfSentence = 5
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.UnitStyle
public enum UnitStyle : Int, @unchecked Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.UnitStyle.short
case short = 1
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.UnitStyle.medium
case medium = 2
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
Formatter.UnitStyle.long
case long = 3
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
ByteCountFormatter
open class ByteCountFormatter : Formatter
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.string(fromByteCount:countStyle:)
open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.string(fromByteCount:)
open func string(fromByteCount byteCount: Int64) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.string(from:countStyle:)
open class func string(from measurement: Measurement<UnitInformationStorage>, countStyle: ByteCountFormatter.CountStyle) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ByteCountFormatter.string(from:)
open func string(from measurement: Measurement<UnitInformationStorage>) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ByteCountFormatter.string(for:)
open func string(for obj: Any?) -> String?
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.allowedUnits
open var allowedUnits: ByteCountFormatter.Units
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.countStyle
open var countStyle: ByteCountFormatter.CountStyle
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.allowsNonnumericFormatting
open var allowsNonnumericFormatting: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.includesUnit
open var includesUnit: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.includesCount
open var includesCount: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.includesActualByteCount
open var includesActualByteCount: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.isAdaptive
open var isAdaptive: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.zeroPadsFractionDigits
open var zeroPadsFractionDigits: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.formattingContext
open var formattingContext: Formatter.Context
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS all
ByteCountFormatter.Units
public struct Units : OptionSet, @unchecked Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useBytes
public static var useBytes: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useKB
public static var useKB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useMB
public static var useMB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useGB
public static var useGB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useTB
public static var useTB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.usePB
public static var usePB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useEB
public static var useEB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useZB
public static var useZB: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useYBOrHigher
public static var useYBOrHigher: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.Units.useAll
public static var useAll: ByteCountFormatter.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.CountStyle
public enum CountStyle : Int, @unchecked Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.CountStyle.file
case file = 0
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.CountStyle.memory
case memory = 1
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.CountStyle.decimal
case decimal = 2
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatter.CountStyle.binary
case binary = 3
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.8
ByteCountFormatStyle
public struct ByteCountFormatStyle : FormatStyle, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.init(style:allowedUnits:spellsOutZero:includesActualByteCount:locale:)
public init(style: ByteCountFormatStyle.Style = .file, allowedUnits: ByteCountFormatStyle.Units = .all, spellsOutZero: Bool = true, includesActualByteCount: Bool = false, locale: Locale = .autoupdatingCurrent)
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.style
public var style: ByteCountFormatStyle.Style
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.allowedUnits
public var allowedUnits: ByteCountFormatStyle.Units
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.spellsOutZero
public var spellsOutZero: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.includesActualByteCount
public var includesActualByteCount: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.locale
public var locale: Locale
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.attributed
public var attributed: ByteCountFormatStyle.Attributed
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.format(_:)
public func format(_ value: Int64) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.locale(_:)
public func locale(_ locale: Locale) -> ByteCountFormatStyle
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Style
public enum Style : Int, Codable, Hashable, Sendable { case file; case memory; case decimal; case binary }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Units
public struct Units : OptionSet, Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Units.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Units (bytes/kb/mb/gb/tb/pb/eb/zb/ybOrHigher/all/default)
public static var bytes/kb/mb/gb/tb/pb/eb/zb/ybOrHigher/all/default: ByteCountFormatStyle.Units { get }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Attributed
public struct Attributed : FormatStyle, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Attributed.format(_:)
public func format(_ value: Int64) -> AttributedString
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ByteCountFormatStyle.Attributed.locale(_:)
public func locale(_ locale: Locale) -> ByteCountFormatStyle.Attributed
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
FormatStyle.byteCount(style:allowedUnits:spellsOutZero:includesActualByteCount:)
public static func byteCount(style: ByteCountFormatStyle.Style, allowedUnits: ByteCountFormatStyle.Units = .all, spellsOutZero: Bool = true, includesActualByteCount: Bool = false) -> Self
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents
public struct PersonNameComponents : ReferenceConvertible, Hashable, Equatable, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.init()
public init()
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.init(namePrefix:givenName:middleName:familyName:nameSuffix:nickname:phoneticRepresentation:)
public init(namePrefix: String? = nil, givenName: String? = nil, middleName: String? = nil, familyName: String? = nil, nameSuffix: String? = nil, nickname: String? = nil, phoneticRepresentation: PersonNameComponents? = nil)
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.namePrefix
public var namePrefix: String?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.givenName
public var givenName: String?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.middleName
public var middleName: String?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.familyName
public var familyName: String?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.nameSuffix
public var nameSuffix: String?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.nickname
public var nickname: String?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.phoneticRepresentation
public var phoneticRepresentation: PersonNameComponents?
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.==(_:_:)
public static func == (lhs: PersonNameComponents, rhs: PersonNameComponents) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponents.formatted(_:)
public func formatted<S>(_ style: S) -> S.FormatOutput where S : FormatStyle, S.FormatInput == PersonNameComponents
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.formatted()
public func formatted() -> String
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.init(_:strategy:)
public init<S>(_ value: S.ParseInput, strategy: S) throws where S : ParseStrategy, S.ParseOutput == PersonNameComponents
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.init(_:)
public init(_ value: String) throws
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle
public struct FormatStyle : FormatStyle, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.init(style:locale:)
public init(style: PersonNameComponents.FormatStyle.Style = .medium, locale: Locale = .autoupdatingCurrent)
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.style
public var style: PersonNameComponents.FormatStyle.Style
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.locale
public var locale: Locale
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.attributed
public var attributed: PersonNameComponents.AttributedStyle { get }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.format(_:)
public func format(_ value: PersonNameComponents) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.locale(_:)
public func locale(_ locale: Locale) -> PersonNameComponents.FormatStyle
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.parseStrategy
public var parseStrategy: PersonNameComponents.ParseStrategy { get }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.FormatStyle.Style
public enum Style : Int, Codable, Hashable, Sendable { case short; case medium; case long; case abbreviated }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.AttributedStyle
public struct AttributedStyle : FormatStyle, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.AttributedStyle.init(style:locale:)
public init(style: PersonNameComponents.FormatStyle.Style = .medium, locale: Locale = .autoupdatingCurrent)
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.AttributedStyle.format(_:)
public func format(_ value: PersonNameComponents) -> AttributedString
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.AttributedStyle.locale(_:)
public func locale(_ locale: Locale) -> PersonNameComponents.AttributedStyle
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.ParseStrategy
public struct ParseStrategy : ParseStrategy, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.ParseStrategy.init()
public init()
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponents.ParseStrategy.parse(_:)
public func parse(_ value: String) throws -> PersonNameComponents
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ParseStrategy.name
public static var name: PersonNameComponents.ParseStrategy { get }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
FormatStyle.name(style:)
public static func name(style: PersonNameComponents.FormatStyle.Style) -> Self
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponentsFormatter
open class PersonNameComponentsFormatter : Formatter, @unchecked Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.style
open var style: PersonNameComponentsFormatter.Style
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.isPhonetic
open var isPhonetic: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.locale
open var locale: Locale!
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
PersonNameComponentsFormatter.localizedString(from:style:options:)
open class func localizedString(from components: PersonNameComponents, style nameFormatStyle: PersonNameComponentsFormatter.Style, options nameOptions: PersonNameComponentsFormatter.Options = []) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.string(from:)
open func string(from components: PersonNameComponents) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.annotatedString(from:)
open func annotatedString(from components: PersonNameComponents) -> NSAttributedString
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.personNameComponents(from:)
open func personNameComponents(from string: String) -> PersonNameComponents?
name-resolves only; no executable Foundation codegen
iOS iOS 10macOS macOS 10.12
PersonNameComponentsFormatter.getObjectValue(_:for:errorDescription:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.Style
public enum Style : Int, @unchecked Sendable { case default = 0; case short = 1; case medium = 2; case long = 3; case abbreviated = 4 }
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.Options
public struct Options : OptionSet, @unchecked Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.Options.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
PersonNameComponentsFormatter.Options.phonetic
public static var phonetic: PersonNameComponentsFormatter.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9macOS macOS 10.11
EnergyFormatter
open class EnergyFormatter : Formatter
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.numberFormatter
@NSCopying open var numberFormatter: NumberFormatter!
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.unitStyle
open var unitStyle: Formatter.UnitStyle
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.isForFoodEnergyUse
open var isForFoodEnergyUse: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.string(fromValue:unit:)
open func string(fromValue value: Double, unit: EnergyFormatter.Unit) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.string(fromJoules:)
open func string(fromJoules numberInJoules: Double) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.unitString(fromValue:unit:)
open func unitString(fromValue value: Double, unit: EnergyFormatter.Unit) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.unitString(fromJoules:usedUnit:)
open func unitString(fromJoules numberInJoules: Double, usedUnit unitp: UnsafeMutablePointer<EnergyFormatter.Unit>?) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.getObjectValue(_:for:errorDescription:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
EnergyFormatter.Unit
public enum Unit : Int, @unchecked Sendable { case joule = 11; case kilojoule = 14; case calorie = 1793; case kilocalorie = 1794 }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter
open class MassFormatter : Formatter
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.numberFormatter
@NSCopying open var numberFormatter: NumberFormatter!
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.unitStyle
open var unitStyle: Formatter.UnitStyle
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.isForPersonMassUse
open var isForPersonMassUse: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.string(fromValue:unit:)
open func string(fromValue value: Double, unit: MassFormatter.Unit) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.string(fromKilograms:)
open func string(fromKilograms numberInKilograms: Double) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.unitString(fromValue:unit:)
open func unitString(fromValue value: Double, unit: MassFormatter.Unit) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.unitString(fromKilograms:usedUnit:)
open func unitString(fromKilograms numberInKilograms: Double, usedUnit unitp: UnsafeMutablePointer<MassFormatter.Unit>?) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.getObjectValue(_:for:errorDescription:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
MassFormatter.Unit
public enum Unit : Int, @unchecked Sendable { case gram = 11; case kilogram = 14; case ounce = 1537; case pound = 1538; case stone = 1539 }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter
open class LengthFormatter : Formatter
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.numberFormatter
@NSCopying open var numberFormatter: NumberFormatter!
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.unitStyle
open var unitStyle: Formatter.UnitStyle
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.isForPersonHeightUse
open var isForPersonHeightUse: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.string(fromValue:unit:)
open func string(fromValue value: Double, unit: LengthFormatter.Unit) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.string(fromMeters:)
open func string(fromMeters numberInMeters: Double) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.unitString(fromValue:unit:)
open func unitString(fromValue value: Double, unit: LengthFormatter.Unit) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.unitString(fromMeters:usedUnit:)
open func unitString(fromMeters numberInMeters: Double, usedUnit unitp: UnsafeMutablePointer<LengthFormatter.Unit>?) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.getObjectValue(_:for:errorDescription:)
open func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription error: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
LengthFormatter.Unit
public enum Unit : Int, @unchecked Sendable { case millimeter=8; centimeter=9; meter=11; kilometer=14; inch=1281; foot=1282; yard=1283; mile=1284 }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
ListFormatter
open class ListFormatter : Formatter
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ListFormatter.locale
open var locale: Locale!
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ListFormatter.itemFormatter
@NSCopying open var itemFormatter: Formatter?
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ListFormatter.localizedString(byJoining:)
open class func localizedString(byJoining strings: [String]) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ListFormatter.string(from:)
open func string(from items: [Any]) -> String?
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ListFormatter.string(for:)
open func string(for obj: Any?) -> String?
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
ListFormatStyle
public struct ListFormatStyle<Style, Base> : FormatStyle where Style : FormatStyle, Base : Sequence, Style.FormatInput == Base.Element, Style.FormatOutput == String
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.init(memberStyle:)
public init(memberStyle: Style)
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.width
public var width: ListFormatStyle<Style, Base>.Width
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.listType
public var listType: ListFormatStyle<Style, Base>.ListType
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.locale
public var locale: Locale
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.format(_:)
public func format(_ value: Base) -> String
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.locale(_:)
public func locale(_ locale: Locale) -> ListFormatStyle<Style, Base>
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.Width
public enum Width : Int, Codable, Sendable { case standard; case short; case narrow }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
ListFormatStyle.ListType
public enum ListType : Int, Codable, Sendable { case and; case or }
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
FormatStyle.list(memberStyle:type:width:)
public static func list<MemberStyle, Base>(memberStyle: MemberStyle, type: ListFormatStyle<MemberStyle, Base>.ListType, width: ListFormatStyle<MemberStyle, Base>.Width = .standard) -> Self
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
FormatStyle.list(type:width:)
public static func list<Base>(type: ListFormatStyle<StringStyle, Base>.ListType, width: ListFormatStyle<StringStyle, Base>.Width = .standard) -> Self where Self == ListFormatStyle<StringStyle, Base>, Base.Element == String
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12

9. URL / URLComponents

1·66·150
URL.init(string:)
public init?(string: String)
Stored as String; returns plain string, no validation or nil result. Doc: partial.
iOS allmacOS all
URL.init(string:relativeTo:)
public init?(string: String, relativeTo url: URL?)
Concatenates base + relative string; no RFC relative resolution. Doc: diverges/partial.
iOS allmacOS all
URL.init(string:encodingInvalidCharacters:)
public init?(string: String, encodingInvalidCharacters: Bool)
Effectively first string arg; encoding flag not modeled. Doc: partial.
iOS iOS 17macOS macOS 14
URL.init(fileURLWithPath:isDirectory:relativeTo:)
public init(fileURLWithPath path: String, isDirectory: Bool, relativeTo base: URL?)
'file://' + path; no directory hint or base. Doc: partial.
iOS allmacOS all
URL.init(fileURLWithPath:relativeTo:)
public init(fileURLWithPath path: String, relativeTo base: URL?)
'file://' + path; base ignored. Doc: partial.
iOS allmacOS all
URL.init(fileURLWithPath:isDirectory:)
public init(fileURLWithPath path: String, isDirectory: Bool)
'file://' + path; directory hint not modeled. Doc: partial.
iOS allmacOS all
URL.init(fileURLWithPath:)
public init(fileURLWithPath path: String)
Prefixes path with 'file://'; no FS checks or normalization. Doc: partial.
iOS allmacOS all
URL.init(filePath:directoryHint:relativeTo:)
public init(filePath path: String, directoryHint: URL.DirectoryHint = .inferFromPath, relativeTo base: URL? = nil)
Modern file path init; directory hints and base absent. Doc: partial.
iOS iOS 16macOS macOS 13
URL.init(filePath:directoryHint:)
public init?(filePath path: FilePath, directoryHint: URL.DirectoryHint = .inferFromPath)
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.init(dataRepresentation:relativeTo:isAbsolute:)
public init?(dataRepresentation: Data, relativeTo base: URL?, isAbsolute: Bool = false)
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URL.init(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:)
public init(resolvingBookmarkData data: Data, options: URL.BookmarkResolutionOptions = [], relativeTo url: URL? = nil, bookmarkDataIsStale: inout Bool) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.init(resolvingAliasFileAt:options:)
public init(resolvingAliasFileAt url: URL, options: URL.BookmarkResolutionOptions = []) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.init(fileURLWithFileSystemRepresentation:isDirectory:relativeTo:)
public init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory: Bool, relativeTo base: URL?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.init(fileReferenceLiteralResourceName:)
public init(fileReferenceLiteralResourceName name: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.dataRepresentation
public var dataRepresentation: Data { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URL.absoluteString
public var absoluteString: String { get }
Returns the stored URL string. Doc: supported (URL is the string).
iOS allmacOS all
URL.relativeString
public var relativeString: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.baseURL
public var baseURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.absoluteURL
public var absoluteURL: URL { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.scheme
public var scheme: String? { get }
From __url_scheme parser; missing component returns empty string not nil. Doc: partial.
iOS allmacOS all
URL.isFileURL
public var isFileURL: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.host
public var host: String? { get }
From __url_host; handles auth/port stripping; empty not nil. Doc: partial.
iOS allmacOS all
URL.host(percentEncoded:)
public func host(percentEncoded: Bool = true) -> String?
Method lowering exists; Bool flag ignored. Doc: partial.
iOS iOS 16macOS macOS 13
URL.port
public var port: Int? { get }
Parser returns integer, 0 when absent; no optional nil. Doc: partial.
iOS allmacOS all
URL.user
public var user: String? { get }
Supported via percent-encoded method-style call and shared parser. Doc: partial.
iOS allmacOS all
URL.user(percentEncoded:)
public func user(percentEncoded: Bool = true) -> String?
Method lowering exists; Bool flag ignored. Doc: partial.
iOS iOS 16macOS macOS 13
URL.password
public var password: String? { get }
Supported via percent-encoded method-style call and shared parser. Doc: partial.
iOS allmacOS all
URL.password(percentEncoded:)
public func password(percentEncoded: Bool = true) -> String?
Method lowering exists; Bool flag ignored. Doc: partial.
iOS iOS 16macOS macOS 13
URL.path
public var path: String { get }
From __url_path; no full URL standard normalization. Doc: supported subset.
iOS allmacOS all
URL.path(percentEncoded:)
public func path(percentEncoded: Bool = true) -> String
Method lowering exists; Bool flag ignored. Doc: partial.
iOS iOS 16macOS macOS 13
URL.relativePath
public var relativePath: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.query
public var query: String? { get }
From __url_query; missing query returns empty string not nil. Doc: partial.
iOS allmacOS all
URL.query(percentEncoded:)
public func query(percentEncoded: Bool = true) -> String?
Method lowering exists; Bool flag ignored. Doc: partial.
iOS iOS 16macOS macOS 13
URL.fragment
public var fragment: String? { get }
Supported via percent-encoded method-style call and shared parser. Doc: partial.
iOS allmacOS all
URL.fragment(percentEncoded:)
public func fragment(percentEncoded: Bool = true) -> String?
Method lowering exists; Bool flag ignored. Doc: partial.
iOS iOS 16macOS macOS 13
URL.withUnsafeFileSystemRepresentation(_:)
public func withUnsafeFileSystemRepresentation<R>(_ block: (UnsafePointer<Int8>?) throws -> R) rethrows -> R
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.hasDirectoryPath
public var hasDirectoryPath: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URL.pathComponents
public var pathComponents: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.lastPathComponent
public var lastPathComponent: String { get }
__url_last_path_component; used by response suggested filename. Doc: supported subset.
iOS allmacOS all
URL.pathExtension
public var pathExtension: String { get }
__url_path_extension; query/fragment stripped first. Doc: supported subset.
iOS allmacOS all
URL.appendingPathComponent(_:isDirectory:)
public func appendingPathComponent(_ pathComponent: String, isDirectory: Bool) -> URL
String helper; adds slash when needed; isDirectory not modeled. Doc: supported subset.
iOS allmacOS all
URL.appendingPathComponent(_:)
public func appendingPathComponent(_ pathComponent: String) -> URL
String helper result; adds slash when needed. Doc: supported subset.
iOS allmacOS all
URL.deletingLastPathComponent()
public func deletingLastPathComponent() -> URL
Simple path slicing. Doc: supported subset.
iOS allmacOS all
URL.appendingPathExtension(_:)
public func appendingPathExtension(_ pathExtension: String) -> URL
String helper; inserts before query/fragment. Doc: supported subset.
iOS allmacOS all
URL.deletingPathExtension()
public func deletingPathExtension() -> URL
Simple extension stripping. Doc: supported subset.
iOS allmacOS all
URL.appendPathComponent(_:isDirectory:)
public mutating func appendPathComponent(_ pathComponent: String, isDirectory: Bool)
Mutating string helper; isDirectory not modeled. Doc: supported subset (deprecated form).
iOS allmacOS all
URL.appendPathComponent(_:)
public mutating func appendPathComponent(_ pathComponent: String)
Mutating string helper; adds slash when needed. Doc: supported subset.
iOS allmacOS all
URL.appendPathExtension(_:)
public mutating func appendPathExtension(_ pathExtension: String)
Mutating string helper; inserts before query/fragment. Doc: supported subset.
iOS allmacOS all
URL.deleteLastPathComponent()
public mutating func deleteLastPathComponent()
Mutating path slicing. Doc: supported subset.
iOS allmacOS all
URL.deletePathExtension()
public mutating func deletePathExtension()
Mutating extension stripping. Doc: supported subset.
iOS allmacOS all
URL.appending(path:directoryHint:)
public func appending<S>(path: S, directoryHint: URL.DirectoryHint = .inferFromPath) -> URL where S : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.append(path:directoryHint:)
public mutating func append<S>(path: S, directoryHint: URL.DirectoryHint = .inferFromPath) where S : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.appending(component:directoryHint:)
public func appending<S>(component: S, directoryHint: URL.DirectoryHint = .inferFromPath) -> URL where S : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.appending(queryItems:)
public func appending(queryItems: [URLQueryItem]) -> URL
Composition path exists around URLComponents; direct URL mutation light. Doc: partial.
iOS iOS 16macOS macOS 13
URL.append(queryItems:)
public mutating func append(queryItems: [URLQueryItem])
Composition path exists around URLComponents; mutating behavior light. Doc: partial.
iOS iOS 16macOS macOS 13
URL.appending(components:directoryHint:)
public func appending<S>(components: S..., directoryHint: URL.DirectoryHint = .inferFromPath) -> URL where S : StringProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.standardized
public var standardized: URL { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.standardize()
public mutating func standardize()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.standardizedFileURL
public var standardizedFileURL: URL { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.resolvingSymlinksInPath()
public func resolvingSymlinksInPath() -> URL
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.resolveSymlinksInPath()
public mutating func resolveSymlinksInPath()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.checkResourceIsReachable()
public func checkResourceIsReachable() throws -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.checkPromisedItemIsReachable()
public func checkPromisedItemIsReachable() throws -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.setResourceValues(_:)
public mutating func setResourceValues(_ values: URLResourceValues) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.resourceValues(forKeys:)
public func resourceValues(forKeys keys: Set<URLResourceKey>) throws -> URLResourceValues
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.setTemporaryResourceValue(_:forKey:)
public mutating func setTemporaryResourceValue(_ value: any Sendable, forKey key: URLResourceKey)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.removeAllCachedResourceValues()
public mutating func removeAllCachedResourceValues()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.removeCachedResourceValue(forKey:)
public mutating func removeCachedResourceValue(forKey key: URLResourceKey)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.promisedItemResourceValues(forKeys:)
public func promisedItemResourceValues(forKeys keys: Set<URLResourceKey>) throws -> URLResourceValues
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.bookmarkData(options:includingResourceValuesForKeys:relativeTo:)
public func bookmarkData(options: URL.BookmarkCreationOptions = [], includingResourceValuesForKeys keys: Set<URLResourceKey>? = nil, relativeTo url: URL? = nil) throws -> Data
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.resourceValues(forKeys:fromBookmarkData:)
public static func resourceValues(forKeys keys: Set<URLResourceKey>, fromBookmarkData data: Data) -> URLResourceValues?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.writeBookmarkData(_:to:)
public static func writeBookmarkData(_ data: Data, to url: URL) throws
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.bookmarkData(withContentsOf:)
public static func bookmarkData(withContentsOf url: URL) throws -> Data
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.startAccessingSecurityScopedResource()
public func startAccessingSecurityScopedResource() -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.stopAccessingSecurityScopedResource()
public func stopAccessingSecurityScopedResource()
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.== (lhs:rhs:)
public static func == (lhs: URL, rhs: URL) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URL.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URL.currentDirectory()
public static func currentDirectory() -> URL
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.homeDirectory
public static var homeDirectory: URL { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.temporaryDirectory
public static var temporaryDirectory: URL { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.cachesDirectory
public static var cachesDirectory: URL { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.documentsDirectory
public static var documentsDirectory: URL { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.applicationSupportDirectory
public static var applicationSupportDirectory: URL { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.init(for:in:appropriateFor:create:)
public init(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor url: URL? = nil, create shouldCreate: Bool = false) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URL.DirectoryHint
public enum DirectoryHint : Sendable { case isDirectory, notDirectory, checkFileSystem, inferFromPath }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
URLComponents.init()
public init()
11-slot value with empty string slots; composition returns base if unset. Doc: supported.
iOS allmacOS all
URLComponents.init(url:resolvingAgainstBaseURL:)
public init?(url: URL, resolvingAgainstBaseURL resolve: Bool)
Practical string-input path; true base resolution absent. Doc: partial.
iOS allmacOS all
URLComponents.init(string:)
public init?(string: String)
11-slot value parsed from string; no failable nil. Doc: partial.
iOS allmacOS all
URLComponents.init(string:encodingInvalidCharacters:)
public init?(string: String, encodingInvalidCharacters: Bool)
Parsed value; invalid-char flag ignored. Doc: partial.
iOS iOS 17macOS macOS 14
URLComponents.url
public var url: URL? { get }
Composed URL string; no optional nil for invalid combos. Doc: partial.
iOS allmacOS all
URLComponents.url(relativeTo:)
public func url(relativeTo base: URL?) -> URL?
Same composed URL string; base argument ignored. Doc: diverges/partial.
iOS allmacOS all
URLComponents.string
public var string: String? { get }
Composed URL string; no optional nil. Doc: partial.
iOS allmacOS all
URLComponents.scheme
public var scheme: String?
Direct slot 2 read/write; empty string acts as absence. Doc: partial.
iOS allmacOS all
URLComponents.user
public var user: String?
Direct slot 3 read/write; no nil distinction. Doc: partial.
iOS allmacOS all
URLComponents.password
public var password: String?
Direct slot 4 read/write; no nil distinction. Doc: partial.
iOS allmacOS all
URLComponents.host
public var host: String?
Direct slot 5 read/write; no nil distinction. Doc: partial.
iOS allmacOS all
URLComponents.port
public var port: Int?
Int slot 6; 0 means absent. Doc: partial.
iOS allmacOS all
URLComponents.path
public var path: String
Direct slot 7 read/write. Doc: partial.
iOS allmacOS all
URLComponents.query
public var query: String?
Direct slot 8 read/write; no nil distinction. Doc: partial.
iOS allmacOS all
URLComponents.fragment
public var fragment: String?
Direct slot 9 read/write; no nil distinction. Doc: partial.
iOS allmacOS all
URLComponents.percentEncodedUser
public var percentEncodedUser: String?
Alias of user slot; no encode/decode distinction. Doc: partial.
iOS allmacOS all
URLComponents.percentEncodedPassword
public var percentEncodedPassword: String?
Alias of password slot; no validation. Doc: partial.
iOS allmacOS all
URLComponents.percentEncodedHost
public var percentEncodedHost: String?
Alias of host slot (deprecated form). Doc: partial.
iOS allmacOS all
URLComponents.encodedHost
public var encodedHost: String?
Alias maps to host slot. Doc: partial.
iOS iOS 16macOS macOS 13
URLComponents.percentEncodedPath
public var percentEncodedPath: String
Alias of path slot; no validation. Doc: partial.
iOS allmacOS all
URLComponents.percentEncodedQuery
public var percentEncodedQuery: String?
Alias of query slot; no validation. Doc: partial.
iOS allmacOS all
URLComponents.percentEncodedFragment
public var percentEncodedFragment: String?
Alias of fragment slot; no validation. Doc: partial.
iOS allmacOS all
URLComponents.rangeOfScheme
public var rangeOfScheme: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfUser
public var rangeOfUser: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfPassword
public var rangeOfPassword: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfHost
public var rangeOfHost: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfPort
public var rangeOfPort: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfPath
public var rangeOfPath: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfQuery
public var rangeOfQuery: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.rangeOfFragment
public var rangeOfFragment: Range<String.Index>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLComponents.queryItems
public var queryItems: [URLQueryItem]?
Array slot composed with percent-encoding; nil/empty distinction incomplete. Doc: partial.
iOS allmacOS all
URLComponents.percentEncodedQueryItems
public var percentEncodedQueryItems: [URLQueryItem]?
Same array slot, encoded flag set; values copied as encoded. Doc: partial.
iOS iOS 11macOS macOS 10.13
URLComponents.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLComponents.== (lhs:rhs:)
public static func == (lhs: URLComponents, rhs: URLComponents) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLComponents.hashValue
public var hashValue: Int { get }
Hash of composed URL string; no component equality fidelity. Doc: partial.
iOS allmacOS all
URLComponents.description
public var description: String { get }
Same composed URL string; no custom format. Doc: supported subset.
iOS iOS 8macOS macOS 10.10
URLComponents.debugDescription
public var debugDescription: String { get }
Same composed URL string; no custom debug format. Doc: supported subset.
iOS iOS 8macOS macOS 10.10
URLComponents.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLComponents.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLComponents.encode(to:)
public func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLQueryItem.init(name:value:)
public init(name: String, value: String?)
Two-slot value; optional nil value not represented distinctly. Doc: partial.
iOS allmacOS all
URLQueryItem.name
public var name: String
Slot 0 read/write. Doc: partial.
iOS allmacOS all
URLQueryItem.value
public var value: String?
Slot 1 read/write; returns string shape, no nil. Doc: partial.
iOS allmacOS all
URLQueryItem.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLQueryItem.== (lhs:rhs:)
public static func == (lhs: URLQueryItem, rhs: URLQueryItem) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLQueryItem.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLQueryItem.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLQueryItem.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLQueryItem.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
NSURL.init(scheme:host:path:)
public convenience init?(scheme: String, host: String?, path: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.init(fileURLWithPath:)
public init(fileURLWithPath path: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.init(string:)
public convenience init?(string URLString: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.init(string:relativeTo:)
public init?(string URLString: String, relativeTo baseURL: URL?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.absoluteString
open var absoluteString: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.scheme
open var scheme: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.host
open var host: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.port
@NSCopying open var port: NSNumber? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.path
open var path: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.query
open var query: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.fragment
open var fragment: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.isFileURL
open var isFileURL: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.lastPathComponent
open var lastPathComponent: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.pathExtension
open var pathExtension: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.standardized
open var standardized: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.resourceValues(forKeys:)
open func resourceValues(forKeys keys: [URLResourceKey]) throws -> [URLResourceKey : Any]
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSURL.setResourceValues(_:)
open func setResourceValues(_ keyedValues: [URLResourceKey : Any]) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSURL.bookmarkData(options:includingResourceValuesForKeys:relativeTo:)
open func bookmarkData(options: NSURL.BookmarkCreationOptions = [], includingResourceValuesForKeys keys: [URLResourceKey]?, relativeTo relativeURL: URL?) throws -> Data
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSURL.init(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:)
public convenience init(resolvingBookmarkData bookmarkData: Data, options: NSURL.BookmarkResolutionOptions = [], relativeTo relativeURL: URL?, bookmarkDataIsStale isStale: UnsafeMutablePointer<ObjCBool>?) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
NSURL.startAccessingSecurityScopedResource()
open func startAccessingSecurityScopedResource() -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
NSURL.stopAccessingSecurityScopedResource()
open func stopAccessingSecurityScopedResource()
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
NSURL.BookmarkCreationOptions.minimalBookmark
public static var minimalBookmark: NSURL.BookmarkCreationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.BookmarkCreationOptions.suitableForBookmarkFile
public static var suitableForBookmarkFile: NSURL.BookmarkCreationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSURL.BookmarkCreationOptions.withSecurityScope
public static var withSecurityScope: NSURL.BookmarkCreationOptions { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
NSURL.BookmarkCreationOptions.securityScopeAllowOnlyReadAccess
public static var securityScopeAllowOnlyReadAccess: NSURL.BookmarkCreationOptions { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
NSURL.BookmarkCreationOptions.withoutImplicitSecurityScope
public static var withoutImplicitSecurityScope: NSURL.BookmarkCreationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
NSURL.BookmarkResolutionOptions.withoutUI
public static var withoutUI: NSURL.BookmarkResolutionOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS macOS 10.6
NSURL.BookmarkResolutionOptions.withoutMounting
public static var withoutMounting: NSURL.BookmarkResolutionOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS macOS 10.6
NSURL.BookmarkResolutionOptions.withSecurityScope
public static var withSecurityScope: NSURL.BookmarkResolutionOptions { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
NSURL.BookmarkResolutionOptions.withoutImplicitStartAccessing
public static var withoutImplicitStartAccessing: NSURL.BookmarkResolutionOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 14.2macOS macOS 11.2
NSURLComponents.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
NSURLComponents.init(string:)
public init?(string URLString: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
NSURLComponents.url
open var url: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
NSURLComponents.queryItems
open var queryItems: [URLQueryItem]?
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
NSURLQueryItem.init(name:value:)
public init(name: String, value: String?)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
URLResourceValues.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.allValues
public var allValues: [URLResourceKey : Any] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.name
public var name: String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.isDirectory
public var isDirectory: Bool? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.isRegularFile
public var isRegularFile: Bool? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.isSymbolicLink
public var isSymbolicLink: Bool? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.isHidden
public var isHidden: Bool?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.creationDate
public var creationDate: Date?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.contentModificationDate
public var contentModificationDate: Date?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.fileSize
public var fileSize: Int? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.fileResourceType
public var fileResourceType: URLFileResourceType? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.contentType
public var contentType: UTType? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.path
public var path: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.isExcludedFromBackup
public var isExcludedFromBackup: Bool?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.isUbiquitousItem
public var isUbiquitousItem: Bool? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.volumeAvailableCapacity
public var volumeAvailableCapacity: Int? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceValues.volumeTotalCapacity
public var volumeTotalCapacity: Int? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.nameKey
public static let nameKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isDirectoryKey
public static let isDirectoryKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isRegularFileKey
public static let isRegularFileKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isSymbolicLinkKey
public static let isSymbolicLinkKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.fileSizeKey
public static let fileSizeKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.creationDateKey
public static let creationDateKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.contentModificationDateKey
public static let contentModificationDateKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isHiddenKey
public static let isHiddenKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.contentTypeKey
public static let contentTypeKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.typeIdentifierKey
public static let typeIdentifierKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.fileResourceTypeKey
public static let fileResourceTypeKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isExcludedFromBackupKey
public static let isExcludedFromBackupKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.volumeAvailableCapacityKey
public static let volumeAvailableCapacityKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.volumeTotalCapacityKey
public static let volumeTotalCapacityKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isUbiquitousItemKey
public static let isUbiquitousItemKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLResourceKey.isAliasFileKey
public static let isAliasFileKey: URLResourceKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLFileResourceType.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
URLFileResourceType.namedPipe
public static let namedPipe: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.characterSpecial
public static let characterSpecial: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.directory
public static let directory: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.blockSpecial
public static let blockSpecial: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.regular
public static let regular: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.symbolicLink
public static let symbolicLink: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.socket
public static let socket: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all
URLFileResourceType.unknown
public static let unknown: URLFileResourceType
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS all

10. URL requests / responses / URLSession

1·31·208
URLRequest.init(url:cachePolicy:timeoutInterval:)
public init(url: URL, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy, timeoutInterval: TimeInterval = 60.0)
URLRequest(url:) makes a 4-slot value; cachePolicy and timeoutInterval args are accepted but not stored.
iOS iOS 8macOS macOS 10.10
URLRequest.url
public var url: URL?
URL stored as string in slot 0; no optional nil. mainDocumentURL aliases this slot.
iOS iOS 8macOS macOS 10.10
URLRequest.cachePolicy
public var cachePolicy: URLRequest.CachePolicy
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.timeoutInterval
public var timeoutInterval: TimeInterval
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.mainDocumentURL
public var mainDocumentURL: URL?
Aliases the url string slot; no separate main-document URL storage, no nil.
iOS iOS 8macOS macOS 10.10
URLRequest.networkServiceType
public var networkServiceType: URLRequest.NetworkServiceType
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.allowsCellularAccess
public var allowsCellularAccess: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.allowsExpensiveNetworkAccess
public var allowsExpensiveNetworkAccess: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLRequest.allowsConstrainedNetworkAccess
public var allowsConstrainedNetworkAccess: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLRequest.allowsUltraConstrainedNetworkAccess
public var allowsUltraConstrainedNetworkAccess: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 26.1macOS macOS 26.1
URLRequest.assumesHTTP3Capable
public var assumesHTTP3Capable: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 14.5macOS macOS 11.3
URLRequest.attribution
public var attribution: URLRequest.Attribution
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12.0
URLRequest.requiresDNSSECValidation
public var requiresDNSSECValidation: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 16.1macOS macOS 13.0
URLRequest.allowsPersistentDNS
public var allowsPersistentDNS: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 18macOS macOS 15.0
URLRequest.httpMethod
public var httpMethod: String?
Read/write string slot; defaults to GET (not nil). Covered by url_request smoke test.
iOS iOS 8macOS macOS 10.10
URLRequest.allHTTPHeaderFields
public var allHTTPHeaderFields: [String : String]?
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.value(forHTTPHeaderField:)
public func value(forHTTPHeaderField field: String) -> String?
Exact match vs single stored header name; not case-insensitive; missing returns empty string not nil.
iOS iOS 8macOS macOS 10.10
URLRequest.setValue(_:forHTTPHeaderField:)
public mutating func setValue(_ value: String?, forHTTPHeaderField field: String)
Stores one header name/value pair; nil-removal and multi-header dictionary absent.
iOS iOS 8macOS macOS 10.10
URLRequest.addValue(_:forHTTPHeaderField:)
public mutating func addValue(_ value: String, forHTTPHeaderField field: String)
Stores/replaces single header pair; no comma-append accumulation.
iOS iOS 8macOS macOS 10.10
URLRequest.httpBody
public var httpBody: Data?
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.httpBodyStream
public var httpBodyStream: InputStream?
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.httpShouldHandleCookies
public var httpShouldHandleCookies: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.cookiePartitionIdentifier
public var cookiePartitionIdentifier: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 18.2macOS macOS 15.2
URLRequest.httpShouldUsePipelining
public var httpShouldUsePipelining: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8 depmacOS macOS 10.10 dep
URLRequest.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.==(_:_:)
public static func == (lhs: URLRequest, rhs: URLRequest) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.description
public var description: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.useProtocolCachePolicy
case useProtocolCachePolicy = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.reloadIgnoringLocalCacheData
case reloadIgnoringLocalCacheData = 1
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData
case reloadIgnoringLocalAndRemoteCacheData = 4
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.reloadIgnoringCacheData
public static var reloadIgnoringCacheData: NSURLRequest.CachePolicy { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.returnCacheDataElseLoad
case returnCacheDataElseLoad = 2
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.returnCacheDataDontLoad
case returnCacheDataDontLoad = 3
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLRequest.CachePolicy.reloadRevalidatingCacheData
case reloadRevalidatingCacheData = 5
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLResponse.init(url:mimeType:expectedContentLength:textEncodingName:)
public init(url URL: URL, mimeType MIMEType: String?, expectedContentLength length: Int, textEncodingName name: String?)
7-slot response value; optional strings become string slots. Covered by url_response smoke test.
iOS iOS 2.0macOS macOS 10.2
URLResponse.url
open var url: URL? { get }
Returns stored URL string; no optional nil.
iOS iOS 2.0macOS macOS 10.2
URLResponse.mimeType
open var mimeType: String? { get }
Plain slot; HTTP response derives from Content-Type header; missing returns empty string.
iOS iOS 2.0macOS macOS 10.2
URLResponse.expectedContentLength
open var expectedContentLength: Int64 { get }
Int slot; HTTP parses Content-Length; no real Int64 distinction; -1 absent fallback not modeled.
iOS iOS 2.0macOS macOS 10.2
URLResponse.textEncodingName
open var textEncodingName: String? { get }
String slot; no optional nil.
iOS iOS 2.0macOS macOS 10.2
URLResponse.suggestedFilename
open var suggestedFilename: String? { get }
Returns URL last path component only; no content-disposition, MIME-extension, host, or unknown fallback.
iOS iOS 2.0macOS macOS 10.2
HTTPURLResponse.init(url:statusCode:httpVersion:headerFields:)
public init?(url: URL, statusCode: Int, httpVersion HTTPVersion: String?, headerFields: [String : String]?)
Builds 7-slot response; never fails (no nil validation). Covered by url_response smoke test.
iOS iOS 5.0macOS macOS 10.7.2
HTTPURLResponse.statusCode
open var statusCode: Int { get }
Returns slot 4 status code; covered by url_response smoke test.
iOS iOS 2.0macOS macOS 10.2
HTTPURLResponse.allHeaderFields
open var allHeaderFields: [AnyHashable : Any] { get }
Returns a [String:String] dictionary; no AnyHashable/Any bridge or non-string values.
iOS iOS 2.0macOS macOS 10.2
HTTPURLResponse.value(forHTTPHeaderField:)
open func value(forHTTPHeaderField field: String) -> String?
Exact-key dictionary lookup, not case-insensitive; missing value returns empty string not nil.
iOS iOS 13macOS macOS 10.15
HTTPURLResponse.localizedString(forStatusCode:)
open class func localizedString(forStatusCode statusCode: Int) -> String
Deterministic small status->phrase map (404->Not Found); not platform-localized, not full coverage.
iOS iOS 2.0macOS macOS 10.2
CachedURLResponse.init(response:data:)
public init(response: URLResponse, data: Data)
4-slot cached response, default .allowed policy; userInfo is empty dict not nil. Covered by smoke test.
iOS iOS 2.0macOS macOS 10.2
CachedURLResponse.init(response:data:userInfo:storagePolicy:)
public init(response: URLResponse, data: Data, userInfo: [AnyHashable : Any]? = nil, storagePolicy: URLCache.StoragePolicy)
4-slot cached response; userInfo stored as [String:String]. Covered by smoke test.
iOS iOS 2.0macOS macOS 10.2
CachedURLResponse.response
@NSCopying open var response: URLResponse { get }
Returns stored response object (works with HTTPURLResponse); no NSCopying.
iOS iOS 2.0macOS macOS 10.2
CachedURLResponse.data
open var data: Data { get }
Returns stored Data value; covered by count/subscript smoke test.
iOS iOS 2.0macOS macOS 10.2
CachedURLResponse.userInfo
open var userInfo: [AnyHashable : Any]? { get }
Returns [String:String]; no nil or arbitrary value bridge.
iOS iOS 2.0macOS macOS 10.2
CachedURLResponse.storagePolicy
open var storagePolicy: URLCache.StoragePolicy { get }
Returns Int policy; .allowed=0/.allowedInMemoryOnly=1/.notAllowed=2.
iOS iOS 2.0macOS macOS 10.2
URLCache.StoragePolicy.allowed
case allowed = 0
Usable as raw 0 through cached-response support; the StoragePolicy enum is the only URLCache piece modeled.
iOS iOS 2.0macOS macOS 10.2
URLCache.StoragePolicy.allowedInMemoryOnly
case allowedInMemoryOnly = 1
Raw value 1 usable via cached-response support; covered by smoke test.
iOS iOS 2.0macOS macOS 10.2
URLCache.StoragePolicy.notAllowed
case notAllowed = 2
Raw value 2 usable via cached-response support.
iOS iOS 2.0macOS macOS 10.2
URLCache.shared
open class var shared: URLCache
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.init(memoryCapacity:diskCapacity:diskPath:)
public init(memoryCapacity: Int, diskCapacity: Int, diskPath path: String?)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0 depmacOS macOS 10.2 dep
URLCache.init(memoryCapacity:diskCapacity:directory:)
public convenience init(memoryCapacity: Int, diskCapacity: Int, directory: URL? = nil)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLCache.cachedResponse(for:)
open func cachedResponse(for request: URLRequest) -> CachedURLResponse?
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.storeCachedResponse(_:for:)
open func storeCachedResponse(_ cachedResponse: CachedURLResponse, for request: URLRequest)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.removeCachedResponse(for:)
open func removeCachedResponse(for request: URLRequest)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.removeAllCachedResponses()
open func removeAllCachedResponses()
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.removeCachedResponses(since:)
open func removeCachedResponses(since date: Date)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLCache.memoryCapacity
open var memoryCapacity: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.diskCapacity
open var diskCapacity: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.currentMemoryUsage
open var currentMemoryUsage: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.currentDiskUsage
open var currentDiskUsage: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCache.storeCachedResponse(_:for:)(dataTask)
open func storeCachedResponse(_ cachedResponse: CachedURLResponse, for dataTask: URLSessionDataTask)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLCache.getCachedResponse(for:completionHandler:)
open func getCachedResponse(for dataTask: URLSessionDataTask, completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLCache.cachedResponse(for:)(dataTask)
open func cachedResponse(for dataTask: URLSessionDataTask) async -> CachedURLResponse?
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLCache.removeCachedResponse(for:)(dataTask)
open func removeCachedResponse(for dataTask: URLSessionDataTask)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLSession.shared
open class var shared: URLSession { get }
Recognized only as the receiver for data(from:)/data(for:) native HTTP/TLS path; not a real session object.
iOS iOS 7macOS macOS 10.9
URLSession.init(configuration:)
public init(configuration: URLSessionConfiguration)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.init(configuration:delegate:delegateQueue:)
public init(configuration: URLSessionConfiguration, delegate: (any URLSessionDelegate)?, delegateQueue queue: OperationQueue?)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.delegateQueue
open var delegateQueue: OperationQueue { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.delegate
open var delegate: (any URLSessionDelegate)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.configuration
@NSCopying open var configuration: URLSessionConfiguration { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.sessionDescription
open var sessionDescription: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.finishTasksAndInvalidate()
open func finishTasksAndInvalidate()
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.invalidateAndCancel()
open func invalidateAndCancel()
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.reset(completionHandler:)
open func reset(completionHandler: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.flush(completionHandler:)
open func flush(completionHandler: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.getTasksWithCompletionHandler(_:)
open func getTasksWithCompletionHandler(_ completionHandler: @escaping @Sendable ([URLSessionDataTask], [URLSessionUploadTask], [URLSessionDownloadTask]) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.getAllTasks(completionHandler:)
open func getAllTasks(completionHandler: @escaping @Sendable ([URLSessionTask]) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSession.dataTask(with:)(request)
open func dataTask(with request: URLRequest) -> URLSessionDataTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.dataTask(with:)(url)
open func dataTask(with url: URL) -> URLSessionDataTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.dataTask(with:completionHandler:)
open func dataTask(with request: URLRequest, completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void) -> URLSessionDataTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.uploadTask(with:fromFile:)
open func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.uploadTask(with:from:)
open func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.uploadTask(withStreamedRequest:)
open func uploadTask(withStreamedRequest request: URLRequest) -> URLSessionUploadTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.downloadTask(with:)(request)
open func downloadTask(with request: URLRequest) -> URLSessionDownloadTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.downloadTask(with:)(url)
open func downloadTask(with url: URL) -> URLSessionDownloadTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.downloadTask(withResumeData:)
open func downloadTask(withResumeData resumeData: Data) -> URLSessionDownloadTask
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.streamTask(withHostName:port:)
open func streamTask(withHostName hostname: String, port: Int) -> URLSessionStreamTask
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSession.webSocketTask(with:)(url)
open func webSocketTask(with url: URL) -> URLSessionWebSocketTask
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSession.webSocketTask(with:protocols:)
open func webSocketTask(with url: URL, protocols: [String]) -> URLSessionWebSocketTask
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSession.webSocketTask(with:)(request)
open func webSocketTask(with request: URLRequest) -> URLSessionWebSocketTask
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSession.data(from:delegate:)
public func data(from url: URL, delegate: (any URLSessionTaskDelegate)? = nil) async throws -> (Data, URLResponse)
Native ir_to_c lowers await synchronously to __url_session_data: real HTTP/1.1 + TLS 1.3 (M2 pin, fail-closed). Not name-only, not full.
iOS iOS 15macOS macOS 12.0
URLSession.data(from:)
public func data(from url: URL) async throws -> (Data, URLResponse)
Native HTTP/HTTPS fetch via http_rt.c/tls_rt.c on lc; TLS 1.3 ChaCha20/X25519, pin/insecure env knobs; full CA validation pending (M3).
iOS iOS 13macOS macOS 10.15
URLSession.data(for:delegate:)
public func data(for request: URLRequest, delegate: (any URLSessionTaskDelegate)? = nil) async throws -> (Data, URLResponse)
Same native HTTP/TLS path keyed on request URL; request body/headers beyond method+one header not wired through.
iOS iOS 15macOS macOS 12.0
URLSession.data(for:)
public func data(for request: URLRequest) async throws -> (Data, URLResponse)
Native fetch from request URL; only metadata-level request fields participate; no upload body.
iOS iOS 13macOS macOS 10.15
URLSession.upload(for:fromFile:)
public func upload(for request: URLRequest, fromFile fileURL: URL) async throws -> (Data, URLResponse)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSession.upload(for:from:)
public func upload(for request: URLRequest, from bodyData: Data) async throws -> (Data, URLResponse)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSession.download(for:)
public func download(for request: URLRequest, delegate: (any URLSessionTaskDelegate)? = nil) async throws -> (URL, URLResponse)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12.0
URLSession.download(from:)
public func download(from url: URL, delegate: (any URLSessionTaskDelegate)? = nil) async throws -> (URL, URLResponse)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12.0
URLSession.bytes(from:)
public func bytes(from url: URL, delegate: (any URLSessionTaskDelegate)? = nil) async throws -> (URLSession.AsyncBytes, URLResponse)
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12.0
URLSession.dataTaskPublisher(for:)(url)
public func dataTaskPublisher(for url: URL) -> URLSession.DataTaskPublisher
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSession.AuthChallengeDisposition.useCredential
case useCredential = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.ResponseDisposition.allow
case allow = 1
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSession.DelayedRequestDisposition.continueLoading
case continueLoading = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
URLSessionConfiguration.default
open class var `default`: URLSessionConfiguration { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.ephemeral
open class var ephemeral: URLSessionConfiguration { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.background(withIdentifier:)
open class func background(withIdentifier identifier: String) -> URLSessionConfiguration
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLSessionConfiguration.identifier
open var identifier: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.requestCachePolicy
open var requestCachePolicy: NSURLRequest.CachePolicy
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.timeoutIntervalForRequest
open var timeoutIntervalForRequest: TimeInterval
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.timeoutIntervalForResource
open var timeoutIntervalForResource: TimeInterval
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.allowsCellularAccess
open var allowsCellularAccess: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.waitsForConnectivity
open var waitsForConnectivity: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
URLSessionConfiguration.httpAdditionalHeaders
open var httpAdditionalHeaders: [AnyHashable : Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.httpMaximumConnectionsPerHost
open var httpMaximumConnectionsPerHost: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.httpCookieStorage
open var httpCookieStorage: HTTPCookieStorage?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.urlCredentialStorage
open var urlCredentialStorage: URLCredentialStorage?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.urlCache
open var urlCache: URLCache?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.protocolClasses
open var protocolClasses: [AnyClass]?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionConfiguration.tlsMinimumSupportedProtocolVersion
open var tlsMinimumSupportedProtocolVersion: tls_protocol_version_t
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionTask.State.running
case running = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.State.suspended
case suspended = 1
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.State.canceling
case canceling = 2
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.State.completed
case completed = 3
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.defaultPriority
public class let defaultPriority: Float
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLSessionTask.taskIdentifier
open var taskIdentifier: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.originalRequest
open var originalRequest: URLRequest? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.currentRequest
open var currentRequest: URLRequest? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.response
@NSCopying open var response: URLResponse? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.delegate
open var delegate: (any URLSessionTaskDelegate)?
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12.0
URLSessionTask.progress
open var progress: Progress { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
URLSessionTask.countOfBytesReceived
open var countOfBytesReceived: Int64 { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.taskDescription
open var taskDescription: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.cancel()
open func cancel()
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.state
open var state: URLSessionTask.State { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.error
open var error: (any Error)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.suspend()
open func suspend()
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.resume()
open func resume()
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionTask.priority
open var priority: Float
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLSessionTask.prefersIncrementalDelivery
open var prefersIncrementalDelivery: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 14.5macOS macOS 11.3
URLSessionDataTask.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 7 depmacOS macOS 10.9 dep
URLSessionUploadTask.cancel(byProducingResumeData:)
open func cancel(byProducingResumeData completionHandler: @escaping @Sendable (Data?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14.0
URLSessionUploadTask.cancelByProducingResumeData()
open func cancelByProducingResumeData() async -> Data?
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14.0
URLSessionDownloadTask.cancel(byProducingResumeData:)
open func cancel(byProducingResumeData completionHandler: @escaping @Sendable (Data?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionDownloadTask.cancelByProducingResumeData()
open func cancelByProducingResumeData() async -> Data?
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
URLSessionStreamTask.readData(ofMinLength:maxLength:timeout:)
open func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout: TimeInterval) async throws -> (Data?, Bool)
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSessionStreamTask.write(_:timeout:)
open func write(_ data: Data, timeout: TimeInterval) async throws
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSessionStreamTask.captureStreams()
open func captureStreams()
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSessionStreamTask.closeWrite()
open func closeWrite()
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSessionStreamTask.closeRead()
open func closeRead()
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSessionStreamTask.startSecureConnection()
open func startSecureConnection()
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
URLSessionWebSocketTask.CloseCode.normalClosure
case normalClosure = 1000
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.CloseCode.goingAway
case goingAway = 1001
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.Message.data
case data(Data)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.Message.string
case string(String)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.send(_:)
public func send(_ message: URLSessionWebSocketTask.Message) async throws
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.receive()
public func receive() async throws -> URLSessionWebSocketTask.Message
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.sendPing(pongReceiveHandler:)
open func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.cancel(with:reason:)
open func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.maximumMessageSize
open var maximumMessageSize: Int
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.closeCode
open var closeCode: URLSessionWebSocketTask.CloseCode { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLSessionWebSocketTask.closeReason
open var closeReason: Data? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLProtocol.init(request:cachedResponse:client:)
public init(request: URLRequest, cachedResponse: CachedURLResponse?, client: (any URLProtocolClient)?)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.client
open var client: (any URLProtocolClient)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.request
open var request: URLRequest { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.cachedResponse
@NSCopying open var cachedResponse: CachedURLResponse? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.canInit(with:)
open class func canInit(with request: URLRequest) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.canonicalRequest(for:)
open class func canonicalRequest(for request: URLRequest) -> URLRequest
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.requestIsCacheEquivalent(_:to:)
open class func requestIsCacheEquivalent(_ a: URLRequest, to b: URLRequest) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.startLoading()
open func startLoading()
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.stopLoading()
open func stopLoading()
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.property(forKey:in:)
open class func property(forKey key: String, in request: URLRequest) -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.setProperty(_:forKey:in:)
open class func setProperty(_ value: Any, forKey key: String, in request: NSMutableURLRequest)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.removeProperty(forKey:in:)
open class func removeProperty(forKey key: String, in request: NSMutableURLRequest)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.registerClass(_:)
open class func registerClass(_ protocolClass: AnyClass) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.unregisterClass(_:)
open class func unregisterClass(_ protocolClass: AnyClass)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtocol.canInit(with:)(task)
open class func canInit(with task: URLSessionTask) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLProtocol.task
@NSCopying open var task: URLSessionTask? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLCredential.init(user:password:persistence:)
public init(user: String, password: String, persistence: URLCredential.Persistence)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredential.init(identity:certificates:persistence:)
public init(identity: SecIdentity, certificates certArray: [Any]?, persistence: URLCredential.Persistence)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.0macOS macOS 10.6
URLCredential.init(trust:)
public init(trust: SecTrust)
name-resolves only; no executable Foundation codegen.
iOS iOS 3.0macOS macOS 10.6
URLCredential.persistence
open var persistence: URLCredential.Persistence { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredential.user
open var user: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredential.password
open var password: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredential.hasPassword
open var hasPassword: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredential.identity
open var identity: SecIdentity? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 3.0macOS macOS 10.6
URLCredential.certificates
open var certificates: [Any] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 3.0macOS macOS 10.6
URLCredentialStorage.shared
open class var shared: URLCredentialStorage { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredentialStorage.credentials(for:)
open func credentials(for space: URLProtectionSpace) -> [String : URLCredential]?
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredentialStorage.allCredentials
open var allCredentials: [URLProtectionSpace : [String : URLCredential]] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredentialStorage.set(_:for:)
open func set(_ credential: URLCredential, for space: URLProtectionSpace)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredentialStorage.remove(_:for:)
open func remove(_ credential: URLCredential, for space: URLProtectionSpace)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredentialStorage.defaultCredential(for:)
open func defaultCredential(for space: URLProtectionSpace) -> URLCredential?
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLCredentialStorage.setDefaultCredential(_:for:)
open func setDefaultCredential(_ credential: URLCredential, for space: URLProtectionSpace)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.init(protectionSpace:proposedCredential:previousFailureCount:failureResponse:error:sender:)
public init(protectionSpace space: URLProtectionSpace, proposedCredential credential: URLCredential?, previousFailureCount: Int, failureResponse response: URLResponse?, error: (any Error)?, sender: any URLAuthenticationChallengeSender)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.protectionSpace
@NSCopying open var protectionSpace: URLProtectionSpace { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.proposedCredential
@NSCopying open var proposedCredential: URLCredential? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.previousFailureCount
open var previousFailureCount: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.failureResponse
@NSCopying open var failureResponse: URLResponse? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.error
open var error: (any Error)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLAuthenticationChallenge.sender
open var sender: (any URLAuthenticationChallengeSender)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.init(host:port:protocol:realm:authenticationMethod:)
public init(host: String, port: Int, protocol: String?, realm: String?, authenticationMethod: String?)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.init(proxyHost:port:type:realm:authenticationMethod:)
public init(proxyHost host: String, port: Int, type: String?, realm: String?, authenticationMethod: String?)
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.realm
open var realm: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.receivesCredentialSecurely
open var receivesCredentialSecurely: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.host
open var host: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.port
open var port: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.proxyType
open var proxyType: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.protocol
open var `protocol`: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.authenticationMethod
open var authenticationMethod: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.isProxy()
open func isProxy() -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS macOS 10.2
URLProtectionSpace.distinguishedNames
open var distinguishedNames: [Data]? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 3.0macOS macOS 10.6
URLProtectionSpace.serverTrust
open var serverTrust: SecTrust? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 3.0macOS macOS 10.6
URLError.errorDomain
public static var errorDomain: String { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.init(rawValue:)
public init(rawValue: Int)
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.failingURL
public var failingURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.failureURLString
public var failureURLString: String? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.backgroundTaskCancelledReason
public var backgroundTaskCancelledReason: URLError.BackgroundTaskCancelledReason? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.networkUnavailableReason
public var networkUnavailableReason: URLError.NetworkUnavailableReason? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.downloadTaskResumeData
public var downloadTaskResumeData: Data? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.unknown
public static var unknown: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.cancelled
public static var cancelled: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.badURL
public static var badURL: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.timedOut
public static var timedOut: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.notConnectedToInternet
public static var notConnectedToInternet: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.badServerResponse
public static var badServerResponse: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.secureConnectionFailed
public static var secureConnectionFailed: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.serverCertificateUntrusted
public static var serverCertificateUntrusted: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.cannotConnectToHost
public static var cannotConnectToHost: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.Code.cannotFindHost
public static var cannotFindHost: URLError.Code { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
URLError.BackgroundTaskCancelledReason.userForceQuitApplication
case userForceQuitApplication
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
URLError.NetworkUnavailableReason.cellular
case cellular
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15

11. File system / Bundle / Process

7·27·202
FileManager.default
open class var `default`: FileManager { get }
IR sentinel singleton; receiver for lowered host-bridge calls.
iOS allmacOS all
FileManager.mountedVolumeURLs(includingResourceValuesForKeys:options:)
open func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.unmountVolume(at:options:completionHandler:)
open func unmountVolume(at url: URL, options mask: FileManager.UnmountOptions = [], completionHandler: @escaping @Sendable ((any Error)?) -> Void)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.11
FileManager.contentsOfDirectory(at:includingPropertiesForKeys:options:)
open func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.urls(for:in:)
open func urls(for directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask) -> [URL]
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.url(for:in:appropriateFor:create:)
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor url: URL?, create shouldCreate: Bool) throws -> URL
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.getRelationship(_:ofDirectoryAt:toItemAt:)
open func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
FileManager.getRelationship(_:of:in:toItemAt:)
open func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
FileManager.createDirectory(at:withIntermediateDirectories:attributes:)
open func createDirectory(at url: URL, withIntermediateDirectories createIntermediates: Bool, attributes: [FileAttributeKey : Any]? = nil) throws
URL form can lower to host mkdir recursive; attributes ignored; no throw/error propagation.
iOS iOS 5.0macOS macOS 10.7
FileManager.createSymbolicLink(at:withDestinationURL:)
open func createSymbolicLink(at url: URL, withDestinationURL destURL: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.delegate
unowned(unsafe) open var delegate: (any FileManagerDelegate)?
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.setAttributes(_:ofItemAtPath:)
open func setAttributes(_ attributes: [FileAttributeKey : Any], ofItemAtPath path: String) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.createDirectory(atPath:withIntermediateDirectories:attributes:)
open func createDirectory(atPath path: String, withIntermediateDirectories createIntermediates: Bool, attributes: [FileAttributeKey : Any]? = nil) throws
Lowers to host mkdir recursive; attributes ignored; success flag not surfaced, no throw.
iOS iOS 2.0macOS all
FileManager.contentsOfDirectory(atPath:)
open func contentsOfDirectory(atPath path: String) throws -> [String]
Returns sorted [String] from host readdir; empty on failure; no error propagation.
iOS iOS 2.0macOS all
FileManager.subpathsOfDirectory(atPath:)
open func subpathsOfDirectory(atPath path: String) throws -> [String]
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.attributesOfItem(atPath:)
open func attributesOfItem(atPath path: String) throws -> [FileAttributeKey : Any]
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.attributesOfFileSystem(forPath:)
open func attributesOfFileSystem(forPath path: String) throws -> [FileAttributeKey : Any]
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.createSymbolicLink(atPath:withDestinationPath:)
open func createSymbolicLink(atPath path: String, withDestinationPath destPath: String) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.destinationOfSymbolicLink(atPath:)
open func destinationOfSymbolicLink(atPath path: String) throws -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.copyItem(atPath:toPath:)
open func copyItem(atPath srcPath: String, toPath dstPath: String) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.moveItem(atPath:toPath:)
open func moveItem(atPath srcPath: String, toPath dstPath: String) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.linkItem(atPath:toPath:)
open func linkItem(atPath srcPath: String, toPath dstPath: String) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.removeItem(atPath:)
open func removeItem(atPath path: String) throws
Lowers to host recursive force remove; missing path succeeds silently; no throw.
iOS iOS 2.0macOS all
FileManager.copyItem(at:to:)
open func copyItem(at srcURL: URL, to dstURL: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.moveItem(at:to:)
open func moveItem(at srcURL: URL, to dstURL: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.linkItem(at:to:)
open func linkItem(at srcURL: URL, to dstURL: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.removeItem(at:)
open func removeItem(at URL: URL) throws
URL form can flow string-backed to host recursive remove; no throw or [URL] semantics.
iOS iOS 4.0macOS macOS 10.6
FileManager.trashItem(at:resultingItemURL:)
open func trashItem(at url: URL, resultingItemURL outResultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 11.0macOS macOS 10.8
FileManager.currentDirectoryPath
open var currentDirectoryPath: String { get }
Lowers to __fm_current_directory (process.cwd in runner); Bundle.main shares this bridge.
iOS allmacOS all
FileManager.changeCurrentDirectoryPath(_:)
open func changeCurrentDirectoryPath(_ path: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.fileExists(atPath:)
open func fileExists(atPath path: String) -> Bool
Lowers to __fm_file_exists (fs.existsSync on normalized path).
iOS allmacOS all
FileManager.fileExists(atPath:isDirectory:)
open func fileExists(atPath path: String, isDirectory: UnsafeMutablePointer<ObjCBool>?) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.isReadableFile(atPath:)
open func isReadableFile(atPath path: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.isWritableFile(atPath:)
open func isWritableFile(atPath path: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.isExecutableFile(atPath:)
open func isExecutableFile(atPath path: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.isDeletableFile(atPath:)
open func isDeletableFile(atPath path: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.contentsEqual(atPath:andPath:)
open func contentsEqual(atPath path1: String, andPath path2: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.displayName(atPath:)
open func displayName(atPath path: String) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.componentsToDisplay(forPath:)
open func componentsToDisplay(forPath path: String) -> [String]?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.enumerator(atPath:)
open func enumerator(atPath path: String) -> FileManager.DirectoryEnumerator?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.subpaths(atPath:)
open func subpaths(atPath path: String) -> [String]?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.contents(atPath:)
open func contents(atPath path: String) -> Data?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.createFile(atPath:contents:attributes:)
open func createFile(atPath path: String, contents data: Data?, attributes attr: [FileAttributeKey : Any]? = nil) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.fileSystemRepresentation(withPath:)
open func fileSystemRepresentation(withPath path: String) -> UnsafePointer<CChar>
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.string(withFileSystemRepresentation:length:)
open func string(withFileSystemRepresentation str: UnsafePointer<CChar>, length len: Int) -> String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:)
open func replaceItem(at originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String?, options: FileManager.ItemReplacementOptions = [], resultingItemURL resultingURL: AutoreleasingUnsafeMutablePointer<NSURL?>?) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.replaceItemAt(_:withItemAt:backupItemName:options:)
public func replaceItemAt(_ originalItemURL: URL, withItemAt newItemURL: URL, backupItemName: String? = nil, options: FileManager.ItemReplacementOptions = []) throws -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
FileManager.enumerator(at:includingPropertiesForKeys:options:errorHandler:)
@nonobjc public func enumerator(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = [], errorHandler handler: ((URL, any Error) -> Bool)? = nil) -> FileManager.DirectoryEnumerator?
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
FileManager.setUbiquitous(_:itemAt:destinationURL:)
open func setUbiquitous(_ flag: Bool, itemAt url: URL, destinationURL: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.isUbiquitousItem(at:)
open func isUbiquitousItem(at url: URL) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.startDownloadingUbiquitousItem(at:)
open func startDownloadingUbiquitousItem(at url: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.evictUbiquitousItem(at:)
open func evictUbiquitousItem(at url: URL) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.url(forUbiquityContainerIdentifier:)
open func url(forUbiquityContainerIdentifier containerIdentifier: String?) -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.url(forPublishingUbiquitousItemAt:expiration:)
open func url(forPublishingUbiquitousItemAt url: URL, expiration outDate: AutoreleasingUnsafeMutablePointer<NSDate?>?) throws -> URL
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileManager.ubiquityIdentityToken
@NSCopying open var ubiquityIdentityToken: (any NSCoding & NSCopying & NSObjectProtocol)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
FileManager.getFileProviderServicesForItem(at:completionHandler:)
open func getFileProviderServicesForItem(at url: URL, completionHandler: @escaping @Sendable ([NSFileProviderServiceName : NSFileProviderService]?, (any Error)?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 11.0macOS macOS 10.13
FileManager.containerURL(forSecurityApplicationGroupIdentifier:)
open func containerURL(forSecurityApplicationGroupIdentifier groupIdentifier: String) -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 7.0macOS macOS 10.8
FileManager.temporaryDirectory
open var temporaryDirectory: URL { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10.0macOS macOS 10.12
FileManager.DirectoryEnumerator.fileAttributes
open var fileAttributes: [FileAttributeKey : Any]? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.DirectoryEnumerator.directoryAttributes
open var directoryAttributes: [FileAttributeKey : Any]? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.DirectoryEnumerator.isEnumeratingDirectoryPostOrder
open var isEnumeratingDirectoryPostOrder: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 13.0macOS macOS 10.15
FileManager.DirectoryEnumerator.skipDescendents()
open func skipDescendents()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.DirectoryEnumerator.level
open var level: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.DirectoryEnumerator.skipDescendants()
open func skipDescendants()
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.SearchPathDirectory.applicationDirectory
case applicationDirectory = 1
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDirectory.libraryDirectory
case libraryDirectory = 5
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDirectory.documentDirectory
case documentDirectory = 9
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDirectory.cachesDirectory
case cachesDirectory = 13
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDirectory.applicationSupportDirectory
case applicationSupportDirectory = 14
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDirectory.downloadsDirectory
case downloadsDirectory = 15
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
FileManager.SearchPathDirectory.desktopDirectory
case desktopDirectory = 12
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDirectory.moviesDirectory
case moviesDirectory = 17
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.SearchPathDirectory.itemReplacementDirectory
case itemReplacementDirectory = 99
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.SearchPathDirectory.trashDirectory
case trashDirectory = 102
name-resolves only; no executable Foundation codegen.
iOS iOS 11.0macOS macOS 10.8
FileManager.SearchPathDomainMask.userDomainMask
public static var userDomainMask: FileManager.SearchPathDomainMask { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDomainMask.localDomainMask
public static var localDomainMask: FileManager.SearchPathDomainMask { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDomainMask.systemDomainMask
public static var systemDomainMask: FileManager.SearchPathDomainMask { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.SearchPathDomainMask.allDomainsMask
public static var allDomainsMask: FileManager.SearchPathDomainMask { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileManager.DirectoryEnumerationOptions.skipsHiddenFiles
public static var skipsHiddenFiles: FileManager.DirectoryEnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants
public static var skipsSubdirectoryDescendants: FileManager.DirectoryEnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.DirectoryEnumerationOptions.skipsPackageDescendants
public static var skipsPackageDescendants: FileManager.DirectoryEnumerationOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.ItemReplacementOptions.usingNewMetadataOnly
public static var usingNewMetadataOnly: FileManager.ItemReplacementOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileManager.URLRelationship.contains
case contains = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
NSSearchPathForDirectoriesInDomains(_:_:_:)
public func NSSearchPathForDirectoriesInDomains(_ directory: FileManager.SearchPathDirectory, _ domainMask: FileManager.SearchPathDomainMask, _ expandTilde: Bool) -> [String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.size
public static let size: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.type
public static let type: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.modificationDate
public static let modificationDate: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.creationDate
public static let creationDate: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.posixPermissions
public static let posixPermissions: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.ownerAccountName
public static let ownerAccountName: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.protectionKey
public static let protectionKey: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS
FileAttributeKey.systemSize
public static let systemSize: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.systemFreeSize
public static let systemFreeSize: FileAttributeKey
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileAttributeKey.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.availableData
open var availableData: Data { get }
Reads whole file into Data; no blocking/stream availability semantics.
iOS allmacOS all
FileHandle.init(fileDescriptor:closeOnDealloc:)
public init(fileDescriptor fd: Int32, closeOnDealloc closeopt: Bool)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.seek(toOffset:)
open func seek(toOffset offset: UInt64) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 13.0macOS macOS 10.15
FileHandle.truncate(atOffset:)
open func truncate(atOffset offset: UInt64) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 13.0macOS macOS 10.15
FileHandle.synchronize()
open func synchronize() throws
name-resolves only; no executable Foundation codegen.
iOS iOS 13.0macOS macOS 10.15
FileHandle.close()
open func close() throws
Sets closed flag slot; no throw and later ops do not enforce closed state.
iOS iOS 13.0macOS macOS 10.15
FileHandle.readToEnd()
public func readToEnd() throws -> Data?
Reads whole file into Data; result is non-optional Data, no throw.
iOS iOS 13.4macOS macOS 10.15.4
FileHandle.read(upToCount:)
public func read(upToCount count: Int) throws -> Data?
name-resolves only; no executable Foundation codegen.
iOS iOS 13.4macOS macOS 10.15.4
FileHandle.offset()
public func offset() throws -> UInt64
name-resolves only; no executable Foundation codegen.
iOS iOS 13.4macOS macOS 10.15.4
FileHandle.seekToEnd()
public func seekToEnd() throws -> UInt64
Reads file and returns byte count like seekToEndOfFile; no throw or real seek.
iOS iOS 13.4macOS macOS 10.15.4
FileHandle.write(contentsOf:)
public func write<T>(contentsOf data: T) throws where T : DataProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 13.4macOS macOS 10.15.4
FileHandle.bytes
public var bytes: FileHandle.AsyncBytes { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
FileHandle.standardInput
open class var standardInput: FileHandle { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.standardOutput
open class var standardOutput: FileHandle { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.standardError
open class var standardError: FileHandle { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.nullDevice
open class var nullDevice: FileHandle { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.init(forReadingAtPath:)
public convenience init?(forReadingAtPath path: String)
Four-slot handle, mode 0; no nil on missing path; file read lazily.
iOS allmacOS all
FileHandle.init(forWritingAtPath:)
public convenience init?(forWritingAtPath path: String)
Four-slot handle, mode 1; no nil; write overwrites via Data.write.
iOS allmacOS all
FileHandle.init(forUpdatingAtPath:)
public convenience init?(forUpdatingAtPath path: String)
Four-slot handle, mode 2; no true read-write descriptor behavior.
iOS allmacOS all
FileHandle.init(forReadingFrom:)
public convenience init(forReadingFrom url: URL) throws
Path stored when lowered; no throw, URL stays string-backed.
iOS iOS 4.0macOS macOS 10.6
FileHandle.init(forWritingTo:)
public convenience init(forWritingTo url: URL) throws
Path stored when lowered; no throw behavior.
iOS iOS 4.0macOS macOS 10.6
FileHandle.init(forUpdating:)
public convenience init(forUpdating url: URL) throws
Path stored when lowered; no throw or update descriptor behavior.
iOS iOS 4.0macOS macOS 10.6
FileHandle.readInBackgroundAndNotify()
open func readInBackgroundAndNotify()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.readabilityHandler
open var readabilityHandler: (@Sendable (FileHandle) -> Void)?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileHandle.writeabilityHandler
open var writeabilityHandler: (@Sendable (FileHandle) -> Void)?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
FileHandle.init(fileDescriptor:)
public convenience init(fileDescriptor fd: Int32)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
FileHandle.fileDescriptor
open var fileDescriptor: Int32 { get }
Constant 0 placeholder; diverges from real OS descriptor.
iOS allmacOS all
FileHandle.readDataToEndOfFile()
open func readDataToEndOfFile() -> Data
Reads whole file into Data and stores offset as count; supported subset.
iOS deprecatedmacOS deprecated
FileHandle.readData(ofLength:)
open func readData(ofLength length: Int) -> Data
name-resolves only; no executable Foundation codegen.
iOS deprecatedmacOS deprecated
FileHandle.write(_:)
open func write(_ data: Data)
Writes full Data to path via host write; effectively overwrite; stores offset.
iOS deprecatedmacOS deprecated
FileHandle.offsetInFile
open var offsetInFile: UInt64 { get }
Slot 3; updated only by supported whole-file operations.
iOS deprecatedmacOS deprecated
FileHandle.seekToEndOfFile()
open func seekToEndOfFile() -> UInt64
Reads file, sets offset to byte count, returns count; supported subset.
iOS deprecatedmacOS deprecated
FileHandle.seek(toFileOffset:)
open func seek(toFileOffset offset: UInt64)
name-resolves only; no executable Foundation codegen.
iOS deprecatedmacOS deprecated
FileHandle.truncateFile(atOffset:)
open func truncateFile(atOffset offset: UInt64)
name-resolves only; no executable Foundation codegen.
iOS deprecatedmacOS deprecated
FileHandle.synchronizeFile()
open func synchronizeFile()
name-resolves only; no executable Foundation codegen.
iOS deprecatedmacOS deprecated
FileHandle.closeFile()
open func closeFile()
Sets closed flag; later operations do not enforce closed state.
iOS deprecatedmacOS deprecated
Pipe.fileHandleForReading
open var fileHandleForReading: FileHandle { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Pipe.fileHandleForWriting
open var fileHandleForWriting: FileHandle { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Pipe.init()
open class Pipe : NSObject (default init())
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.main
open class var main: Bundle { get }
Two-slot bundle, both slots set to current directory via __fm_current_directory.
iOS allmacOS all
Bundle.init(path:)
public init?(path: String)
Both slots set to provided path; no failable nil validation.
iOS allmacOS all
Bundle.init(url:)
public convenience init?(url: URL)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.init(for:)
public init(for aClass: AnyClass)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.init(identifier:)
public init?(identifier: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.allBundles
open class var allBundles: [Bundle] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.allFrameworks
open class var allFrameworks: [Bundle] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.load()
open func load() -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.isLoaded
open var isLoaded: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.unload()
open func unload() -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.preflight()
open func preflight() throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
Bundle.loadAndReturnError()
open func loadAndReturnError() throws
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
Bundle.bundleURL
open var bundleURL: URL { get }
Slot 0 returned as string-backed URL; no URL object model.
iOS iOS 4.0macOS macOS 10.6
Bundle.resourceURL
open var resourceURL: URL? { get }
Slot 1 returned as string-backed URL; no optional nil.
iOS iOS 4.0macOS macOS 10.6
Bundle.executableURL
open var executableURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.url(forAuxiliaryExecutable:)
open func url(forAuxiliaryExecutable executableName: String) -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.privateFrameworksURL
open var privateFrameworksURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.builtInPlugInsURL
open var builtInPlugInsURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.appStoreReceiptURL
open var appStoreReceiptURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7.0macOS macOS 10.7
Bundle.bundlePath
open var bundlePath: String { get }
Slot 0 returned directly as path string.
iOS allmacOS all
Bundle.resourcePath
open var resourcePath: String? { get }
Slot 1 returned as string; no optional nil.
iOS allmacOS all
Bundle.executablePath
open var executablePath: String? { get }
Slot 0 as string; diverges, does not locate a real executable.
iOS allmacOS all
Bundle.path(forAuxiliaryExecutable:)
open func path(forAuxiliaryExecutable executableName: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.sharedSupportPath
open var sharedSupportPath: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.url(forResource:withExtension:subdirectory:in:)
open class func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?, in bundleURL: URL) -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.url(forResource:withExtension:)
open func url(forResource name: String?, withExtension ext: String?) -> URL?
Composes resourcePath/name.ext as string-backed URL; no existence check or nil.
iOS iOS 4.0macOS macOS 10.6
Bundle.url(forResource:withExtension:subdirectory:)
open func url(forResource name: String?, withExtension ext: String?, subdirectory subpath: String?) -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.urls(forResourcesWithExtension:subdirectory:)
open func urls(forResourcesWithExtension ext: String?, subdirectory subpath: String?) -> [URL]?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
Bundle.path(forResource:ofType:inDirectory:) [class]
open class func path(forResource name: String?, ofType ext: String?, inDirectory bundlePath: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.paths(forResourcesOfType:inDirectory:) [class]
open class func paths(forResourcesOfType ext: String?, inDirectory bundlePath: String) -> [String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.path(forResource:ofType:)
open func path(forResource name: String?, ofType ext: String?) -> String?
Composes resourcePath/name.ext string; no existence check, localization, or nil.
iOS allmacOS all
Bundle.path(forResource:ofType:inDirectory:)
open func path(forResource name: String?, ofType ext: String?, inDirectory subpath: String?) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.paths(forResourcesOfType:inDirectory:)
open func paths(forResourcesOfType ext: String?, inDirectory subpath: String?) -> [String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.localizedString(forKey:value:table:)
open func localizedString(forKey key: String, value: String?, table tableName: String?) -> String
Returns value when provided else key; table and bundle localizations ignored.
iOS allmacOS all
Bundle.bundleIdentifier
open var bundleIdentifier: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.infoDictionary
open var infoDictionary: [String : Any]? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.object(forInfoDictionaryKey:)
open func object(forInfoDictionaryKey key: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.classNamed(_:)
open func classNamed(_ className: String) -> AnyClass?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.principalClass
open var principalClass: AnyClass? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.preferredLocalizations
open var preferredLocalizations: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.localizations
open var localizations: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.developmentLocalization
open var developmentLocalization: String? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Bundle.executableArchitectures
open var executableArchitectures: [NSNumber]? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
Bundle.didLoadNotification
public class let didLoadNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Process.init()
public init()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.executableURL
open var executableURL: URL?
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.13
Process.arguments
open var arguments: [String]?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.environment
open var environment: [String : String]?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.currentDirectoryURL
open var currentDirectoryURL: URL?
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.13
Process.standardInput
open var standardInput: Any?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.standardOutput
open var standardOutput: Any?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.standardError
open var standardError: Any?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.run()
open func run() throws
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.13
Process.interrupt()
open func interrupt()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.terminate()
open func terminate()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.suspend()
open func suspend() -> Bool
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.resume()
open func resume() -> Bool
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.processIdentifier
open var processIdentifier: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.isRunning
open var isRunning: Bool { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.terminationStatus
open var terminationStatus: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.terminationReason
open var terminationReason: Process.TerminationReason { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.6
Process.terminationHandler
open var terminationHandler: (@Sendable (Process) -> Void)?
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
Process.qualityOfService
open var qualityOfService: QualityOfService
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
Process.run(_:arguments:terminationHandler:)
open class func run(_ url: URL, arguments: [String], terminationHandler: (@Sendable (Process) -> Void)? = nil) throws -> Process
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.13
Process.waitUntilExit()
open func waitUntilExit()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Process.launchPath
open var launchPath: String?
name-resolves only; no executable Foundation codegen.
iOSmacOS deprecated
Process.launch()
open func launch()
name-resolves only; no executable Foundation codegen.
iOSmacOS deprecated
Process.launchedProcess(launchPath:arguments:)
open class func launchedProcess(launchPath path: String, arguments: [String]) -> Process
name-resolves only; no executable Foundation codegen.
iOSmacOS deprecated
Process.TerminationReason.exit
case exit = 1
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.6
Process.TerminationReason.uncaughtSignal
case uncaughtSignal = 2
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.6
FileWrapper.init(url:options:)
public init(url: URL, options: FileWrapper.ReadingOptions = []) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.init(directoryWithFileWrappers:)
public init(directoryWithFileWrappers childrenByPreferredName: [String : FileWrapper])
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.init(regularFileWithContents:)
public init(regularFileWithContents contents: Data)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.init(symbolicLinkWithDestinationURL:)
public init(symbolicLinkWithDestinationURL url: URL)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.isDirectory
open var isDirectory: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.isRegularFile
open var isRegularFile: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.preferredFilename
open var preferredFilename: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.filename
open var filename: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.fileAttributes
open var fileAttributes: [String : Any]
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.read(from:options:)
open func read(from url: URL, options: FileWrapper.ReadingOptions = []) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.write(to:options:originalContentsURL:)
open func write(to url: URL, options: FileWrapper.WritingOptions = [], originalContentsURL: URL?) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.addFileWrapper(_:)
open func addFileWrapper(_ child: FileWrapper) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.addRegularFile(withContents:preferredFilename:)
open func addRegularFile(withContents data: Data, preferredFilename fileName: String) -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.fileWrappers
open var fileWrappers: [String : FileWrapper]? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.regularFileContents
open var regularFileContents: Data? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.ReadingOptions.immediate
public static var immediate: FileWrapper.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
FileWrapper.WritingOptions.atomic
public static var atomic: FileWrapper.WritingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
NSFileCoordinator.init(filePresenter:)
public init(filePresenter filePresenterOrNil: (any NSFilePresenter)?)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.addFilePresenter(_:)
open class func addFilePresenter(_ filePresenter: any NSFilePresenter)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.filePresenters
open class var filePresenters: [any NSFilePresenter] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.coordinate(readingItemAt:options:error:byAccessor:)
open func coordinate(readingItemAt url: URL, options: NSFileCoordinator.ReadingOptions = [], error outError: NSErrorPointer, byAccessor reader: (URL) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.coordinate(writingItemAt:options:error:byAccessor:)
open func coordinate(writingItemAt url: URL, options: NSFileCoordinator.WritingOptions = [], error outError: NSErrorPointer, byAccessor writer: (URL) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.cancel()
open func cancel()
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.item(at:didMoveTo:)
open func item(at oldURL: URL, didMoveTo newURL: URL)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.ReadingOptions.withoutChanges
public static var withoutChanges: NSFileCoordinator.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFileCoordinator.WritingOptions.forDeleting
public static var forDeleting: NSFileCoordinator.WritingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSFilePresenter.presentedItemURL
var presentedItemURL: URL? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.7
NSFilePresenter.presentedItemOperationQueue
var presentedItemOperationQueue: OperationQueue { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2.0macOS all
NSFilePresenter.presentedItemDidChange()
optional func presentedItemDidChange()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSFilePresenter.presentedItemDidMove(to:)
optional func presentedItemDidMove(to newURL: URL)
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.7
NSFilePresenter.savePresentedItemChanges(completionHandler:)
optional func savePresentedItemChanges(completionHandler: @escaping @Sendable ((any Error)?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSFileAccessIntent.readingIntent(with:options:)
open class func readingIntent(with url: URL, options: NSFileCoordinator.ReadingOptions = []) -> Self
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
NSFileAccessIntent.writingIntent(with:options:)
open class func writingIntent(with url: URL, options: NSFileCoordinator.WritingOptions = []) -> Self
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10

12. Foundation collections / IndexPath / IndexSet

27·10·251
NSArray.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.object(at:)
open func object(at index: Int) -> Any
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init()
public init()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(objects:count:)
public init(objects: UnsafePointer<AnyObject>?, count cnt: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(coder:)
public init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(arrayLiteral:)
required public convenience init(arrayLiteral elements: Any...)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(objects:)
public convenience init(objects elements: Any...)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(array:)
public convenience init(array: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(object:)
public convenience init(object anObject: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.init(contentsOf:error:)
public convenience init(contentsOf url: URL, error: ()) throws
name-resolves only; no executable Foundation codegen
iOS iOS 11macOS macOS 10.13
NSArray.makeIterator()
final public func makeIterator() -> NSFastEnumerationIterator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.adding(_:)
open func adding(_ anObject: Any) -> [Any]
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.addingObjects(from:)
open func addingObjects(from otherArray: [Any]) -> [Any]
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.componentsJoined(by:)
open func componentsJoined(by separator: String) -> String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.contains(_:)
open func contains(_ anObject: Any) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.description
open var description: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.index(of:)
open func index(of anObject: Any) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.isEqual(to:)
open func isEqual(to otherArray: [Any]) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.firstObject
open var firstObject: Any? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSArray.lastObject
open var lastObject: Any? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.objectEnumerator()
open func objectEnumerator() -> NSEnumerator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.reverseObjectEnumerator()
open func reverseObjectEnumerator() -> NSEnumerator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.subarray(with:)
open func subarray(with range: NSRange) -> [Any]
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.write(to:)
open func write(to url: URL) throws
name-resolves only; no executable Foundation codegen
iOS iOS 11macOS macOS 10.13
NSArray.objects(at:)
open func objects(at indexes: IndexSet) -> [Any]
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.subscript(_:)
open subscript(idx: Int) -> Any { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.enumerateObjects(_:)
open func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSArray.indexOfObject(passingTest:)
open func indexOfObject(passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSArray.sortedArray(comparator:)
open func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any]
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSArray.write(toFile:atomically:)
open func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 2 deprecatedmacOS deprecated
NSBinarySearchingOptions.firstEqual
public static var firstEqual: NSBinarySearchingOptions { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.add(_:)
open func add(_ anObject: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.insert(_:at:)
open func insert(_ anObject: Any, at index: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.removeLastObject()
open func removeLastObject()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.removeObject(at:)
open func removeObject(at index: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.replaceObject(at:with:)
open func replaceObject(at index: Int, with anObject: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.init(capacity:)
public init(capacity numItems: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.addObjects(from:)
open func addObjects(from otherArray: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.exchangeObject(at:withObjectAt:)
open func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.removeAllObjects()
open func removeAllObjects()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.setArray(_:)
open func setArray(_ otherArray: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.subscript(_:)
open subscript(idx: Int) -> Any
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableArray.sort(comparator:)
open func sort(comparator cmptr: (Any, Any) -> ComparisonResult)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSDictionary.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.object(forKey:)
open func object(forKey aKey: Any) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.keyEnumerator()
open func keyEnumerator() -> NSEnumerator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.init()
public init()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.init(objects:forKeys:count:)
public init(objects: UnsafePointer<AnyObject>?, forKeys keys: UnsafePointer<any NSCopying>?, count cnt: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.init(dictionaryLiteral:)
required public convenience init(dictionaryLiteral elements: (Any, Any)...)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.subscript(_:)
@objc dynamic public subscript(key: Any) -> Any? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.makeIterator()
public func makeIterator() -> NSDictionary.Iterator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.allKeys
open var allKeys: [Any] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.allValues
open var allValues: [Any] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.description
open var description: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.isEqual(to:)
open func isEqual(to otherDictionary: [AnyHashable : Any]) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.objectEnumerator()
open func objectEnumerator() -> NSEnumerator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.write(to:)
open func write(to url: URL) throws
name-resolves only; no executable Foundation codegen
iOS iOS 11macOS macOS 10.13
NSDictionary.enumerateKeysAndObjects(_:)
open func enumerateKeysAndObjects(_ block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSDictionary.init(dictionary:)
public convenience init(dictionary otherDictionary: [AnyHashable : Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDictionary.init(objects:forKeys:)
public convenience init(objects: [Any], forKeys keys: [any NSCopying])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.removeObject(forKey:)
open func removeObject(forKey aKey: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.setObject(_:forKey:)
open func setObject(_ anObject: Any, forKey aKey: any NSCopying)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.subscript(_:)
@objc override dynamic public subscript(key: Any) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.addEntries(from:)
open func addEntries(from otherDictionary: [AnyHashable : Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.removeAllObjects()
open func removeAllObjects()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.removeObjects(forKeys:)
open func removeObjects(forKeys keyArray: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.member(_:)
open func member(_ object: Any) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.objectEnumerator()
open func objectEnumerator() -> NSEnumerator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.init()
public init()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.init(objects:)
public convenience init(objects elements: Any...)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.init(arrayLiteral:)
required public convenience init(arrayLiteral elements: Any...)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.init(array:)
public convenience init(array: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.allObjects
open var allObjects: [Any] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.anyObject()
open func anyObject() -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.contains(_:)
open func contains(_ anObject: Any) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.intersects(_:)
open func intersects(_ otherSet: Set<AnyHashable>) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.isSubset(of:)
open func isSubset(of otherSet: Set<AnyHashable>) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.adding(_:)
open func adding(_ anObject: Any) -> Set<AnyHashable>
name-resolves only; no executable Foundation codegen
iOS iOS 2macOS all
NSSet.enumerateObjects(_:)
open func enumerateObjects(_ block: (Any, UnsafeMutablePointer<ObjCBool>) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSMutableSet.add(_:)
open func add(_ object: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableSet.remove(_:)
open func remove(_ object: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableSet.init(capacity:)
public init(capacity numItems: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableSet.addObjects(from:)
open func addObjects(from array: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableSet.intersect(_:)
open func intersect(_ otherSet: Set<AnyHashable>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableSet.minus(_:)
open func minus(_ otherSet: Set<AnyHashable>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableSet.union(_:)
open func union(_ otherSet: Set<AnyHashable>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCountedSet.init(capacity:)
public init(capacity numItems: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCountedSet.init(array:)
public convenience init(array: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCountedSet.init(set:)
public convenience init(set: Set<AnyHashable>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCountedSet.count(for:)
open func count(for object: Any) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCountedSet.add(_:)
open func add(_ object: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCountedSet.remove(_:)
open func remove(_ object: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSOrderedSet.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.object(at:)
open func object(at idx: Int) -> Any
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.index(of:)
open func index(of object: Any) -> Int
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.init()
public init()
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.init(arrayLiteral:)
required public convenience init(arrayLiteral elements: Any...)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.init(array:)
public convenience init(array: [Any])
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.firstObject
open var firstObject: Any? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.lastObject
open var lastObject: Any? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.contains(_:)
open func contains(_ object: Any) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.subscript(_:)
open subscript(idx: Int) -> Any { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.array
open var array: [Any] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.set
open var set: Set<AnyHashable> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.reversed
@NSCopying open var reversed: NSOrderedSet { get }
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.objects(at:)
open func objects(at indexes: IndexSet) -> [Any]
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.isSubset(of:)
open func isSubset(of other: NSOrderedSet) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSOrderedSet.init(orderedSet:)
public convenience init(orderedSet set: NSOrderedSet)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.insert(_:at:)
open func insert(_ object: Any, at idx: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.removeObject(at:)
open func removeObject(at idx: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.replaceObject(at:with:)
open func replaceObject(at idx: Int, with object: Any)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.init(capacity:)
public init(capacity numItems: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.add(_:)
open func add(_ object: Any)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.addObjects(from:)
open func addObjects(from array: [Any])
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.moveObjects(at:to:)
open func moveObjects(at indexes: IndexSet, to idx: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.subscript(_:)
open subscript(idx: Int) -> Any
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.removeAllObjects()
open func removeAllObjects()
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.remove(_:)
open func remove(_ object: Any)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.union(_:)
open func union(_ other: NSOrderedSet)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.intersect(_:)
open func intersect(_ other: NSOrderedSet)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.minus(_:)
open func minus(_ other: NSOrderedSet)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSMutableOrderedSet.sort(comparator:)
open func sort(comparator cmptr: (Any, Any) -> ComparisonResult)
name-resolves only; no executable Foundation codegen
iOS iOS 5macOS macOS 10.7
NSCache.name
open var name: String
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.delegate
unowned(unsafe) open var delegate: (any NSCacheDelegate)?
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.object(forKey:)
open func object(forKey key: KeyType) -> ObjectType?
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.setObject(_:forKey:)
open func setObject(_ obj: ObjectType, forKey key: KeyType)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.setObject(_:forKey:cost:)
open func setObject(_ obj: ObjectType, forKey key: KeyType, cost g: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.removeObject(forKey:)
open func removeObject(forKey key: KeyType)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.removeAllObjects()
open func removeAllObjects()
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.totalCostLimit
open var totalCostLimit: Int
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.countLimit
open var countLimit: Int
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSCache.evictsObjectsWithDiscardedContent
open var evictsObjectsWithDiscardedContent: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS macOS 10.6
NSPointerArray.init(options:)
public init(options: NSPointerFunctions.Options = [])
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.pointer(at:)
open func pointer(at index: Int) -> UnsafeMutableRawPointer?
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.addPointer(_:)
open func addPointer(_ pointer: UnsafeMutableRawPointer?)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.removePointer(at:)
open func removePointer(at index: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.insertPointer(_:at:)
open func insertPointer(_ item: UnsafeMutableRawPointer?, at index: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.compact()
open func compact()
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.count
open var count: Int
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.allObjects
open var allObjects: [Any] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.strongObjects()
open class func strongObjects() -> NSPointerArray
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerArray.weakObjects()
open class func weakObjects() -> NSPointerArray
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.init(options:)
public init(options: NSPointerFunctions.Options = [])
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.weakObjects()
open class func weakObjects() -> NSHashTable<ObjectType>
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.member(_:)
open func member(_ object: ObjectType?) -> ObjectType?
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.add(_:)
open func add(_ object: ObjectType?)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.remove(_:)
open func remove(_ object: ObjectType?)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.removeAllObjects()
open func removeAllObjects()
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.allObjects
open var allObjects: [ObjectType] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.anyObject
open var anyObject: ObjectType? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.contains(_:)
open func contains(_ anObject: ObjectType?) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.intersect(_:)
open func intersect(_ other: NSHashTable<ObjectType>)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.union(_:)
open func union(_ other: NSHashTable<ObjectType>)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.minus(_:)
open func minus(_ other: NSHashTable<ObjectType>)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSHashTable.setRepresentation
open var setRepresentation: Set<AnyHashable> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.init(keyOptions:valueOptions:)
public init(keyOptions: NSPointerFunctions.Options = [], valueOptions: NSPointerFunctions.Options = [])
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.strongToStrongObjects()
open class func strongToStrongObjects() -> NSMapTable<KeyType, ObjectType>
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.weakToWeakObjects()
open class func weakToWeakObjects() -> NSMapTable<KeyType, ObjectType>
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.object(forKey:)
open func object(forKey aKey: KeyType?) -> ObjectType?
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.setObject(_:forKey:)
open func setObject(_ anObject: ObjectType?, forKey aKey: KeyType?)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.removeObject(forKey:)
open func removeObject(forKey aKey: KeyType?)
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.removeAllObjects()
open func removeAllObjects()
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSMapTable.dictionaryRepresentation()
open func dictionaryRepresentation() -> [AnyHashable : ObjectType]
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerFunctions.Options.strongMemory
public static var strongMemory: NSPointerFunctions.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSPointerFunctions.Options.weakMemory
public static var weakMemory: NSPointerFunctions.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 6macOS macOS 10.5
NSIndexPath.init(indexes:length:)
public init(indexes: UnsafePointer<Int>?, length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexPath.init(index:)
public convenience init(index: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexPath.adding(_:)
open func adding(_ index: Int) -> IndexPath
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexPath.removingLastIndex()
open func removingLastIndex() -> IndexPath
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexPath.index(atPosition:)
open func index(atPosition position: Int) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexPath.length
open var length: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexPath.compare(_:)
open func compare(_ otherObject: IndexPath) -> ComparisonResult
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.init(indexesIn:)
public init(indexesIn range: NSRange)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.init(indexSet:)
public init(indexSet: IndexSet)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.init(index:)
public convenience init(index value: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.count
open var count: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.firstIndex
open var firstIndex: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.lastIndex
open var lastIndex: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.indexGreaterThanIndex(_:)
open func indexGreaterThanIndex(_ value: Int) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.indexLessThanIndex(_:)
open func indexLessThanIndex(_ value: Int) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.contains(_:)
open func contains(_ value: Int) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSet.countOfIndexes(in:)
open func countOfIndexes(in range: NSRange) -> Int
name-resolves only; no executable Foundation codegen
iOS iOS 2macOS all
NSIndexSet.enumerate(_:)
open func enumerate(_ block: (Int, UnsafeMutablePointer<ObjCBool>) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4macOS all
NSIndexSet.makeIterator()
public func makeIterator() -> NSIndexSetIterator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableIndexSet.add(_:)
open func add(_ value: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableIndexSet.remove(_:)
open func remove(_ value: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableIndexSet.add(in:)
open func add(in range: NSRange)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableIndexSet.remove(in:)
open func remove(in range: NSRange)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableIndexSet.removeAllIndexes()
open func removeAllIndexes()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableIndexSet.shiftIndexesStarting(at:by:)
open func shiftIndexesStarting(at index: Int, by delta: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSIndexSetIterator.next()
public mutating func next() -> Int?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.init(location:length:)
public init(location: Int, length: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.location
public var location: Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.length
public var length: Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.init(_:)
public init?(_ string: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.lowerBound
@inlinable public var lowerBound: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.upperBound
@inlinable public var upperBound: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.contains(_:)
@inlinable public func contains(_ index: Int) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.union(_:)
@inlinable public func union(_ other: NSRange) -> NSRange
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.intersection(_:)
@inlinable public func intersection(_ other: NSRange) -> NSRange?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.init(_:)
@inlinable public init<R>(_ region: R) where R : RangeExpression, R.Bound : FixedWidthInteger
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRange.toRange()
public func toRange() -> Range<Int>?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMakeRange(_:_:)
public func NSMakeRange(_ loc: Int, _ len: Int) -> NSRange
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMaxRange(_:)
public func NSMaxRange(_ range: NSRange) -> Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSValue.init(bytes:objCType:)
public init(bytes value: UnsafeRawPointer, objCType type: UnsafePointer<CChar>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSValue.getValue(_:size:)
open func getValue(_ value: UnsafeMutableRawPointer, size: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 11macOS macOS 10.13
NSValue.objCType
open var objCType: UnsafePointer<CChar> { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSValue.value(of:)
public func value<StoredType>(of type: StoredType.Type) -> StoredType?
name-resolves only; no executable Foundation codegen
iOS iOS 13macOS macOS 10.15
NSValue.init(pointer:)
public init(pointer: UnsafeRawPointer?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSValue.pointerValue
open var pointerValue: UnsafeMutableRawPointer? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSValue.isEqual(to:)
open func isEqual(to value: NSValue) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNull.init()
public override init()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
IndexPath.init()
public init()
empty [Int]-backed path; covered by smoke test
iOS iOS 8macOS macOS 10.10
IndexPath.init(indexes:)
public init(indexes: [IndexPath.Element])
uses provided [Int] storage; no value-witness distinction beyond array runtime
iOS iOS 8macOS macOS 10.10
IndexPath.init(indexes:)
public init<ElementSequence>(indexes: ElementSequence) where ElementSequence : Sequence, ElementSequence.Element == Int
only practical array-shaped inputs; arbitrary Sequence not modeled
iOS iOS 8macOS macOS 10.10
IndexPath.init(arrayLiteral:)
public init(arrayLiteral indexes: IndexPath.Element...)
array-literal-ish [Int] lowering; depends on compiler array-literal handling
iOS iOS 8macOS macOS 10.10
IndexPath.init(index:)
public init(index: IndexPath.Element)
single-element [Int] via generic single-value path; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.count
public var count: Int { get }
__array_len; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.isEmpty
public var isEmpty: Bool { get }
__array_len == 0; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.startIndex
public var startIndex: IndexPath.Index { get }
plain integer 0, not an associated index type
iOS iOS 8macOS macOS 10.10
IndexPath.endIndex
public var endIndex: IndexPath.Index { get }
plain integer array length
iOS iOS 8macOS macOS 10.10
IndexPath.first
public var first: IndexPath.Element? { get }
returns Int not Int?; no nil for empty path
iOS iOS 8macOS macOS 10.10
IndexPath.last
public var last: IndexPath.Element? { get }
returns Int not Int?; no nil for empty path
iOS iOS 8macOS macOS 10.10
IndexPath.subscript(_:)
public subscript(index: IndexPath.Index) -> IndexPath.Element
integer index only via __array_get_ptr then load Int
iOS iOS 8macOS macOS 10.10
IndexPath.subscript(_:)
public subscript(range: Range<IndexPath.Index>) -> IndexPath
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.append(_:)
public mutating func append(_ other: IndexPath.Element)
__array_append; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.append(_:)
public mutating func append(_ other: IndexPath)
__array_concat for IndexPath-like arg
iOS iOS 8macOS macOS 10.10
IndexPath.append(_:)
public mutating func append(_ other: [IndexPath.Element])
__array_concat for array-like arg
iOS iOS 8macOS macOS 10.10
IndexPath.appending(_:)
public func appending(_ other: IndexPath.Element) -> IndexPath
__array_plus with singleton; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.appending(_:)
public func appending(_ other: IndexPath) -> IndexPath
__array_plus concatenation
iOS iOS 8macOS macOS 10.10
IndexPath.appending(_:)
public func appending(_ other: [IndexPath.Element]) -> IndexPath
__array_plus concatenation
iOS iOS 8macOS macOS 10.10
IndexPath.dropLast()
public func dropLast() -> IndexPath
__array_drop_last count 1; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.index(after:)
public func index(after i: IndexPath.Index) -> IndexPath.Index
i + 1 plain integer
iOS iOS 8macOS macOS 10.10
IndexPath.index(before:)
public func index(before i: IndexPath.Index) -> IndexPath.Index
i - 1 plain integer
iOS iOS 8macOS macOS 10.10
IndexPath.makeIterator()
public func makeIterator() -> IndexingIterator<IndexPath>
existing array for-in path; covered by test
iOS iOS 8macOS macOS 10.10
IndexPath.compare(_:)
public func compare(_ other: IndexPath) -> ComparisonResult
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.==(_:_:)
public static func == (lhs: IndexPath, rhs: IndexPath) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.+(_:_:)
public static func + (lhs: IndexPath, rhs: IndexPath) -> IndexPath
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.+=(_:_:)
public static func += (lhs: inout IndexPath, rhs: IndexPath)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.<(_:_:)
public static func < (lhs: IndexPath, rhs: IndexPath) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexPath.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.init()
public init()
empty [Int]-backed set; covered by smoke test
iOS iOS 8macOS macOS 10.10
IndexSet.init(integer:)
public init(integer: IndexSet.Element)
single-integer [Int]; covered by test
iOS iOS 8macOS macOS 10.10
IndexSet.init(integersIn:)
public init(integersIn range: Range<IndexSet.Element>)
literal half-open range emits append loop; covered
iOS iOS 8macOS macOS 10.10
IndexSet.init(integersIn:)
public init<R>(integersIn range: R) where R : RangeExpression, R.Bound == Int
literal binary range exprs (incl closed) only; prebuilt/arbitrary RangeExpression not modeled
iOS iOS 8macOS macOS 10.10
IndexSet.count
public var count: Int { get }
__array_len; covered by test
iOS iOS 8macOS macOS 10.10
IndexSet.isEmpty
public var isEmpty: Bool { get }
__array_len == 0; covered by test
iOS iOS 8macOS macOS 10.10
IndexSet.startIndex
public var startIndex: IndexSet.Index { get }
plain integer offset 0, not IndexSet.Index type
iOS iOS 8macOS macOS 10.10
IndexSet.endIndex
public var endIndex: IndexSet.Index { get }
plain integer offset array length
iOS iOS 8macOS macOS 10.10
IndexSet.first
public var first: IndexSet.Element? { get }
returns Int not Int?; no nil for empty; depends on storage order
iOS iOS 8macOS macOS 10.10
IndexSet.last
public var last: IndexSet.Element? { get }
returns Int not Int?; no nil for empty; depends on storage order
iOS iOS 8macOS macOS 10.10
IndexSet.subscript(_:)
public subscript(index: IndexSet.Index) -> IndexSet.Element { get }
integer offset into storage via __array_get_ptr
iOS iOS 8macOS macOS 10.10
IndexSet.subscript(_:)
public subscript(bounds: Range<IndexSet.Index>) -> Slice<IndexSet> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.contains(_:)
public func contains(_ integer: IndexSet.Element) -> Bool
__array_contains; covered by test
iOS iOS 8macOS macOS 10.10
IndexSet.insert(_:)
public mutating func insert(_ integer: IndexSet.Element) -> (inserted: Bool, memberAfterInsert: IndexSet.Element)
appends only when absent (uniqueness modeled); returns Void not tuple
iOS iOS 8macOS macOS 10.10
IndexSet.remove(_:)
public mutating func remove(_ integer: IndexSet.Element) -> IndexSet.Element?
removes first match at array offset; returns Void not optional
iOS iOS 8macOS macOS 10.10
IndexSet.makeIterator()
public func makeIterator() -> IndexingIterator<IndexSet>
array iteration order; range construction sorted, arbitrary insert keeps insertion order
iOS iOS 8macOS macOS 10.10
IndexSet.rangeView
public var rangeView: IndexSet.RangeView { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.rangeView(of:)
public func rangeView(of range: Range<IndexSet.Element>) -> IndexSet.RangeView
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.integerGreaterThan(_:)
public func integerGreaterThan(_ integer: IndexSet.Element) -> IndexSet.Element?
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.integerLessThan(_:)
public func integerLessThan(_ integer: IndexSet.Element) -> IndexSet.Element?
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.indexRange(in:)
public func indexRange(in range: Range<IndexSet.Element>) -> Range<IndexSet.Index>
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.count(in:)
public func count(in range: Range<IndexSet.Element>) -> Int
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.contains(integersIn:)
public func contains(integersIn range: Range<IndexSet.Element>) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.intersects(integersIn:)
public func intersects(integersIn range: Range<IndexSet.Element>) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.index(after:)
public func index(after i: IndexSet.Index) -> IndexSet.Index
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.index(before:)
public func index(before i: IndexSet.Index) -> IndexSet.Index
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.formUnion(_:)
public mutating func formUnion(_ other: IndexSet)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.union(_:)
public func union(_ other: IndexSet) -> IndexSet
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.intersection(_:)
public func intersection(_ other: IndexSet) -> IndexSet
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.symmetricDifference(_:)
public func symmetricDifference(_ other: IndexSet) -> IndexSet
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.update(with:)
public mutating func update(with integer: IndexSet.Element) -> IndexSet.Element?
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.removeAll()
public mutating func removeAll()
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.insert(integersIn:)
public mutating func insert(integersIn range: Range<IndexSet.Element>)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.remove(integersIn:)
public mutating func remove(integersIn range: Range<IndexSet.Element>)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.filteredIndexSet(includeInteger:)
public func filteredIndexSet(includeInteger: (IndexSet.Element) throws -> Bool) rethrows -> IndexSet
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.shift(startingAt:by:)
public mutating func shift(startingAt integer: IndexSet.Element, by delta: Int)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.==(_:_:)
public static func == (lhs: IndexSet, rhs: IndexSet) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.init(from:)
public init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.RangeView.subscript(_:)
public subscript(index: IndexSet.RangeView.Index) -> Range<IndexSet.Element> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10
IndexSet.Index.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8macOS macOS 10.10

13. UUID / identity / NSObject value types

10·0·31
UUID.init()
public init()
uuid-matrix: host __uuid_new generates canonical uppercase string; smoke-tested for length/stability/non-equality.
iOS iOS 6.0macOS macOS 10.8
UUID.init(uuidString:)
public init?(uuidString string: String)
uuid-matrix: validates 36-char/hyphen/hex format, canonicalizes to uppercase, returns real nil for invalid input.
iOS iOS 6.0macOS macOS 10.8
UUID.init(uuid:)
public init(uuid: uuid_t)
uuid-matrix: literal and dynamic 16-byte tuple init via __uuid_from_bytes lowering to canonical string.
iOS iOS 6.0macOS macOS 10.8
UUID.uuid
public var uuid: (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8) { get }
uuid-matrix: decodes stored canonical string back to a 16-element byte tuple dynamically via __uuid_to_bytes.
iOS iOS 6.0macOS macOS 10.8
UUID.uuidString
public var uuidString: String { get }
uuid-matrix: returns stored canonical uppercase string; covered by tests.
iOS iOS 6.0macOS macOS 10.8
UUID.hash(into:)
public func hash(into hasher: inout Hasher)
uuid-matrix: existing string hash over canonical uppercase storage; consistent with equality.
iOS iOS 6.0macOS macOS 10.8
UUID.hashValue
public var hashValue: Int { get }
uuid-matrix: string-backed hashValue over canonical storage works for identical UUID strings.
iOS iOS 6.0macOS macOS 10.8
UUID.description
public var description: String { get }
uuid-matrix: exposed as alias of uuidString (uppercase canonical string).
iOS iOS 6.0macOS macOS 10.8
UUID.debugDescription
public var debugDescription: String { get }
uuid-matrix: exposed as alias of uuidString (uppercase canonical string).
iOS iOS 6.0macOS macOS 10.8
UUID.random(using:)
public static func random(using generator: inout some RandomNumberGenerator) -> UUID
uuid-matrix: not lowered; only host generation path exists, no custom-RNG variant.
iOS iOS 26.4macOS macOS 26.4
UUID.== (Equatable)
public static func == (lhs: UUID, rhs: UUID) -> Bool
uuid-matrix: string equality over canonical storage; covered by tests.
iOS iOS 6.0macOS macOS 10.8
UUID.< (Comparable)
public static func < (lhs: UUID, rhs: UUID) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
UUID.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
UUID.init(from:)
public init(from decoder: any Decoder) throws
uuid-matrix lists Codable bridge unsupported; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
UUID.encode(to:)
public func encode(to encoder: any Encoder) throws
uuid-matrix lists Codable bridge unsupported; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
UUID.ReferenceType
public typealias ReferenceType = NSUUID
name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
NSUUID.init()
public init()
uuid-matrix: NSObject-backed class bridge absent; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
NSUUID.init(uuidString:)
public convenience init?(uuidString string: String)
uuid-matrix: no failable ObjC bridge object; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
NSUUID.init(uuidBytes:)
public convenience init(uuidBytes bytes: UnsafePointer<UInt8>?)
uuid-matrix: no pointer/byte-copy bridge; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
NSUUID.getBytes(_:)
open func getBytes(_ uuid: UnsafeMutablePointer<UInt8>)
uuid-matrix: no pointer/byte-copy bridge; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
NSUUID.compare(_:)
open func compare(_ otherUUID: UUID) -> ComparisonResult
uuid-matrix: no UUID comparison ordering; name-resolves only; no executable Foundation codegen.
iOS iOS 15.0macOS macOS 12.0
NSUUID.uuidString
open var uuidString: String { get }
uuid-matrix: no NSObject-backed bridge; name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8
NSObject.init()
public init()
Base NSObject ctor declared in ObjectiveC module, absent from Foundation dumps; no executable Foundation codegen.
iOSmacOS
NSObject.isEqual(_:)
func isEqual(_ object: Any?) -> Bool
Declared on NSObjectProtocol in ObjectiveC module, absent from Foundation dumps; no executable Foundation codegen.
iOSmacOS
NSObject.hash
var hash: Int { get }
Declared on NSObjectProtocol in ObjectiveC module, absent from Foundation dumps; no executable Foundation codegen.
iOSmacOS
NSObject.== (identity)
static func == (lhs: NSObject, rhs: NSObject) -> Bool
NSObject Equatable operator synthesized from isEqual; absent from Foundation dumps; no executable Foundation codegen.
iOSmacOS
NSObject.description (CustomStringConvertible)
extension NSObject : CustomStringConvertible {}
coverage.md: NSObject bridging not modeled; name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
NSObject.debugDescription (CustomDebugStringConvertible)
extension NSObject : CustomDebugStringConvertible {}
coverage.md: NSObject bridging not modeled; name-resolves only; no executable Foundation codegen.
iOS iOS 8.0macOS macOS 10.10
NSObject.version()
open class func version() -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.setVersion(_:)
open class func setVersion(_ aVersion: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.classForCoder
open var classForCoder: AnyClass { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.replacementObject(for:)
open func replacementObject(for coder: NSCoder) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.awakeAfter(using:)
open func awakeAfter(using coder: NSCoder) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.autoContentAccessingProxy
open var autoContentAccessingProxy: Any { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS all
NSObjectProtocol.copy()
func copy() -> Any
NSObject.copy() convenience declared in ObjectiveC module, absent from Foundation dumps; no executable Foundation codegen.
iOSmacOS
NSObjectProtocol
public protocol NSObjectProtocol
Protocol itself declared in ObjectiveC module; only referenced (not defined) in Foundation dumps; no executable Foundation codegen.
iOSmacOS
NSCopying.copy(with:)
func copy(with zone: NSZone? = nil) -> Any
coverage.md: NSCopying behavior not modeled; name-resolves only; no executable Foundation codegen.
iOS iOS 1.0macOS macOS 10.0
NSMutableCopying.mutableCopy(with:)
func mutableCopy(with zone: NSZone? = nil) -> Any
coverage.md: NSMutableCopying behavior not modeled; name-resolves only; no executable Foundation codegen.
iOS iOS 1.0macOS macOS 10.0
NSCoding.encode(with:)
func encode(with coder: NSCoder)
coverage.md: NSCoding/bridging not modeled; name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoding.init(coder:)
init?(coder: NSCoder)
coverage.md: NSCoding/bridging not modeled; name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSSecureCoding.supportsSecureCoding
static var supportsSecureCoding: Bool { get }
coverage.md: NSSecureCoding behavior not modeled; name-resolves only; no executable Foundation codegen.
iOS allmacOS all

14. Serialization / Coding

0·11·206
JSONEncoder.init()
public init()
Constructs a builtin JSONEncoder marker; strategy properties are not stored. Per serialization-stack-matrix yellow entry.
iOS allmacOS all
JSONEncoder.encode(_:)
open func encode<T>(_ value: T) throws -> Data where T : Encodable
Dispatches to generated <Type>.encodeToJSON for simple Codable-ish types; returns JSON string not Data, no general Encodable containers.
iOS allmacOS all
JSONEncoder.encode(_:configuration:)
open func encode<T>(_ value: T, configuration: T.EncodingConfiguration) throws -> Data where T : EncodableWithConfiguration
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
JSONEncoder.encode(_:configuration:) (provider)
open func encode<T, C>(_ value: T, configuration: C.Type) throws -> Data where T : EncodableWithConfiguration, C : EncodingConfigurationProviding
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
JSONEncoder.outputFormatting
open var outputFormatting: JSONEncoder.OutputFormatting
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.dateEncodingStrategy
open var dateEncodingStrategy: JSONEncoder.DateEncodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.dataEncodingStrategy
open var dataEncodingStrategy: JSONEncoder.DataEncodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.nonConformingFloatEncodingStrategy
open var nonConformingFloatEncodingStrategy: JSONEncoder.NonConformingFloatEncodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.keyEncodingStrategy
open var keyEncodingStrategy: JSONEncoder.KeyEncodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.userInfo
@preconcurrency open var userInfo: [CodingUserInfoKey : any Sendable]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.OutputFormatting.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.OutputFormatting.rawValue
public let rawValue: UInt
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.OutputFormatting.prettyPrinted
public static let prettyPrinted: JSONEncoder.OutputFormatting
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.OutputFormatting.sortedKeys
public static let sortedKeys: JSONEncoder.OutputFormatting
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
JSONEncoder.OutputFormatting.withoutEscapingSlashes
public static let withoutEscapingSlashes: JSONEncoder.OutputFormatting
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
JSONEncoder.DateEncodingStrategy.deferredToDate
case deferredToDate
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DateEncodingStrategy.secondsSince1970
case secondsSince1970
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DateEncodingStrategy.millisecondsSince1970
case millisecondsSince1970
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DateEncodingStrategy.iso8601
case iso8601
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
JSONEncoder.DateEncodingStrategy.formatted(_:)
case formatted(DateFormatter)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DateEncodingStrategy.custom(_:)
@preconcurrency case custom(@Sendable (Date, any Encoder) throws -> Void)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DataEncodingStrategy.deferredToData
case deferredToData
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DataEncodingStrategy.base64
case base64
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.DataEncodingStrategy.custom(_:)
@preconcurrency case custom(@Sendable (Data, any Encoder) throws -> Void)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.NonConformingFloatEncodingStrategy.throw
case `throw`
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.NonConformingFloatEncodingStrategy.convertToString
case convertToString(positiveInfinity: String, negativeInfinity: String, nan: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.KeyEncodingStrategy.useDefaultKeys
case useDefaultKeys
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.KeyEncodingStrategy.convertToSnakeCase
case convertToSnakeCase
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.KeyEncodingStrategy.custom(_:)
@preconcurrency case custom(@Sendable (_ codingPath: [any CodingKey]) -> any CodingKey)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONEncoder.Output (TopLevelEncoder)
public typealias Output = Data
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
JSONDecoder.init()
public init()
Constructs a builtin JSONDecoder marker; strategy properties are not stored. Per serialization-stack-matrix yellow entry.
iOS allmacOS all
JSONDecoder.decode(_:from:)
open func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
Dispatches to generated <Type>.decodeFromJSON; works only for simple flat field shapes; no general Decodable containers/strategies/throwing.
iOS allmacOS all
JSONDecoder.decode(_:from:configuration:)
open func decode<T>(_ type: T.Type, from data: Data, configuration: T.DecodingConfiguration) throws -> T where T : DecodableWithConfiguration
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
JSONDecoder.decode(_:from:configuration:) (provider)
open func decode<T, C>(_ type: T.Type, from data: Data, configuration: C.Type) throws -> T where T : DecodableWithConfiguration, C : DecodingConfigurationProviding
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
JSONDecoder.dateDecodingStrategy
open var dateDecodingStrategy: JSONDecoder.DateDecodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.dataDecodingStrategy
open var dataDecodingStrategy: JSONDecoder.DataDecodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.nonConformingFloatDecodingStrategy
open var nonConformingFloatDecodingStrategy: JSONDecoder.NonConformingFloatDecodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.keyDecodingStrategy
open var keyDecodingStrategy: JSONDecoder.KeyDecodingStrategy
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.userInfo
@preconcurrency open var userInfo: [CodingUserInfoKey : any Sendable]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.allowsJSON5
open var allowsJSON5: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
JSONDecoder.assumesTopLevelDictionary
open var assumesTopLevelDictionary: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
JSONDecoder.Input (TopLevelDecoder)
public typealias Input = Data
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
JSONDecoder.DateDecodingStrategy.deferredToDate
case deferredToDate
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DateDecodingStrategy.secondsSince1970
case secondsSince1970
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DateDecodingStrategy.millisecondsSince1970
case millisecondsSince1970
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DateDecodingStrategy.iso8601
case iso8601
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
JSONDecoder.DateDecodingStrategy.formatted(_:)
case formatted(DateFormatter)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DateDecodingStrategy.custom(_:)
@preconcurrency case custom(@Sendable (_ decoder: any Decoder) throws -> Date)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DataDecodingStrategy.deferredToData
case deferredToData
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DataDecodingStrategy.base64
case base64
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.DataDecodingStrategy.custom(_:)
@preconcurrency case custom(@Sendable (_ decoder: any Decoder) throws -> Data)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.NonConformingFloatDecodingStrategy.throw
case `throw`
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.NonConformingFloatDecodingStrategy.convertFromString
case convertFromString(positiveInfinity: String, negativeInfinity: String, nan: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.KeyDecodingStrategy.useDefaultKeys
case useDefaultKeys
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.KeyDecodingStrategy.convertFromSnakeCase
case convertFromSnakeCase
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
JSONDecoder.KeyDecodingStrategy.custom(_:)
@preconcurrency case custom(@Sendable (_ codingPath: [any CodingKey]) -> any CodingKey)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListEncoder.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListEncoder.encode(_:)
open func encode<Value>(_ value: Value) throws -> Data where Value : Encodable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListEncoder.encode(_:configuration:)
open func encode<T>(_ value: T, configuration: T.EncodingConfiguration) throws -> Data where T : EncodableWithConfiguration
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
PropertyListEncoder.encode(_:configuration:) (provider)
open func encode<T, C>(_ value: T, configuration: C.Type) throws -> Data where T : EncodableWithConfiguration, C : EncodingConfigurationProviding
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
PropertyListEncoder.outputFormat
open var outputFormat: PropertyListDecoder.PropertyListFormat
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListEncoder.userInfo
@preconcurrency open var userInfo: [CodingUserInfoKey : any Sendable]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListEncoder.Output (TopLevelEncoder)
public typealias Output = Data
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
PropertyListDecoder.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListDecoder.decode(_:from:)
open func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListDecoder.decode(_:from:format:)
open func decode<T>(_ type: T.Type, from data: Data, format: inout PropertyListDecoder.PropertyListFormat) throws -> T where T : Decodable
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListDecoder.decode(_:from:configuration:)
open func decode<T>(_ type: T.Type, from data: Data, configuration: T.DecodingConfiguration) throws -> T where T : DecodableWithConfiguration
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
PropertyListDecoder.decode(_:from:format:configuration:)
open func decode<T>(_ type: T.Type, from data: Data, format: inout PropertyListDecoder.PropertyListFormat, configuration: T.DecodingConfiguration) throws -> T where T : DecodableWithConfiguration
name-resolves only; no executable Foundation codegen.
iOS iOS 17macOS macOS 14
PropertyListDecoder.userInfo
@preconcurrency open var userInfo: [CodingUserInfoKey : any Sendable]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListDecoder.PropertyListFormat
public typealias PropertyListFormat = PropertyListSerialization.PropertyListFormat
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListDecoder.Input (TopLevelDecoder)
public typealias Input = Data
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
JSONSerialization.isValidJSONObject(_:)
open class func isValidJSONObject(_ obj: Any) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.data(withJSONObject:options:)
open class func data(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) throws -> Data
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.jsonObject(with:options:)
open class func jsonObject(with data: Data, options opt: JSONSerialization.ReadingOptions = []) throws -> Any
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.writeJSONObject(_:to:options:error:)
open class func writeJSONObject(_ obj: Any, to stream: OutputStream, options opt: JSONSerialization.WritingOptions = [], error: NSErrorPointer) -> Int
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.jsonObject(with:options:) (stream)
open class func jsonObject(with stream: InputStream, options opt: JSONSerialization.ReadingOptions = []) throws -> Any
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.ReadingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.ReadingOptions.mutableContainers
public static var mutableContainers: JSONSerialization.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.ReadingOptions.mutableLeaves
public static var mutableLeaves: JSONSerialization.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.ReadingOptions.fragmentsAllowed
public static var fragmentsAllowed: JSONSerialization.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.ReadingOptions.json5Allowed
public static var json5Allowed: JSONSerialization.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
JSONSerialization.ReadingOptions.topLevelDictionaryAssumed
public static var topLevelDictionaryAssumed: JSONSerialization.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS macOS 12
JSONSerialization.ReadingOptions.allowFragments
public static var allowFragments: JSONSerialization.ReadingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5 depmacOS macOS 10.7 dep
JSONSerialization.WritingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.WritingOptions.prettyPrinted
public static var prettyPrinted: JSONSerialization.WritingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.WritingOptions.sortedKeys
public static var sortedKeys: JSONSerialization.WritingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
JSONSerialization.WritingOptions.fragmentsAllowed
public static var fragmentsAllowed: JSONSerialization.WritingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5macOS macOS 10.7
JSONSerialization.WritingOptions.withoutEscapingSlashes
public static var withoutEscapingSlashes: JSONSerialization.WritingOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
PropertyListSerialization.propertyList(_:isValidFor:)
open class func propertyList(_ plist: Any, isValidFor format: PropertyListSerialization.PropertyListFormat) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListSerialization.data(fromPropertyList:format:options:)
open class func data(fromPropertyList plist: Any, format: PropertyListSerialization.PropertyListFormat, options opt: PropertyListSerialization.WriteOptions) throws -> Data
Converts supported value shapes to JSON text in Data; format/options ignored; no XML/binary plist bytes, no throwing. Per matrix.
iOS iOS 4macOS all
PropertyListSerialization.writePropertyList(_:to:format:options:error:)
open class func writePropertyList(_ plist: Any, to stream: OutputStream, format: PropertyListSerialization.PropertyListFormat, options opt: PropertyListSerialization.WriteOptions, error: NSErrorPointer) -> Int
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
PropertyListSerialization.propertyList(from:options:format:)
open class func propertyList(from data: Data, options opt: PropertyListSerialization.ReadOptions = [], format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?) throws -> Any
Parses JSON text from Data to a contextual mini value; options/format-out ignored; arbitrary Any trees unsupported; no throwing. Per matrix.
iOS iOS 4macOS all
PropertyListSerialization.propertyList(with:options:format:)
open class func propertyList(with stream: InputStream, options opt: PropertyListSerialization.ReadOptions = [], format: UnsafeMutablePointer<PropertyListSerialization.PropertyListFormat>?) throws -> Any
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS all
PropertyListSerialization.dataFromPropertyList(_:format:errorDescription:)
open class func dataFromPropertyList(_ plist: Any, format: PropertyListSerialization.PropertyListFormat, errorDescription errorString: UnsafeMutablePointer<NSString?>?) -> Data?
Deprecated; same JSON-in-Data bridge as data(fromPropertyList:); error description not populated. Per matrix.
iOS iOS 2 depmacOS dep
PropertyListSerialization.propertyListFromData(_:mutabilityOption:format:errorDescription:)
open class func propertyListFromData(_ data: Data, mutabilityOption opt: PropertyListSerialization.MutabilityOptions = [], format: UnsafeMutablePointer<...>?, errorDescription errorString: UnsafeMutablePointer<NSString?>?) -> Any?
Deprecated; same JSON-parse bridge as propertyList(from:); mutability/format-out/error unmodeled. Per matrix.
iOS iOS 2 depmacOS dep
PropertyListSerialization.PropertyListFormat.openStep
case openStep = 1
Lowered to integer constant 1; stored/accepted only, no behavior difference vs other cases. Per matrix.
iOS allmacOS all
PropertyListSerialization.PropertyListFormat.xml
case xml = 100
Lowered to integer constant; stored/accepted only; output is JSON text regardless of format. Per matrix.
iOS allmacOS all
PropertyListSerialization.PropertyListFormat.binary
case binary = 200
Lowered to integer constant; stored/accepted only; no binary plist bytes emitted. Per matrix.
iOS allmacOS all
PropertyListSerialization.MutabilityOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListSerialization.MutabilityOptions.mutableContainers
public static var mutableContainers: PropertyListSerialization.MutabilityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListSerialization.MutabilityOptions.mutableContainersAndLeaves
public static var mutableContainersAndLeaves: PropertyListSerialization.MutabilityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListSerialization.ReadOptions
public typealias ReadOptions = PropertyListSerialization.MutabilityOptions
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
PropertyListSerialization.WriteOptions
public typealias WriteOptions = Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.init(requiringSecureCoding:)
public init(requiringSecureCoding requiresSecureCoding: Bool)
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSKeyedArchiver.archivedData(withRootObject:requiringSecureCoding:)
open class func archivedData(withRootObject object: Any, requiringSecureCoding requiresSecureCoding: Bool) throws -> Data
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSKeyedArchiver.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 10 depmacOS macOS 10.12 dep
NSKeyedArchiver.init(forWritingWith:)
public init(forWritingWith data: NSMutableData)
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS 10.2 dep
NSKeyedArchiver.archivedData(withRootObject:)
open class func archivedData(withRootObject rootObject: Any) -> Data
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS 10.2 dep
NSKeyedArchiver.archiveRootObject(_:toFile:)
open class func archiveRootObject(_ rootObject: Any, toFile path: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS 10.2 dep
NSKeyedArchiver.delegate
unowned(unsafe) open var delegate: (any NSKeyedArchiverDelegate)?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.outputFormat
open var outputFormat: PropertyListSerialization.PropertyListFormat
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.encodedData
open var encodedData: Data { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 10macOS macOS 10.12
NSKeyedArchiver.finishEncoding()
open func finishEncoding()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.setClassName(_:for:) (class)
open class func setClassName(_ codedName: String?, for cls: AnyClass)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.setClassName(_:for:)
open func setClassName(_ codedName: String?, for cls: AnyClass)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.className(for:) (class)
open class func className(for cls: AnyClass) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.className(for:)
open func className(for cls: AnyClass) -> String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.encode(_:forKey:)
open func encode(_ object: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.encodeConditionalObject(_:forKey:)
open func encodeConditionalObject(_ object: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.encode(_:forKey:) (Bool)
open func encode(_ value: Bool, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.encodeBytes(_:length:forKey:)
open func encodeBytes(_ bytes: UnsafePointer<UInt8>?, length: Int, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiver.requiresSecureCoding
open var requiresSecureCoding: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS macOS 10.8
NSKeyedArchiver.encodeEncodable(_:forKey:)
@nonobjc public func encodeEncodable<T>(_ value: T, forKey key: String) throws where T : Encodable
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSKeyedUnarchiver.init(forReadingFrom:)
public init(forReadingFrom data: Data) throws
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSKeyedUnarchiver.unarchivedObject(ofClasses:from:)
open class func unarchivedObject(ofClasses classes: Set<AnyHashable>, from data: Data) throws -> Any
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSKeyedUnarchiver.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS dep
NSKeyedUnarchiver.init(forReadingWith:)
public init(forReadingWith data: Data)
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS dep
NSKeyedUnarchiver.unarchiveObject(with:)
open class func unarchiveObject(with data: Data) -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS dep
NSKeyedUnarchiver.unarchiveObject(withFile:)
open class func unarchiveObject(withFile path: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS dep
NSKeyedUnarchiver.delegate
unowned(unsafe) open var delegate: (any NSKeyedUnarchiverDelegate)?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.finishDecoding()
open func finishDecoding()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.setClass(_:forClassName:) (class)
open class func setClass(_ cls: AnyClass?, forClassName codedName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.setClass(_:forClassName:)
open func setClass(_ cls: AnyClass?, forClassName codedName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.class(forClassName:) (class)
open class func `class`(forClassName codedName: String) -> AnyClass?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.class(forClassName:)
open func `class`(forClassName codedName: String) -> AnyClass?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.containsValue(forKey:)
open func containsValue(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeObject(forKey:)
open func decodeObject(forKey key: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeBool(forKey:)
open func decodeBool(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeInt32(forKey:)
open func decodeInt32(forKey key: String) -> Int32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeInt64(forKey:)
open func decodeInt64(forKey key: String) -> Int64
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeFloat(forKey:)
open func decodeFloat(forKey key: String) -> Float
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeDouble(forKey:)
open func decodeDouble(forKey key: String) -> Double
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.decodeBytes(forKey:returnedLength:)
open func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedUnarchiver.requiresSecureCoding
open var requiresSecureCoding: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS macOS 10.8
NSKeyedUnarchiver.decodingFailurePolicy
open var decodingFailurePolicy: NSCoder.DecodingFailurePolicy
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(_:)
@nonobjc public class func unarchiveTopLevelObjectWithData(_ data: Data) throws -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 9 depmacOS macOS 10.11 dep
NSKeyedUnarchiver.unarchivedObject(ofClass:from:)
@nonobjc public static func unarchivedObject<T>(ofClass cls: T.Type, from data: Data) throws -> T? where T : NSObject, T : NSCoding
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSKeyedUnarchiver.unarchivedObject(ofClasses:from:) (array)
@nonobjc public static func unarchivedObject(ofClasses classes: [AnyClass], from data: Data) throws -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSKeyedUnarchiver.decodeDecodable(_:forKey:)
@nonobjc public func decodeDecodable<T>(_ type: T.Type, forKey key: String) -> T? where T : Decodable
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSKeyedUnarchiver.decodeTopLevelDecodable(_:forKey:)
@nonobjc public func decodeTopLevelDecodable<T>(_ type: T.Type, forKey key: String) throws -> T? where T : Decodable
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSKeyedUnarchiver.unarchivedArrayOfObjects(ofClass:from:)
@nonobjc public static func unarchivedArrayOfObjects<T>(ofClass cls: T.Type, from data: Data) throws -> [T]? where T : NSObject, T : NSSecureCoding
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSKeyedUnarchiver.unarchivedArrayOfObjects(ofClasses:from:)
@nonobjc public static func unarchivedArrayOfObjects(ofClasses classes: [AnyClass], from data: Data) throws -> [Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSKeyedUnarchiver.unarchivedDictionary(ofKeyClass:objectClass:from:)
@nonobjc public static func unarchivedDictionary<K, V>(ofKeyClass keyClass: K.Type, objectClass: V.Type, from data: Data) throws -> [K : V]?
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSKeyedUnarchiver.unarchivedDictionary(keysOfClasses:objectsOfClasses:from:)
@nonobjc public static func unarchivedDictionary(keysOfClasses keyClasses: [AnyClass], objectsOfClasses objectClasses: [AnyClass], from data: Data) throws -> [AnyHashable : Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSCoder.encodeValue(ofObjCType:at:)
open func encodeValue(ofObjCType type: UnsafePointer<CChar>, at addr: UnsafeRawPointer)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:) (Data)
open func encode(_ data: Data)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeData()
open func decodeData() -> Data?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeValue(ofObjCType:at:size:)
open func decodeValue(ofObjCType type: UnsafePointer<CChar>, at data: UnsafeMutableRawPointer, size: Int)
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
NSCoder.version(forClassName:)
open func version(forClassName className: String) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeObject(of:forKey:)
public func decodeObject<T>(of cls: T.Type, forKey key: String) -> T? where T : NSObject, T : NSCoding
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeObject(of:forKey:) (classes)
@nonobjc public func decodeObject(of classes: [AnyClass]?, forKey key: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeTopLevelObject()
@nonobjc public func decodeTopLevelObject() throws -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 9 depmacOS macOS 10.11 dep
NSCoder.decodeTopLevelObject(forKey:)
@nonobjc public func decodeTopLevelObject(forKey key: String) throws -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 9 depmacOS macOS 10.11 dep
NSCoder.decodeTopLevelObject(of:forKey:)
public func decodeTopLevelObject<T>(of cls: T.Type, forKey key: String) throws -> T? where T : NSObject, T : NSCoding
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSCoder.decodeTopLevelObject(of:forKey:) (classes)
@nonobjc public func decodeTopLevelObject(of classes: [AnyClass]?, forKey key: String) throws -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSCoder.decodeArrayOfObjects(ofClass:forKey:)
@nonobjc public func decodeArrayOfObjects<T>(ofClass cls: T.Type, forKey key: String) -> [T]? where T : NSObject, T : NSSecureCoding
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSCoder.decodeArrayOfObjects(ofClasses:forKey:)
@nonobjc public func decodeArrayOfObjects(ofClasses classes: [AnyClass], forKey key: String) -> [Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSCoder.decodeDictionary(withKeyClass:objectClass:forKey:)
@nonobjc public func decodeDictionary<K, V>(withKeyClass keyClass: K.Type, objectClass: V.Type, forKey key: String) -> [K : V]?
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSCoder.decodeDictionary(withKeysOfClasses:objectsOfClasses:forKey:)
@nonobjc public func decodeDictionary(withKeysOfClasses keyClasses: [AnyClass], objectsOfClasses classes: [AnyClass], forKey key: String) -> [AnyHashable : Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
NSCoder.encode(_:) (object)
open func encode(_ object: Any?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeRootObject(_:)
open func encodeRootObject(_ rootObject: Any)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeBycopyObject(_:)
open func encodeBycopyObject(_ anObject: Any?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeByrefObject(_:)
open func encodeByrefObject(_ anObject: Any?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeConditionalObject(_:)
open func encodeConditionalObject(_ object: Any?)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeArray(ofObjCType:count:at:)
open func encodeArray(ofObjCType type: UnsafePointer<CChar>, count: Int, at array: UnsafeRawPointer)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeBytes(_:length:)
open func encodeBytes(_ byteaddr: UnsafeRawPointer?, length: Int)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeObject()
open func decodeObject() -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeArray(ofObjCType:count:at:)
open func decodeArray(ofObjCType itemType: UnsafePointer<CChar>, count: Int, at array: UnsafeMutableRawPointer)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeBytes(withReturnedLength:)
open func decodeBytes(withReturnedLength lengthp: UnsafeMutablePointer<Int>) -> UnsafeMutableRawPointer?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.systemVersion
open var systemVersion: UInt32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.allowsKeyedCoding
open var allowsKeyedCoding: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:forKey:) (object)
open func encode(_ object: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeConditionalObject(_:forKey:)
open func encodeConditionalObject(_ object: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:forKey:) (Bool)
open func encode(_ value: Bool, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeCInt(_:forKey:)
open func encodeCInt(_ value: Int32, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:forKey:) (Int32)
open func encode(_ value: Int32, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:forKey:) (Int64)
open func encode(_ value: Int64, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:forKey:) (Float)
open func encode(_ value: Float, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encode(_:forKey:) (Double)
open func encode(_ value: Double, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.encodeBytes(_:length:forKey:)
open func encodeBytes(_ bytes: UnsafePointer<UInt8>?, length: Int, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.containsValue(forKey:)
open func containsValue(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeObject(forKey:)
open func decodeObject(forKey key: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeBool(forKey:)
open func decodeBool(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeCInt(forKey:)
open func decodeCInt(forKey key: String) -> Int32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeInt32(forKey:)
open func decodeInt32(forKey key: String) -> Int32
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeInt64(forKey:)
open func decodeInt64(forKey key: String) -> Int64
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeFloat(forKey:)
open func decodeFloat(forKey key: String) -> Float
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeDouble(forKey:)
open func decodeDouble(forKey key: String) -> Double
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeBytes(forKey:returnedLength:)
open func decodeBytes(forKey key: String, returnedLength lengthp: UnsafeMutablePointer<Int>?) -> UnsafePointer<UInt8>?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeBytes(withMinimumLength:)
open func decodeBytes(withMinimumLength length: Int) -> UnsafeMutableRawPointer?
name-resolves only; no executable Foundation codegen.
iOS iOS 18.4macOS macOS 15.4
NSCoder.decodeBytes(forKey:minimumLength:)
open func decodeBytes(forKey key: String, minimumLength length: Int) -> UnsafePointer<UInt8>?
name-resolves only; no executable Foundation codegen.
iOS iOS 18.4macOS macOS 15.4
NSCoder.encode(_:forKey:) (Int)
open func encode(_ value: Int, forKey key: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.decodeInteger(forKey:)
open func decodeInteger(forKey key: String) -> Int
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSCoder.requiresSecureCoding
open var requiresSecureCoding: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS macOS 10.8
NSCoder.decodePropertyList(forKey:)
open func decodePropertyList(forKey key: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS macOS 10.8
NSCoder.allowedClasses
open var allowedClasses: Set<AnyHashable>? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 6macOS macOS 10.8
NSCoder.failWithError(_:)
open func failWithError(_ error: any Error)
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSCoder.decodingFailurePolicy
open var decodingFailurePolicy: NSCoder.DecodingFailurePolicy { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSCoder.error
open var error: (any Error)? { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSCoder.decodeValue(ofObjCType:at:) (deprecated)
open func decodeValue(ofObjCType type: UnsafePointer<CChar>, at data: UnsafeMutableRawPointer)
name-resolves only; no executable Foundation codegen.
iOS iOS 2 depmacOS macOS dep
NSCoder.DecodingFailurePolicy.raiseException
case raiseException = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSCoder.DecodingFailurePolicy.setErrorAndReturn
case setErrorAndReturn = 1
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
NSObject.classForKeyedArchiver
open var classForKeyedArchiver: AnyClass? { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.replacementObject(for:)
open func replacementObject(for archiver: NSKeyedArchiver) -> Any?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.classFallbacksForKeyedArchiver()
open class func classFallbacksForKeyedArchiver() -> [String]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSObject.classForKeyedUnarchiver()
open class func classForKeyedUnarchiver() -> AnyClass
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSKeyedArchiveRootObjectKey
public let NSKeyedArchiveRootObjectKey: String
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9

15. UserDefaults / preferences

0·17·64
UserDefaults.standard
open class var standard: UserDefaults { get }
Recognized only as the UserDefaults.standard.method(...) direct-call pattern; binding 'let d = UserDefaults.standard' unsupported.
iOS allmacOS all
UserDefaults.resetStandardUserDefaults()
open class func resetStandardUserDefaults()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.init()
public convenience init()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.init(suiteName:)
public init?(suiteName suitename: String?)
name-resolves only; no executable Foundation codegen.
iOS iOS 7.0macOS macOS 10.9
UserDefaults.object(forKey:)
open func object(forKey defaultName: String) -> Any?
Contextual typed retrieval for String/Data/Date/arrays/dicts/scalars; no true Any? nil, returns concrete fallback for missing keys.
iOS allmacOS all
UserDefaults.set(_:forKey:) [Any?]
open func set(_ value: Any?, forKey defaultName: String)
Scalar/Data/Date/array/dict subset via host kv bridge; no nil-removal, no arbitrary property-list Any bridging.
iOS allmacOS all
UserDefaults.removeObject(forKey:)
open func removeObject(forKey defaultName: String)
Maps to __ud_remove; deletes key from host map. Missing-key removal is silent.
iOS allmacOS all
UserDefaults.string(forKey:)
open func string(forKey defaultName: String) -> String?
Returns stored string or empty string; no nil for missing key, no NSNumber->String conversion.
iOS allmacOS all
UserDefaults.array(forKey:)
open func array(forKey defaultName: String) -> [Any]?
Contextual typed array pointer, same-process only; defaults to [Int] shape; no nil, no type validation.
iOS allmacOS all
UserDefaults.dictionary(forKey:)
open func dictionary(forKey defaultName: String) -> [String : Any]?
Contextual typed dict pointer, same-process only; defaults to [String:Int]; no nil, no validation.
iOS allmacOS all
UserDefaults.data(forKey:)
open func data(forKey defaultName: String) -> Data?
Reads string and base64-decodes to Data; missing key decodes to empty Data, not nil.
iOS allmacOS all
UserDefaults.stringArray(forKey:)
open func stringArray(forKey defaultName: String) -> [String]?
[String] pointer retrieval, same-process only; no runtime check elements are strings, no nil.
iOS allmacOS all
UserDefaults.integer(forKey:)
open func integer(forKey defaultName: String) -> Int
Parses stored decimal text or returns 0; missing/removed path returns 0, not all NSNumber/NSString conversions.
iOS allmacOS all
UserDefaults.float(forKey:)
open func float(forKey defaultName: String) -> Float
Reads int bridge and casts; fractional values lost since stored via integer bridge.
iOS allmacOS all
UserDefaults.double(forKey:)
open func double(forKey defaultName: String) -> Double
Retrieves int bridge and casts to double; stored doubles not preserved as true doubles.
iOS allmacOS all
UserDefaults.bool(forKey:)
open func bool(forKey defaultName: String) -> Bool
True only for 'true' or '1'; does not implement all NSNumber/NSString bool conversions.
iOS allmacOS all
UserDefaults.url(forKey:)
open func url(forKey defaultName: String) -> URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
UserDefaults.set(_:forKey:) [Int]
open func set(_ value: Int, forKey defaultName: String)
Maps to __ud_set_int storing decimal text; other integer-like values fall through int bridge.
iOS allmacOS all
UserDefaults.set(_:forKey:) [Float]
open func set(_ value: Float, forKey defaultName: String)
Falls through int bridge; fractional value not preserved.
iOS allmacOS all
UserDefaults.set(_:forKey:) [Double]
open func set(_ value: Double, forKey defaultName: String)
Falls through int bridge; fractional double storage not preserved (Date avoids this via ms scaling).
iOS allmacOS all
UserDefaults.set(_:forKey:) [Bool]
open func set(_ value: Bool, forKey defaultName: String)
Maps to __ud_set_bool storing 'true'/'false'; covered by scalar smoke test.
iOS allmacOS all
UserDefaults.set(_:forKey:) [URL?]
open func set(_ url: URL?, forKey defaultName: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 4.0macOS macOS 10.6
UserDefaults.register(defaults:)
open func register(defaults registrationDictionary: [String : Any])
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.addSuite(named:)
open func addSuite(named suiteName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.removeSuite(named:)
open func removeSuite(named suiteName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.dictionaryRepresentation()
open func dictionaryRepresentation() -> [String : Any]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.volatileDomainNames
open var volatileDomainNames: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.volatileDomain(forName:)
open func volatileDomain(forName domainName: String) -> [String : Any]
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.setVolatileDomain(_:forName:)
open func setVolatileDomain(_ domain: [String : Any], forName domainName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.removeVolatileDomain(forName:)
open func removeVolatileDomain(forName domainName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.persistentDomain(forName:)
open func persistentDomain(forName domainName: String) -> [String : Any]?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.setPersistentDomain(_:forName:)
open func setPersistentDomain(_ domain: [String : Any], forName domainName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.removePersistentDomain(forName:)
open func removePersistentDomain(forName domainName: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.synchronize()
open func synchronize() -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.objectIsForced(forKey:)
open func objectIsForced(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.objectIsForced(forKey:inDomain:)
open func objectIsForced(forKey key: String, inDomain domain: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.sizeLimitExceededNotification
public class let sizeLimitExceededNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 9.3macOS
UserDefaults.noCloudAccountNotification
public class let noCloudAccountNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 9.3 depmacOS
UserDefaults.didChangeCloudAccountsNotification
public class let didChangeCloudAccountsNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 9.3 depmacOS
UserDefaults.completedInitialCloudSyncNotification
public class let completedInitialCloudSyncNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 9.3 depmacOS
UserDefaults.didChangeNotification
public class let didChangeNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.globalDomain
public class let globalDomain: String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.argumentDomain
public class let argumentDomain: String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.registrationDomain
public class let registrationDomain: String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
UserDefaults.DidChangeMessage
public struct DidChangeMessage : NotificationCenter.AsyncMessage
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.DidChangeMessage.name
public static var name: Notification.Name { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.DidChangeMessage.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.DidChangeMessage.makeMessage(_:)
public static func makeMessage(_ notification: Notification) -> UserDefaults.DidChangeMessage?
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.SizeLimitExceededMessage
public struct SizeLimitExceededMessage : NotificationCenter.MainActorMessage, Sendable
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.SizeLimitExceededMessage.name
public static var name: Notification.Name { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.SizeLimitExceededMessage.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
UserDefaults.SizeLimitExceededMessage.makeMessage(_:)
@MainActor public static func makeMessage(_ notification: Notification) -> UserDefaults.SizeLimitExceededMessage?
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
NSUserDefaults
typealias/legacy ObjC name for UserDefaults (imported via Foundation.NSUserDefaults)
name-resolves only; no executable Foundation codegen. Old name; surface is the UserDefaults class above.
iOS allmacOS all
NSUbiquitousKeyValueStore
open class NSUbiquitousKeyValueStore : NSObject
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.default
open class var `default`: NSUbiquitousKeyValueStore { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.object(forKey:)
open func object(forKey aKey: String) -> Any?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [Any?]
open func set(_ anObject: Any?, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.removeObject(forKey:)
open func removeObject(forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.string(forKey:)
open func string(forKey aKey: String) -> String?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.array(forKey:)
open func array(forKey aKey: String) -> [Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.dictionary(forKey:)
open func dictionary(forKey aKey: String) -> [String : Any]?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.data(forKey:)
open func data(forKey aKey: String) -> Data?
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.longLong(forKey:)
open func longLong(forKey aKey: String) -> Int64
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.double(forKey:)
open func double(forKey aKey: String) -> Double
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.bool(forKey:)
open func bool(forKey aKey: String) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [String?]
open func set(_ aString: String?, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [Data?]
open func set(_ aData: Data?, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [[Any]?]
open func set(_ anArray: [Any]?, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [[String:Any]?]
open func set(_ aDictionary: [String : Any]?, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [Int64]
open func set(_ value: Int64, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [Double]
open func set(_ value: Double, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.set(_:forKey:) [Bool]
open func set(_ value: Bool, forKey aKey: String)
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.dictionaryRepresentation
open var dictionaryRepresentation: [String : Any] { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.synchronize()
open func synchronize() -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStore.didChangeExternallyNotification
public class let didChangeExternallyNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStoreChangeReasonKey
public let NSUbiquitousKeyValueStoreChangeReasonKey: String
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStoreChangedKeysKey
public let NSUbiquitousKeyValueStoreChangedKeysKey: String
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStoreServerChange
public var NSUbiquitousKeyValueStoreServerChange: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStoreInitialSyncChange
public var NSUbiquitousKeyValueStoreInitialSyncChange: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStoreQuotaViolationChange
public var NSUbiquitousKeyValueStoreQuotaViolationChange: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 5.0macOS macOS 10.7
NSUbiquitousKeyValueStoreAccountChange
public var NSUbiquitousKeyValueStoreAccountChange: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 6.0macOS macOS 10.8

16. Notifications / KVO / NSObject runtime

0·0·129
NotificationCenter.default
open class var `default`: NotificationCenter { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.addObserver(_:selector:name:object:)
open func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.post(_:)
open func post(_ notification: Notification)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.post(name:object:)
open func post(name aName: NSNotification.Name, object anObject: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.post(name:object:userInfo:)
open func post(name aName: NSNotification.Name, object anObject: Any?, userInfo aUserInfo: [AnyHashable : Any]? = nil)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.removeObserver(_:)
open func removeObserver(_ observer: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.removeObserver(_:name:object:)
open func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationCenter.addObserver(forName:object:queue:using:)
open func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, using block: @escaping @Sendable (Notification) -> Void) -> any NSObjectProtocol
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
NotificationCenter.notifications(named:object:)
@preconcurrency public func notifications(named name: Notification.Name, object: (any AnyObject & Sendable)? = nil) -> NotificationCenter.Notifications
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
NotificationCenter.Notifications.makeAsyncIterator()
final public func makeAsyncIterator() -> NotificationCenter.Notifications.Iterator
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
NotificationCenter.Notifications.Iterator.next()
public func next() async -> Notification?
name-resolves only; no executable Foundation codegen
iOS iOS 15macOS macOS 12
NotificationCenter.publisher(for:object:)
public func publisher(for name: Notification.Name, object: AnyObject? = nil) -> NotificationCenter.Publisher
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NotificationCenter.Publisher.init(center:name:object:)
public init(center: NotificationCenter, name: Notification.Name, object: AnyObject? = nil)
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NotificationCenter.Publisher.center
public let center: NotificationCenter
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NotificationCenter.Publisher.name
public let name: Notification.Name
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NotificationCenter.Publisher.object
public let object: AnyObject?
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NotificationCenter.Publisher.receive(subscriber:)
public func receive<S>(subscriber: S) where S : Subscriber, S.Failure == Never, S.Input == Notification
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
NotificationCenter.addObserver(of:for:using:) [AsyncMessage,subject]
public func addObserver<Identifier, Message>(of subject: Message.Subject, for identifier: Identifier, using observer: @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.addObserver(of:for:using:) [AsyncMessage,type]
public func addObserver<Identifier, Message>(of subject: Message.Subject.Type, for identifier: Identifier, using observer: @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.addObserver(of:for:using:) [AsyncMessage,msgType]
public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.post(_:subject:) [AsyncMessage]
public func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.AsyncMessage
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.post(_:) [AsyncMessage]
public func post<Message>(_ message: Message) where Message : NotificationCenter.AsyncMessage
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.messages(of:for:bufferSize:) [AsyncMessage]
public func messages<Identifier, Message>(of subject: Message.Subject, for identifier: Identifier, bufferSize limit: Int = 10) -> some Sendable & AsyncSequence<Message, Never>
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.messages(of:for:bufferSize:) [type]
public func messages<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, bufferSize limit: Int = 10) -> some Sendable & AsyncSequence<Message, Never>
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.addObserver(of:for:using:) [MainActorMessage,subject]
public func addObserver<Identifier, Message>(of subject: Message.Subject, for identifier: Identifier, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.addObserver(of:for:using:) [MainActorMessage,msgType]
public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.post(_:subject:) [MainActorMessage]
@MainActor public func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.MainActorMessage
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.post(_:) [MainActorMessage]
@MainActor public func post<Message>(_ message: Message) where Message : NotificationCenter.MainActorMessage
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.removeObserver(_:) [ObservationToken]
public func removeObserver(_ token: NotificationCenter.ObservationToken)
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.ObservationToken
public struct ObservationToken : Hashable, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.AsyncMessage.name
static var name: Notification.Name { get }
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.AsyncMessage.makeMessage(_:)
static func makeMessage(_ notification: Notification) -> Self?
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.AsyncMessage.makeNotification(_:)
static func makeNotification(_ message: Self) -> Notification
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.MainActorMessage.makeMessage(_:)
@MainActor static func makeMessage(_ notification: Notification) -> Self?
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.MainActorMessage.makeNotification(_:)
@MainActor static func makeNotification(_ message: Self) -> Notification
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.BaseMessageIdentifier.init() [MainActorMessage]
public init() where MessageType : NotificationCenter.MainActorMessage
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
NotificationCenter.BaseMessageIdentifier.init() [AsyncMessage]
public init() where MessageType : NotificationCenter.AsyncMessage
name-resolves only; no executable Foundation codegen
iOS iOS 26macOS macOS 26
Notification.init(name:object:userInfo:)
public init(name: Notification.Name, object: Any? = nil, userInfo: [AnyHashable : Any]? = nil)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.name
public var name: Notification.Name
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.object
public var object: Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.userInfo
public var userInfo: [AnyHashable : Any]?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.hash(into:)
public func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.debugDescription
public var debugDescription: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.==(_:_:)
public static func == (lhs: Notification, rhs: Notification) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.hashValue
public var hashValue: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.Name (typealias of NSNotification.Name)
public typealias Name = NSNotification.Name
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Notification.customMirror
public var customMirror: Mirror { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.Name.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.Name.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.name
open var name: NSNotification.Name { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.object
open var object: Any? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.userInfo
open var userInfo: [AnyHashable : Any]? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.init(name:object:userInfo:)
public init(name: NSNotification.Name, object: Any?, userInfo: [AnyHashable : Any]? = nil)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
NSNotification.init(coder:)
public init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSNotification.init(name:object:)
public convenience init(name aName: NSNotification.Name, object anObject: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.default
open class var `default`: NotificationQueue { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.init(notificationCenter:)
public init(notificationCenter: NotificationCenter)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.enqueue(_:postingStyle:)
open func enqueue(_ notification: Notification, postingStyle: NotificationQueue.PostingStyle)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.enqueue(_:postingStyle:coalesceMask:forModes:)
open func enqueue(_ notification: Notification, postingStyle: NotificationQueue.PostingStyle, coalesceMask: NotificationQueue.NotificationCoalescing, forModes modes: [RunLoop.Mode]?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.dequeueNotifications(matching:coalesceMask:)
open func dequeueNotifications(matching notification: Notification, coalesceMask: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.PostingStyle (whenIdle/asap/now)
public enum PostingStyle : UInt { case whenIdle = 1; case asap = 2; case now = 3 }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.NotificationCoalescing.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NotificationQueue.NotificationCoalescing (none/onName/onSender)
public static var none/onName/onSender: NotificationQueue.NotificationCoalescing { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.value(forKey:)
open func value(forKey key: String) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.setValue(_:forKey:)
open func setValue(_ value: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.value(forKeyPath:)
open func value(forKeyPath keyPath: String) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.setValue(_:forKeyPath:)
open func setValue(_ value: Any?, forKeyPath keyPath: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.value(forUndefinedKey:)
open func value(forUndefinedKey key: String) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.setValue(_:forUndefinedKey:)
open func setValue(_ value: Any?, forUndefinedKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.setNilValueForKey(_:)
open func setNilValueForKey(_ key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.dictionaryWithValues(forKeys:)
open func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.setValuesForKeys(_:)
open func setValuesForKeys(_ keyedValues: [String : Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.validateValue(_:forKey:)
open func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.validateValue(_:forKeyPath:)
open func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.mutableArrayValue(forKey:)
open func mutableArrayValue(forKey key: String) -> NSMutableArray
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.mutableArrayValue(forKeyPath:)
open func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.mutableOrderedSetValue(forKey:)
open func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS all
NSObject.mutableOrderedSetValue(forKeyPath:)
open func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS all
NSObject.mutableSetValue(forKey:)
open func mutableSetValue(forKey key: String) -> NSMutableSet
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.mutableSetValue(forKeyPath:)
open func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.accessInstanceVariablesDirectly
open class var accessInstanceVariablesDirectly: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.addObserver(_:forKeyPath:options:context:)
open func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options: NSKeyValueObservingOptions = [], context: UnsafeMutableRawPointer?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.removeObserver(_:forKeyPath:context:)
open func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context: UnsafeMutableRawPointer?)
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS all
NSObject.removeObserver(_:forKeyPath:)
open func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.observeValue(forKeyPath:of:change:context:)
open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.willChangeValue(forKey:)
open func willChangeValue(forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.didChangeValue(forKey:)
open func didChangeValue(forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.willChange(_:valuesAt:forKey:)
open func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.didChange(_:valuesAt:forKey:)
open func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.willChangeValue(forKey:withSetMutation:using:)
open func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.didChangeValue(forKey:withSetMutation:using:)
open func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.keyPathsForValuesAffectingValue(forKey:)
open class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSObject.automaticallyNotifiesObservers(forKey:)
open class func automaticallyNotifiesObservers(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.observationInfo
open var observationInfo: UnsafeMutableRawPointer?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueObservation.invalidate()
@objc public func invalidate()
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservedChange.kind
public let kind: NSKeyValueObservedChange<Value>.Kind
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservedChange.newValue
public let newValue: Value?
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservedChange.oldValue
public let oldValue: Value?
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservedChange.indexes
public let indexes: IndexSet?
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservedChange.isPrior
public let isPrior: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservedChange.Kind (typealias)
public typealias Kind = NSKeyValueChange
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservingCustomization.keyPathsAffectingValue(for:)
static func keyPathsAffectingValue(for key: AnyKeyPath) -> Set<AnyKeyPath>
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservingCustomization.automaticallyNotifiesObservers(for:)
static func automaticallyNotifiesObservers(for key: AnyKeyPath) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSKeyValueObservingOptions.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueObservingOptions.new
public static var new: NSKeyValueObservingOptions { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueObservingOptions.old
public static var old: NSKeyValueObservingOptions { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueObservingOptions.initial
public static var initial: NSKeyValueObservingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSKeyValueObservingOptions.prior
public static var prior: NSKeyValueObservingOptions { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSKeyValueChange (setting/insertion/removal/replacement)
public enum NSKeyValueChange : UInt { case setting=1; insertion=2; removal=3; replacement=4 }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueSetMutationKind (union/minus/intersect/set)
public enum NSKeyValueSetMutationKind : UInt { case union=1; minus=2; intersect=3; set=4 }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueChangeKey.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueChangeKey.kindKey
public static let kindKey: NSKeyValueChangeKey
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueChangeKey.newKey
public static let newKey: NSKeyValueChangeKey
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueChangeKey.oldKey
public static let oldKey: NSKeyValueChangeKey
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueChangeKey.indexesKey
public static let indexesKey: NSKeyValueChangeKey
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueChangeKey.notificationIsPriorKey
public static let notificationIsPriorKey: NSKeyValueChangeKey
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSKeyValueOperator.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSKeyValueOperator (avg/count/distinctUnion/min/max/sum/union operators)
public static let averageKeyValueOperator/...: NSKeyValueOperator
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.value(forKey:)
open func value(forKey key: String) -> Any
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.setValue(_:forKey:)
open func setValue(_ value: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.addObserver(_:toObjectsAt:forKeyPath:options:context:)
open func addObserver(_ observer: NSObject, toObjectsAt indexes: IndexSet, forKeyPath keyPath: String, options: NSKeyValueObservingOptions = [], context: UnsafeMutableRawPointer?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSArray.removeObserver(_:fromObjectsAt:forKeyPath:context:)
open func removeObserver(_ observer: NSObject, fromObjectsAt indexes: IndexSet, forKeyPath keyPath: String, context: UnsafeMutableRawPointer?)
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS all
NSDictionary.value(forKey:)
open func value(forKey key: String) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMutableDictionary.setValue(_:forKey:)
open func setValue(_ value: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.value(forKey:)
open func value(forKey key: String) -> Any
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSet.setValue(_:forKey:)
open func setValue(_ value: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSOrderedSet.value(forKey:)
open func value(forKey key: String) -> Any
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS all
NSOrderedSet.setValue(_:forKey:)
open func setValue(_ value: Any?, forKey key: String)
name-resolves only; no executable Foundation codegen
iOS iOS 5.0macOS all

17. Concurrency / threading / timers / run loop

0·0·179
Operation.start()
open func start()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.main()
open func main()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.isCancelled
open var isCancelled: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.cancel()
open func cancel()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.isExecuting
open var isExecuting: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.isFinished
open var isFinished: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.isConcurrent
open var isConcurrent: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.isAsynchronous
open var isAsynchronous: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.8
Operation.isReady
open var isReady: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.addDependency(_:)
open func addDependency(_ op: Operation)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.removeDependency(_:)
open func removeDependency(_ op: Operation)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.dependencies
open var dependencies: [Operation] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.queuePriority
open var queuePriority: Operation.QueuePriority
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Operation.completionBlock
open var completionBlock: (@Sendable () -> Void)?
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
Operation.waitUntilFinished()
open func waitUntilFinished()
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
Operation.threadPriority
open var threadPriority: Double
name-resolves only; no executable Foundation codegen
iOS iOS 4.0 deprecated 8.0macOS macOS 10.6 deprecated 10.10
Operation.qualityOfService
open var qualityOfService: QualityOfService
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
Operation.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
Operation.QueuePriority
public enum QueuePriority : Int { case veryLow=-8, low=-4, normal=0, high=4, veryHigh=8 }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
BlockOperation.init(block:)
public convenience init(block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
BlockOperation.addExecutionBlock(_:)
open func addExecutionBlock(_ block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
BlockOperation.executionBlocks
open var executionBlocks: [@Sendable @convention(block) () -> Void] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
OperationQueue.defaultMaxConcurrentOperationCount
public class var defaultMaxConcurrentOperationCount: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
OperationQueue.progress
open var progress: Progress { get }
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
OperationQueue.addOperation(_:)
open func addOperation(_ op: Operation)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
OperationQueue.addOperations(_:waitUntilFinished:)
open func addOperations(_ ops: [Operation], waitUntilFinished wait: Bool)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
OperationQueue.addOperation(_:) block
open func addOperation(_ block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
OperationQueue.addBarrierBlock(_:)
open func addBarrierBlock(_ barrier: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
OperationQueue.maxConcurrentOperationCount
open var maxConcurrentOperationCount: Int
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
OperationQueue.isSuspended
open var isSuspended: Bool
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
OperationQueue.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
OperationQueue.qualityOfService
open var qualityOfService: QualityOfService
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
OperationQueue.underlyingQueue
unowned(unsafe) open var underlyingQueue: dispatch_queue_t?
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
OperationQueue.cancelAllOperations()
open func cancelAllOperations()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
OperationQueue.waitUntilAllOperationsAreFinished()
open func waitUntilAllOperationsAreFinished()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
OperationQueue.current
open class var current: OperationQueue? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
OperationQueue.main
open class var main: OperationQueue { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
OperationQueue.SchedulerTimeType
public struct SchedulerTimeType : Strideable, Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
Thread.current
open class var current: Thread { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.detachNewThread(_:)
open class func detachNewThread(_ block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
Thread.detachNewThreadSelector(_:toTarget:with:)
open class func detachNewThreadSelector(_ selector: Selector, toTarget target: Any, with argument: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.isMultiThreaded()
open class func isMultiThreaded() -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.threadDictionary
open var threadDictionary: NSMutableDictionary { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.sleep(until:)
open class func sleep(until date: Date)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.sleep(forTimeInterval:)
open class func sleep(forTimeInterval ti: TimeInterval)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.exit()
open class func exit()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.threadPriority()
open class func threadPriority() -> Double
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.setThreadPriority(_:)
open class func setThreadPriority(_ p: Double) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Thread.threadPriority (instance)
open var threadPriority: Double
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
Thread.qualityOfService
open var qualityOfService: QualityOfService
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
Thread.callStackReturnAddresses
open class var callStackReturnAddresses: [NSNumber] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.callStackSymbols
open class var callStackSymbols: [String] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS macOS 10.6
Thread.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.stackSize
open var stackSize: Int
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.isMainThread (instance)
open var isMainThread: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.isMainThread (class)
open class var isMainThread: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.main
open class var main: Thread { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.init()
public init()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.init(target:selector:object:)
public convenience init(target: Any, selector: Selector, object argument: Any?)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.init(block:)
public convenience init(block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
Thread.isExecuting
open var isExecuting: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.isFinished
open var isFinished: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.isCancelled
open var isCancelled: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.cancel()
open func cancel()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.start()
open func start()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Thread.main() (instance)
open func main()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
Timer.init(timeInterval:invocation:repeats:)
init(timeInterval ti: TimeInterval, invocation: NSInvocation, repeats yesOrNo: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.scheduledTimer(timeInterval:invocation:repeats:)
open class func scheduledTimer(timeInterval ti: TimeInterval, invocation: NSInvocation, repeats yesOrNo: Bool) -> Timer
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.init(timeInterval:target:selector:userInfo:repeats:)
init(timeInterval ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo: Any?, repeats yesOrNo: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.scheduledTimer(timeInterval:target:selector:userInfo:repeats:)
open class func scheduledTimer(timeInterval ti: TimeInterval, target aTarget: Any, selector aSelector: Selector, userInfo: Any?, repeats yesOrNo: Bool) -> Timer
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.init(timeInterval:repeats:block:)
init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
Timer.scheduledTimer(withTimeInterval:repeats:block:)
open class func scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void) -> Timer
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
Timer.init(fire:interval:repeats:block:)
public convenience init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping @Sendable (Timer) -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
Timer.init(fireAt:interval:target:selector:userInfo:repeats:)
public init(fireAt date: Date, interval ti: TimeInterval, target t: Any, selector s: Selector, userInfo ui: Any?, repeats rep: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.fire()
open func fire()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.fireDate
open var fireDate: Date
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.timeInterval
open var timeInterval: TimeInterval { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.tolerance
open var tolerance: TimeInterval
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS macOS 10.9
Timer.invalidate()
open func invalidate()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.isValid
open var isValid: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.userInfo
open var userInfo: Any? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Timer.publish(every:tolerance:on:in:options:)
public static func publish(every interval: TimeInterval, tolerance: TimeInterval?, on runLoop: RunLoop, in mode: RunLoop.Mode, options: RunLoop.SchedulerOptions?) -> Timer.TimerPublisher
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
RunLoop.current
open class var current: RunLoop { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.main
open class var main: RunLoop { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
RunLoop.currentMode
open var currentMode: RunLoop.Mode? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.getCFRunLoop()
open func getCFRunLoop() -> CFRunLoop
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.add(_:forMode:) timer
open func add(_ timer: Timer, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.add(_:forMode:) port
open func add(_ aPort: Port, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.remove(_:forMode:) port
open func remove(_ aPort: Port, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.limitDate(forMode:)
open func limitDate(forMode mode: RunLoop.Mode) -> Date?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.acceptInput(forMode:before:)
open func acceptInput(forMode mode: RunLoop.Mode, before limitDate: Date)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.run()
open func run()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.run(until:)
open func run(until limitDate: Date)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.run(mode:before:)
open func run(mode: RunLoop.Mode, before limitDate: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.perform(inModes:block:)
open func perform(inModes modes: [RunLoop.Mode], block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
RunLoop.perform(_:) block
open func perform(_ block: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen
iOS iOS 10.0macOS macOS 10.12
RunLoop.perform(_:target:argument:order:modes:)
open func perform(_ aSelector: Selector, target: Any, argument arg: Any?, order: Int, modes: [RunLoop.Mode])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.cancelPerform(_:target:argument:)
open func cancelPerform(_ aSelector: Selector, target: Any, argument arg: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.cancelPerformSelectors(withTarget:)
open func cancelPerformSelectors(withTarget target: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.SchedulerTimeType
public struct SchedulerTimeType : Strideable, Codable, Hashable, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
RunLoop.Mode.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.Mode.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.Mode.default
public static let `default`: RunLoop.Mode
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RunLoop.Mode.common
public static let common: RunLoop.Mode
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSLocking.lock()
func lock()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLocking.unlock()
func unlock()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLocking.withLock(_:)
public func withLock<R>(_ body: () throws -> R) rethrows -> R
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSLock.try()
open func `try`() -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLock.lock(before:)
open func lock(before limit: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLock.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSConditionLock.init(condition:)
public init(condition: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.condition
open var condition: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.lock(whenCondition:)
open func lock(whenCondition condition: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.try()
open func `try`() -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.tryLock(whenCondition:)
open func tryLock(whenCondition condition: Int) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.unlock(withCondition:)
open func unlock(withCondition condition: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.lock(before:)
open func lock(before limit: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.lock(whenCondition:before:)
open func lock(whenCondition condition: Int, before limit: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSConditionLock.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSRecursiveLock.try()
open func `try`() -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRecursiveLock.lock(before:)
open func lock(before limit: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRecursiveLock.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSCondition.wait()
open func wait()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSCondition.wait(until:)
open func wait(until limit: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSCondition.signal()
open func signal()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSCondition.broadcast()
open func broadcast()
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSCondition.name
open var name: String?
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSDistributedLock.init(path:)
public init?(path: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.try()
open func `try`() -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.unlock()
open func unlock()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.break()
open func `break`()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.lockDate
open var lockDate: Date { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
Port.invalidate()
open func invalidate()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.isValid
open var isValid: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.setDelegate(_:)
open func setDelegate(_ anObject: (any PortDelegate)?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.delegate()
open func delegate() -> (any PortDelegate)?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.schedule(in:forMode:)
open func schedule(in runLoop: RunLoop, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.remove(from:forMode:)
open func remove(from runLoop: RunLoop, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.reservedSpaceLength
open var reservedSpaceLength: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.send(before:components:from:reserved:)
open func send(before limitDate: Date, components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Port.send(before:msgid:components:from:reserved:)
open func send(before limitDate: Date, msgid msgID: Int, components: NSMutableArray?, from receivePort: Port?, reserved headerSpaceReserved: Int) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.port(withMachPort:)
open class func port(withMachPort machPort: UInt32) -> Port
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.init(machPort:)
public init(machPort: UInt32)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.setDelegate(_:)
open func setDelegate(_ anObject: (any NSMachPortDelegate)?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.delegate()
open func delegate() -> (any NSMachPortDelegate)?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.port(withMachPort:options:)
open class func port(withMachPort machPort: UInt32, options f: NSMachPort.Options) -> Port
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSMachPort.init(machPort:options:)
public init(machPort: UInt32, options f: NSMachPort.Options)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSMachPort.machPort
open var machPort: UInt32 { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.schedule(in:forMode:)
open func schedule(in runLoop: RunLoop, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.remove(from:forMode:)
open func remove(from runLoop: RunLoop, forMode mode: RunLoop.Mode)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachPort.Options
public struct Options : OptionSet { deallocateSendRight; deallocateReceiveRight }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
MessagePort
open class MessagePort : Port {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
SocketPort.init()
public convenience init()
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.init(tcpPort:)
public convenience init?(tcpPort port: UInt16)
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.init(protocolFamily:socketType:protocol:address:)
public init?(protocolFamily family: Int32, socketType type: Int32, protocol: Int32, address: Data)
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.init(protocolFamily:socketType:protocol:socket:)
public init?(protocolFamily family: Int32, socketType type: Int32, protocol: Int32, socket sock: SocketNativeHandle)
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.init(remoteWithTCPPort:host:)
public convenience init?(remoteWithTCPPort port: UInt16, host hostName: String?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.init(remoteWithProtocolFamily:socketType:protocol:address:)
public init(remoteWithProtocolFamily family: Int32, socketType type: Int32, protocol: Int32, address: Data)
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.protocolFamily
open var protocolFamily: Int32 { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.socketType
open var socketType: Int32 { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.protocol
open var `protocol`: Int32 { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.address
open var address: Data { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
SocketPort.socket
open var socket: SocketNativeHandle { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
PortMessage.init(send:receive:components:)
public init(send sendPort: Port?, receive replyPort: Port?, components: [Any]?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
PortMessage.components
open var components: [Any]? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
PortMessage.receivePort
open var receivePort: Port? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
PortMessage.sendPort
open var sendPort: Port? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
PortMessage.send(before:)
open func send(before date: Date) -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS all
PortMessage.msgid
open var msgid: UInt32
name-resolves only; no executable Foundation codegen
iOSmacOS all
QualityOfService
public enum QualityOfService : Int { userInteractive=33, userInitiated=25, utility=17, background=9, default=-1 }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.perform(_:on:with:waitUntilDone:modes:)
open func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSObject.perform(_:on:with:waitUntilDone:)
open func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSObject.performSelector(onMainThread:with:waitUntilDone:modes:)
open func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.performSelector(onMainThread:with:waitUntilDone:)
open func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.performSelector(inBackground:with:)
open func performSelector(inBackground aSelector: Selector, with arg: Any?)
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSObject.perform(_:with:afterDelay:inModes:)
open func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoop.Mode])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.perform(_:with:afterDelay:)
open func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.cancelPreviousPerformRequests(withTarget:selector:object:)
open class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSObject.cancelPreviousPerformRequests(withTarget:)
open class func cancelPreviousPerformRequests(withTarget aTarget: Any)
name-resolves only; no executable Foundation codegen
iOS allmacOS all

18. Errors / exceptions

0·0·195
NSError.init(domain:code:userInfo:)
public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.domain
open var domain: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.code
open var code: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.userInfo
open var userInfo: [String : Any] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.localizedDescription
open var localizedDescription: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.localizedFailureReason
open var localizedFailureReason: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.localizedRecoverySuggestion
open var localizedRecoverySuggestion: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.localizedRecoveryOptions
open var localizedRecoveryOptions: [String]? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.recoveryAttempter
open var recoveryAttempter: Any? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.helpAnchor
open var helpAnchor: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError.underlyingErrors
open var underlyingErrors: [any Error] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 14.5macOS macOS 11.3
NSError.setUserInfoValueProvider(forDomain:provider:)
open class func setUserInfoValueProvider(forDomain errorDomain: String, provider: (@Sendable (any Error, String) -> Any?)? = nil)
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS macOS 10.11
NSError.userInfoValueProvider(forDomain:)
open class func userInfoValueProvider(forDomain errorDomain: String) -> (@Sendable (any Error, String) -> Any?)?
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS macOS 10.11
NSError.UserInfoKey
public typealias UserInfoKey = NSString
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSError (Error conformance)
extension NSError : Error {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSException.init(name:reason:userInfo:)
public init(name aName: NSExceptionName, reason aReason: String?, userInfo aUserInfo: [AnyHashable : Any]? = nil)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSException.name
open var name: NSExceptionName { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSException.reason
open var reason: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSException.userInfo
open var userInfo: [AnyHashable : Any]? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSException.callStackReturnAddresses
open var callStackReturnAddresses: [NSNumber] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSException.callStackSymbols
open var callStackSymbols: [String] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSException.raise()
open func raise()
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSException.raise(_:format:arguments:)
open class func raise(_ name: NSExceptionName, format: String, arguments argList: CVaListPointer)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.genericException
public static let genericException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.rangeException
public static let rangeException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invalidArgumentException
public static let invalidArgumentException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.internalInconsistencyException
public static let internalInconsistencyException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.mallocException
public static let mallocException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.objectInaccessibleException
public static let objectInaccessibleException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.objectNotAvailableException
public static let objectNotAvailableException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.destinationInvalidException
public static let destinationInvalidException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.portTimeoutException
public static let portTimeoutException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invalidSendPortException
public static let invalidSendPortException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invalidReceivePortException
public static let invalidReceivePortException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.portSendException
public static let portSendException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.portReceiveException
public static let portReceiveException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.oldStyleException
public static let oldStyleException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.inconsistentArchiveException
public static let inconsistentArchiveException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.fileHandleOperationException
public static let fileHandleOperationException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.undefinedKeyException
public static let undefinedKeyException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invalidArchiveOperationException
public static let invalidArchiveOperationException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invalidUnarchiveOperationException
public static let invalidUnarchiveOperationException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.decimalNumberExactnessException
public static let decimalNumberExactnessException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.decimalNumberOverflowException
public static let decimalNumberOverflowException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.decimalNumberUnderflowException
public static let decimalNumberUnderflowException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.decimalNumberDivideByZeroException
public static let decimalNumberDivideByZeroException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.characterConversionException
public static let characterConversionException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.parseErrorException
public static let parseErrorException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invocationOperationVoidResultException
public static let invocationOperationVoidResultException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExceptionName.invocationOperationCancelledException
public static let invocationOperationCancelledException: NSExceptionName
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSUncaughtExceptionHandler
public typealias NSUncaughtExceptionHandler = (NSException) -> Void
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSGetUncaughtExceptionHandler()
public func NSGetUncaughtExceptionHandler() -> (@convention(c) (NSException) -> Void)?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSetUncaughtExceptionHandler(_:)
public func NSSetUncaughtExceptionHandler(_: (@convention(c) (NSException) -> Void)?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSErrorDomain
public typealias NSErrorDomain = NSString
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSCocoaErrorDomain
public let NSCocoaErrorDomain: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPOSIXErrorDomain
public let NSPOSIXErrorDomain: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSOSStatusErrorDomain
public let NSOSStatusErrorDomain: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMachErrorDomain
public let NSMachErrorDomain: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSURLErrorDomain
public let NSURLErrorDomain: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSUnderlyingErrorKey
public let NSUnderlyingErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSMultipleUnderlyingErrorsKey
public let NSMultipleUnderlyingErrorsKey: String
name-resolves only; no executable Foundation codegen
iOS iOS 14.5macOS macOS 11.3
NSLocalizedDescriptionKey
public let NSLocalizedDescriptionKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLocalizedFailureReasonErrorKey
public let NSLocalizedFailureReasonErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLocalizedRecoverySuggestionErrorKey
public let NSLocalizedRecoverySuggestionErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSLocalizedRecoveryOptionsErrorKey
public let NSLocalizedRecoveryOptionsErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSRecoveryAttempterErrorKey
public let NSRecoveryAttempterErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSHelpAnchorErrorKey
public let NSHelpAnchorErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSDebugDescriptionErrorKey
public let NSDebugDescriptionErrorKey: String
name-resolves only; no executable Foundation codegen
iOS iOS 2.0macOS all
NSLocalizedFailureErrorKey
public let NSLocalizedFailureErrorKey: String
name-resolves only; no executable Foundation codegen
iOS iOS 11.0macOS macOS 10.13
NSStringEncodingErrorKey
public let NSStringEncodingErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSURLErrorKey
public let NSURLErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSFilePathErrorKey
public let NSFilePathErrorKey: String
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CustomNSError
public protocol CustomNSError : Error {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CustomNSError.errorDomain
static var errorDomain: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CustomNSError.errorCode
var errorCode: Int { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CustomNSError.errorUserInfo
var errorUserInfo: [String : Any] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
LocalizedError
public protocol LocalizedError : Error {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
LocalizedError.errorDescription
var errorDescription: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
LocalizedError.failureReason
var failureReason: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
LocalizedError.recoverySuggestion
var recoverySuggestion: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
LocalizedError.helpAnchor
var helpAnchor: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RecoverableError
public protocol RecoverableError : Error {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RecoverableError.recoveryOptions
var recoveryOptions: [String] { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RecoverableError.attemptRecovery(optionIndex:resultHandler:)
func attemptRecovery(optionIndex recoveryOptionIndex: Int, resultHandler handler: @escaping (_ recovered: Bool) -> Void)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
RecoverableError.attemptRecovery(optionIndex:)
func attemptRecovery(optionIndex recoveryOptionIndex: Int) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError
public struct CocoaError {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.errorDomain
public static var errorDomain: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.error(_:userInfo:url:)
public static func error(_ code: CocoaError.Code, userInfo: [AnyHashable : Any]? = nil, url: URL? = nil) -> any Error
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.filePath
public var filePath: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.stringEncoding
public var stringEncoding: String.Encoding? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.underlying
public var underlying: (any Error)? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.underlyingErrors
public var underlyingErrors: [any Error] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 14.5macOS macOS 11.3
CocoaError.url
public var url: URL? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isFileError
public var isFileError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isFormattingError
public var isFormattingError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isValidationError
public var isValidationError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isCoderError
public var isCoderError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS macOS 10.11
CocoaError.isExecutableError
public var isExecutableError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isPropertyListError
public var isPropertyListError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isUbiquitousFileError
public var isUbiquitousFileError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isUserActivityError
public var isUserActivityError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.isXPCConnectionError
public var isXPCConnectionError: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.Code
public struct Code : RawRepresentable, Hashable, Sendable
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.Code.init(rawValue:)
public init(rawValue: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.Code.rawValue
public let rawValue: Int
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileNoSuchFile
public static var fileNoSuchFile: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileLocking
public static var fileLocking: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileReadUnknown
public static var fileReadUnknown: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileReadNoPermission
public static var fileReadNoPermission: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileReadNoSuchFile
public static var fileReadNoSuchFile: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileReadCorruptFile
public static var fileReadCorruptFile: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileReadInvalidFileName
public static var fileReadInvalidFileName: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileReadTooLarge
public static var fileReadTooLarge: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileWriteUnknown
public static var fileWriteUnknown: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileWriteNoPermission
public static var fileWriteNoPermission: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileWriteFileExists
public static var fileWriteFileExists: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileWriteOutOfSpace
public static var fileWriteOutOfSpace: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.fileWriteVolumeReadOnly
public static var fileWriteVolumeReadOnly: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.keyValueValidation
public static var keyValueValidation: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.formatting
public static var formatting: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.userCancelled
public static var userCancelled: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.featureUnsupported
public static var featureUnsupported: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.propertyListReadCorrupt
public static var propertyListReadCorrupt: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.coderReadCorrupt
public static var coderReadCorrupt: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS macOS 10.11
CocoaError.coderValueNotFound
public static var coderValueNotFound: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS macOS 10.11
CocoaError.coderInvalidValue
public static var coderInvalidValue: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.ubiquitousFileUnavailable
public static var ubiquitousFileUnavailable: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.userActivityHandoffFailed
public static var userActivityHandoffFailed: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
CocoaError.xpcConnectionInterrupted
public static var xpcConnectionInterrupted: CocoaError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError
public struct POSIXError {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.errorDomain
public static var errorDomain: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.Code
public typealias Code = POSIXErrorCode
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EPERM
public static var EPERM: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.ENOENT
public static var ENOENT: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EINTR
public static var EINTR: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EIO
public static var EIO: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EBADF
public static var EBADF: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.ENOMEM
public static var ENOMEM: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EACCES
public static var EACCES: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EBUSY
public static var EBUSY: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EEXIST
public static var EEXIST: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.ENOTDIR
public static var ENOTDIR: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EISDIR
public static var EISDIR: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EINVAL
public static var EINVAL: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.ENOSPC
public static var ENOSPC: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EPIPE
public static var EPIPE: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.EAGAIN
public static var EAGAIN: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.ETIMEDOUT
public static var ETIMEDOUT: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
POSIXError.ECONNREFUSED
public static var ECONNREFUSED: POSIXErrorCode { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError
public struct MachError {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.errorDomain
public static var errorDomain: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.Code
public typealias Code = MachErrorCode
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.success
public static var success: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.invalidAddress
public static var invalidAddress: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.protectionFailure
public static var protectionFailure: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.noSpace
public static var noSpace: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.invalidArgument
public static var invalidArgument: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.failure
public static var failure: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.noAccess
public static var noAccess: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
MachError.memoryFailure
public static var memoryFailure: MachError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError
public struct URLError {}
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.errorDomain
public static var errorDomain: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.Code
public struct Code : RawRepresentable, Hashable, Sendable
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.Code.init(rawValue:)
public init(rawValue: Int)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.failingURL
public var failingURL: URL? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.failureURLPeerTrust
public var failureURLPeerTrust: SecTrust? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.downloadTaskResumeData
public var downloadTaskResumeData: Data? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
URLError.uploadTaskResumeData
public var uploadTaskResumeData: Data? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17.0macOS macOS 14.0
URLError.backgroundTaskCancelledReason
public var backgroundTaskCancelledReason: URLError.BackgroundTaskCancelledReason? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
URLError.networkUnavailableReason
public var networkUnavailableReason: URLError.NetworkUnavailableReason? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
URLError.BackgroundTaskCancelledReason
public enum BackgroundTaskCancelledReason : Int, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
URLError.NetworkUnavailableReason
public enum NetworkUnavailableReason : Int, Sendable
name-resolves only; no executable Foundation codegen
iOS iOS 13.0macOS macOS 10.15
URLError.unknown
public static var unknown: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.cancelled
public static var cancelled: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.badURL
public static var badURL: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.timedOut
public static var timedOut: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.unsupportedURL
public static var unsupportedURL: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.cannotFindHost
public static var cannotFindHost: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.cannotConnectToHost
public static var cannotConnectToHost: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.networkConnectionLost
public static var networkConnectionLost: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.dnsLookupFailed
public static var dnsLookupFailed: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.notConnectedToInternet
public static var notConnectedToInternet: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.badServerResponse
public static var badServerResponse: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.userAuthenticationRequired
public static var userAuthenticationRequired: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.cannotParseResponse
public static var cannotParseResponse: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.appTransportSecurityRequiresSecureConnection
public static var appTransportSecurityRequiresSecureConnection: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS macOS 10.11
URLError.fileDoesNotExist
public static var fileDoesNotExist: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.secureConnectionFailed
public static var secureConnectionFailed: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.serverCertificateUntrusted
public static var serverCertificateUntrusted: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.clientCertificateRequired
public static var clientCertificateRequired: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.cannotLoadFromNetwork
public static var cannotLoadFromNetwork: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.dataNotAllowed
public static var dataNotAllowed: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
URLError.callIsActive
public static var callIsActive: URLError.Code { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all

19. Predicates / expressions / sorting

0·0·124
NSPredicate.init(format:argumentArray:)
init(format predicateFormat: String, argumentArray arguments: [Any]?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.init(format:arguments:)
init(format predicateFormat: String, arguments argList: CVaListPointer)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.init(format:_:)
convenience init(format predicateFormat: String, _ args: any CVarArg...)
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSPredicate.init(value:)
init(value: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.init(block:)
init(block: @escaping (Any?, [String : Any]?) -> Bool)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSPredicate.init(_:)
convenience init?<Input>(_ predicate: Predicate<Input>) where Input : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
NSPredicate.init(coder:)
init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.predicateFormat
var predicateFormat: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.withSubstitutionVariables(_:)
func withSubstitutionVariables(_ variables: [String : Any]) -> Self
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.evaluate(with:)
func evaluate(with object: Any?) -> Bool
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSPredicate.evaluate(with:substitutionVariables:)
func evaluate(with object: Any?, substitutionVariables bindings: [String : Any]?) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSPredicate.allowEvaluation()
func allowEvaluation()
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS all
NSPredicate.allowEvaluation(validator:)
func allowEvaluation(validator: any NSPredicateValidating) throws
name-resolves only; no executable Foundation codegen
iOS iOS 26.4macOS macOS 26.4
NSComparisonPredicate.init(leftExpression:rightExpression:modifier:type:options:)
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, modifier: Modifier, type: Operator, options: Options = [])
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.init(leftExpression:rightExpression:customSelector:)
init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.init(coder:)
init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.predicateOperatorType
var predicateOperatorType: NSComparisonPredicate.Operator { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.comparisonPredicateModifier
var comparisonPredicateModifier: NSComparisonPredicate.Modifier { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.leftExpression
var leftExpression: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.rightExpression
var rightExpression: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.customSelector
var customSelector: Selector? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.options
var options: NSComparisonPredicate.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.Options.caseInsensitive
static var caseInsensitive: NSComparisonPredicate.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.Options.diacriticInsensitive
static var diacriticInsensitive: NSComparisonPredicate.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.Options.normalized
static var normalized: NSComparisonPredicate.Options { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSComparisonPredicate.Modifier
enum Modifier : UInt { case direct; case all; case any }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSComparisonPredicate.Operator
enum Operator : UInt { lessThan...customSelector; contains; between }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.init(type:subpredicates:)
init(type: NSCompoundPredicate.LogicalType, subpredicates: [NSPredicate])
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.init(coder:)
init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.init(andPredicateWithSubpredicates:)
init(andPredicateWithSubpredicates subpredicates: [NSPredicate])
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.init(orPredicateWithSubpredicates:)
init(orPredicateWithSubpredicates subpredicates: [NSPredicate])
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.init(notPredicateWithSubpredicate:)
init(notPredicateWithSubpredicate predicate: NSPredicate)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.compoundPredicateType
var compoundPredicateType: NSCompoundPredicate.LogicalType { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.subpredicates
var subpredicates: [Any] { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSCompoundPredicate.LogicalType
enum LogicalType : UInt { case not = 0; case and = 1; case or = 2 }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.init(format:argumentArray:)
init(format expressionFormat: String, argumentArray arguments: [Any])
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSExpression.init(format:arguments:)
init(format expressionFormat: String, arguments argList: CVaListPointer)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSExpression.init(format:_:)
convenience init(format expressionFormat: String, _ args: any CVarArg...)
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSExpression.init(forConstantValue:)
init(forConstantValue obj: Any?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.expressionForEvaluatedObject()
class func expressionForEvaluatedObject() -> NSExpression
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.init(forVariable:)
init(forVariable string: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.init(forKeyPath:)
init(forKeyPath keyPath: String)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.init(forKeyPath:)
convenience init<Root, Value>(forKeyPath keyPath: KeyPath<Root, Value>)
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSExpression.init(forFunction:arguments:)
init(forFunction name: String, arguments parameters: [Any])
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.init(forAggregate:)
init(forAggregate subexpressions: [NSExpression])
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.init(forUnionSet:with:)
init(forUnionSet left: NSExpression, with right: NSExpression)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.init(forIntersectSet:with:)
init(forIntersectSet left: NSExpression, with right: NSExpression)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.init(forMinusSet:with:)
init(forMinusSet left: NSExpression, with right: NSExpression)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.init(forSubquery:usingIteratorVariable:predicate:)
init(forSubquery expression: NSExpression, usingIteratorVariable variable: String, predicate: NSPredicate)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.init(forFunction:selectorName:arguments:)
init(forFunction target: NSExpression, selectorName name: String, arguments parameters: [Any]?)
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.expressionForAnyKey()
class func expressionForAnyKey() -> NSExpression
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS all
NSExpression.init(block:arguments:)
init(block: @escaping (Any?, [NSExpression], NSMutableDictionary?) -> Any, arguments: [NSExpression]?)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSExpression.init(forConditional:trueExpression:falseExpression:)
init(forConditional predicate: NSPredicate, trueExpression: NSExpression, falseExpression: NSExpression)
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS all
NSExpression.init(expressionType:)
init(expressionType type: NSExpression.ExpressionType)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.init(coder:)
init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.init(_:)
convenience init?<Input, Output>(_ expression: Expression<Input, Output>) where Input : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 18macOS macOS 15
NSExpression.expressionType
var expressionType: NSExpression.ExpressionType { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.constantValue
var constantValue: Any? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.keyPath
var keyPath: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.function
var function: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.variable
var variable: String { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.operand
@NSCopying var operand: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.arguments
var arguments: [NSExpression]? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.collection
var collection: Any { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.predicate
@NSCopying var predicate: NSPredicate { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.left
@NSCopying var left: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.right
@NSCopying var right: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS iOS 3.0macOS all
NSExpression.true
@NSCopying var `true`: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS all
NSExpression.false
@NSCopying var `false`: NSExpression { get }
name-resolves only; no executable Foundation codegen
iOS iOS 9.0macOS all
NSExpression.expressionBlock
var expressionBlock: (Any?, [NSExpression], NSMutableDictionary?) -> Any { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSExpression.expressionValue(with:context:)
func expressionValue(with object: Any?, context: NSMutableDictionary?) -> Any?
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSExpression.allowEvaluation()
func allowEvaluation()
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS all
NSExpression.ExpressionType
enum ExpressionType : UInt { constantValue...function; unionSet...aggregate; anyKey; block; conditional }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.init(key:ascending:)
init(key: String?, ascending: Bool)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.init(key:ascending:selector:)
init(key: String?, ascending: Bool, selector: Selector?)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.init(key:ascending:comparator:)
init(key: String?, ascending: Bool, comparator cmptr: @escaping Comparator)
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSSortDescriptor.init(coder:)
init?(coder: NSCoder)
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.init(keyPath:ascending:)
convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool)
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSSortDescriptor.init(keyPath:ascending:comparator:)
convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool, comparator cmptr: @escaping Comparator)
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSSortDescriptor.init(_:)
convenience init<Compared>(_ sortDescriptor: SortDescriptor<Compared>) where Compared : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
NSSortDescriptor.key
var key: String? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.ascending
var ascending: Bool { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.selector
var selector: Selector? { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.comparator
var comparator: Comparator { get }
name-resolves only; no executable Foundation codegen
iOS iOS 4.0macOS all
NSSortDescriptor.keyPath
var keyPath: AnyKeyPath? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 8.0macOS macOS 10.10
NSSortDescriptor.allowEvaluation()
func allowEvaluation()
name-resolves only; no executable Foundation codegen
iOS iOS 7.0macOS all
NSSortDescriptor.compare(_:to:)
func compare(_ object1: Any, to object2: Any) -> ComparisonResult
name-resolves only; no executable Foundation codegen
iOS allmacOS all
NSSortDescriptor.reversedSortDescriptor
var reversedSortDescriptor: Any { get }
name-resolves only; no executable Foundation codegen
iOS allmacOS all
ComparisonResult.orderedAscending
case orderedAscending = -1
name-resolves only; no executable Foundation codegen
iOS allmacOS all
ComparisonResult.orderedSame
case orderedSame = 0
name-resolves only; no executable Foundation codegen
iOS allmacOS all
ComparisonResult.orderedDescending
case orderedDescending = 1
name-resolves only; no executable Foundation codegen
iOS allmacOS all
Predicate.init(_:)
init(_ builder: (repeat PredicateExpressions.Variable<each Input>) -> any StandardPredicateExpression<Bool>)
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.expression
let expression: any StandardPredicateExpression<Bool>
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.variable
let variable: (repeat PredicateExpressions.Variable<each Input>)
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.evaluate(_:)
func evaluate(_ input: repeat each Input) throws -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.init(from:)
init(from decoder: any Decoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.encode(to:)
func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.encode(to:configuration:)
func encode(to encoder: any Encoder, configuration: EncodingConfiguration) throws
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.init(from:configuration:)
init(from decoder: any Decoder, configuration: DecodingConfiguration) throws
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.true
static var `true`: Predicate<repeat each Input> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.false
static var `false`: Predicate<repeat each Input> { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
Predicate.description
var description: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17.4macOS macOS 14.4
Predicate.debugDescription
var debugDescription: String { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17.4macOS macOS 14.4
Predicate (macro)
@freestanding(expression) macro Predicate<each Input>(_ body: (repeat each Input) -> Bool) -> Predicate<repeat each Input>
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
PredicateExpression.Output
associatedtype Output
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
PredicateExpression.evaluate(_:)
func evaluate(_ bindings: PredicateBindings) throws -> Self.Output
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.init(_:order:)
init<Value>(_ keyPath: any KeyPath<Compared, Value> & Sendable, order: SortOrder = .forward) where Value : Comparable
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.init(_:order:) optional
init<Value>(_ keyPath: any KeyPath<Compared, Value?> & Sendable, order: SortOrder = .forward) where Value : Comparable
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.init(_:comparator:)
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard)
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.init(_:comparator:order:)
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard, order: SortOrder)
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.init(_:order:) NSObject numeric
init(_ keyPath: any KeyPath<Compared, Int> & Sendable, order: SortOrder = .forward) where Compared : NSObject
name-resolves only; no executable Foundation codegen; one of many NSObject keyPath overloads (Bool/Double/Float/Int*/UInt*/Date/UUID)
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.init(_:order:) NSObject Date
init(_ keyPath: any KeyPath<Compared, Date> & Sendable, order: SortOrder = .forward) where Compared : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.init(_:order:) NSObject UUID
init(_ keyPath: any KeyPath<Compared, UUID> & Sendable, order: SortOrder = .forward) where Compared : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.init(_:comparator:) NSObject String
init(_ keyPath: any KeyPath<Compared, String> & Sendable, comparator: String.StandardComparator = .localizedStandard) where Compared : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.init(_:comparing:)
init?(_ descriptor: NSSortDescriptor, comparing comparedType: Compared.Type) where Compared : NSObject
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.keyPath
var keyPath: PartialKeyPath<Compared>? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.stringComparator
var stringComparator: String.StandardComparator? { get }
name-resolves only; no executable Foundation codegen
iOS iOS 17macOS macOS 14
SortDescriptor.order
var order: SortOrder
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.compare(_:_:)
func compare(_ lhs: Compared, _ rhs: Compared) -> ComparisonResult
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.hash(into:)
func hash(into hasher: inout Hasher)
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.==(_:_:)
static func == (a: SortDescriptor<Compared>, b: SortDescriptor<Compared>) -> Bool
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortDescriptor.encode(to:)
func encode(to encoder: any Encoder) throws
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortOrder.forward
case forward
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0
SortOrder.reverse
case reverse
name-resolves only; no executable Foundation codegen
iOS iOS 15.0macOS macOS 12.0

20. Process info / system / progress

0·0·194
ProcessInfo.processInfo
open class var processInfo: ProcessInfo { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.environment
open var environment: [String : String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.arguments
open var arguments: [String] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.hostName
open var hostName: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.processName
open var processName: String
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.processIdentifier
open var processIdentifier: Int32 { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.globallyUniqueString
open var globallyUniqueString: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.operatingSystem()
open func operatingSystem() -> Int
name-resolves only; no executable Foundation codegen.
iOS iOS 2 (deprecated 8)macOS macOS 10 (deprecated 10.10)
ProcessInfo.operatingSystemName()
open func operatingSystemName() -> String
name-resolves only; no executable Foundation codegen.
iOS iOS 2 (deprecated 8)macOS macOS 10 (deprecated 10.10)
ProcessInfo.operatingSystemVersionString
open var operatingSystemVersionString: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProcessInfo.operatingSystemVersion
open var operatingSystemVersion: OperatingSystemVersion { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
ProcessInfo.processorCount
open var processorCount: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
ProcessInfo.activeProcessorCount
open var activeProcessorCount: Int { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
ProcessInfo.physicalMemory
open var physicalMemory: UInt64 { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 2macOS macOS 10.5
ProcessInfo.isOperatingSystemAtLeast(_:)
open func isOperatingSystemAtLeast(_ version: OperatingSystemVersion) -> Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
ProcessInfo.systemUptime
open var systemUptime: TimeInterval { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 4macOS macOS 10.6
ProcessInfo.disableSuddenTermination()
open func disableSuddenTermination()
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.6
ProcessInfo.enableSuddenTermination()
open func enableSuddenTermination()
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.6
ProcessInfo.disableAutomaticTermination(_:)
open func disableAutomaticTermination(_ reason: String)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
ProcessInfo.enableAutomaticTermination(_:)
open func enableAutomaticTermination(_ reason: String)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
ProcessInfo.automaticTerminationSupportEnabled
open var automaticTerminationSupportEnabled: Bool
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.7
ProcessInfo.beginActivity(options:reason:)
open func beginActivity(options: ProcessInfo.ActivityOptions = [], reason: String) -> any NSObjectProtocol
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.endActivity(_:)
open func endActivity(_ activity: any NSObjectProtocol)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.performActivity(options:reason:using:)
open func performActivity(options: ProcessInfo.ActivityOptions = [], reason: String, using block: @escaping () -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.performExpiringActivity(withReason:using:)
open func performExpiringActivity(withReason reason: String, using block: @escaping @Sendable (Bool) -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 8.2macOS
ProcessInfo.thermalState
open var thermalState: ProcessInfo.ThermalState { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.10.3
ProcessInfo.isLowPowerModeEnabled
open var isLowPowerModeEnabled: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 12
ProcessInfo.userName
open var userName: String { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.12
ProcessInfo.fullUserName
open var fullUserName: String { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.12
ProcessInfo.isMacCatalystApp
open var isMacCatalystApp: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS macOS 10.15
ProcessInfo.isiOSAppOnMac
open var isiOSAppOnMac: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 14macOS macOS 11
ProcessInfo.isiOSAppOnVision
open var isiOSAppOnVision: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 26.1macOS macOS 26.1
ProcessInfo.thermalStateDidChangeNotification
public class let thermalStateDidChangeNotification: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.10.3
ProcessInfo.ThermalState.nominal
case nominal = 0
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.10.3
ProcessInfo.ThermalState.fair
case fair = 1
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.10.3
ProcessInfo.ThermalState.serious
case serious = 2
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.10.3
ProcessInfo.ThermalState.critical
case critical = 3
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.10.3
ProcessInfo.ActivityOptions.init(rawValue:)
public init(rawValue: UInt64)
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.idleDisplaySleepDisabled
public static var idleDisplaySleepDisabled: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.idleSystemSleepDisabled
public static var idleSystemSleepDisabled: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.suddenTerminationDisabled
public static var suddenTerminationDisabled: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.automaticTerminationDisabled
public static var automaticTerminationDisabled: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.animationTrackingEnabled
public static var animationTrackingEnabled: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
ProcessInfo.ActivityOptions.trackingEnabled
public static var trackingEnabled: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
ProcessInfo.ActivityOptions.userInitiated
public static var userInitiated: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.userInitiatedAllowingIdleSystemSleep
public static var userInitiatedAllowingIdleSystemSleep: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.background
public static var background: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.latencyCritical
public static var latencyCritical: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS macOS 10.9
ProcessInfo.ActivityOptions.userInteractive
public static var userInteractive: ProcessInfo.ActivityOptions { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 16macOS macOS 13
ProcessInfo.PowerStateDidChangeMessage.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
ProcessInfo.PowerStateDidChangeMessage.name
public static var name: Notification.Name { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
ProcessInfo.PowerStateDidChangeMessage.makeMessage(_:)
public static func makeMessage(_ notification: Notification) -> ProcessInfo.PowerStateDidChangeMessage?
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
ProcessInfo.ThermalStateDidChangeMessage.init()
public init()
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
ProcessInfo.ThermalStateDidChangeMessage.name
public static var name: Notification.Name { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
ProcessInfo.ThermalStateDidChangeMessage.makeMessage(_:)
public static func makeMessage(_ notification: Notification) -> ProcessInfo.ThermalStateDidChangeMessage?
name-resolves only; no executable Foundation codegen.
iOS iOS 26macOS macOS 26
NSNotification.Name.NSProcessInfoPowerStateDidChange
public static let NSProcessInfoPowerStateDidChange: NSNotification.Name
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 12
Host.current()
open class func current() -> Self
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.init(name:)
public convenience init(name: String?)
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.init(address:)
public convenience init(address: String)
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.isEqual(to:)
open func isEqual(to aHost: Host) -> Bool
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.name
open var name: String? { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.names
open var names: [String] { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.address
open var address: String? { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.addresses
open var addresses: [String] { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
Host.localizedName
open var localizedName: String? { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.6
Progress.current()
open class func current() -> Progress?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.init(totalUnitCount:)
public init(totalUnitCount unitCount: Int64)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.discreteProgress(totalUnitCount:)
open class func discreteProgress(totalUnitCount unitCount: Int64) -> Progress
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
Progress.init(totalUnitCount:parent:pendingUnitCount:)
public init(totalUnitCount unitCount: Int64, parent: Progress, pendingUnitCount portionOfParentTotalUnitCount: Int64)
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
Progress.init(parent:userInfo:)
public init(parent parentProgressOrNil: Progress?, userInfo userInfoOrNil: [ProgressUserInfoKey : Any]? = nil)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.becomeCurrent(withPendingUnitCount:)
open func becomeCurrent(withPendingUnitCount unitCount: Int64)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.resignCurrent()
open func resignCurrent()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.addChild(_:withPendingUnitCount:)
open func addChild(_ child: Progress, withPendingUnitCount inUnitCount: Int64)
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
Progress.totalUnitCount
open var totalUnitCount: Int64
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.completedUnitCount
open var completedUnitCount: Int64
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.localizedDescription
open var localizedDescription: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.localizedAdditionalDescription
open var localizedAdditionalDescription: String!
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.isCancellable
open var isCancellable: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.isPausable
open var isPausable: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.isCancelled
open var isCancelled: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.isPaused
open var isPaused: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.cancellationHandler
open var cancellationHandler: (@Sendable () -> Void)?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.pausingHandler
open var pausingHandler: (@Sendable () -> Void)?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.resumingHandler
open var resumingHandler: (@Sendable () -> Void)?
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
Progress.setUserInfoObject(_:forKey:)
open func setUserInfoObject(_ objectOrNil: Any?, forKey key: ProgressUserInfoKey)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.isIndeterminate
open var isIndeterminate: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.fractionCompleted
open var fractionCompleted: Double { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.isFinished
open var isFinished: Bool { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.cancel()
open func cancel()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.pause()
open func pause()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.resume()
open func resume()
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS macOS 10.11
Progress.userInfo
open var userInfo: [ProgressUserInfoKey : Any] { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.kind
open var kind: ProgressKind?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.fileOperationKind
open var fileOperationKind: Progress.FileOperationKind?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
Progress.fileURL
open var fileURL: URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
Progress.estimatedTimeRemaining
public var estimatedTimeRemaining: TimeInterval?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
Progress.throughput
public var throughput: Int?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
Progress.fileTotalCount
public var fileTotalCount: Int?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
Progress.fileCompletedCount
public var fileCompletedCount: Int?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS macOS 10.13
Progress.performAsCurrent(withPendingUnitCount:using:)
public func performAsCurrent<ReturnType>(withPendingUnitCount unitCount: Int64, using work: () throws -> ReturnType) rethrows -> ReturnType
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS macOS 10.10
Progress.FileOperationKind.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
Progress.FileOperationKind.downloading
public static let downloading: Progress.FileOperationKind
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
Progress.FileOperationKind.decompressingAfterDownloading
public static let decompressingAfterDownloading: Progress.FileOperationKind
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
Progress.FileOperationKind.receiving
public static let receiving: Progress.FileOperationKind
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
Progress.FileOperationKind.copying
public static let copying: Progress.FileOperationKind
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
Progress.FileOperationKind.uploading
public static let uploading: Progress.FileOperationKind
name-resolves only; no executable Foundation codegen.
iOS iOS 8macOS all
Progress.FileOperationKind.duplicating
public static let duplicating: Progress.FileOperationKind
name-resolves only; no executable Foundation codegen.
iOS iOS 15macOS all
ProgressKind.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProgressKind.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProgressKind.file
public static let file: ProgressKind
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressUserInfoKey.init(_:)
public init(_ rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProgressUserInfoKey.init(rawValue:)
public init(rawValue: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
ProgressUserInfoKey.estimatedTimeRemainingKey
public static let estimatedTimeRemainingKey: ProgressUserInfoKey
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressUserInfoKey.throughputKey
public static let throughputKey: ProgressUserInfoKey
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressUserInfoKey.fileOperationKindKey
public static let fileOperationKindKey: ProgressUserInfoKey
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressUserInfoKey.fileURLKey
public static let fileURLKey: ProgressUserInfoKey
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressUserInfoKey.fileTotalCountKey
public static let fileTotalCountKey: ProgressUserInfoKey
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressUserInfoKey.fileCompletedCountKey
public static let fileCompletedCountKey: ProgressUserInfoKey
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
ProgressReporting.progress
var progress: Progress { get }
name-resolves only; no executable Foundation codegen.
iOS iOS 7macOS all
NSUserActivity.init(activityType:)
public init(activityType: String)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.init()
public convenience init()
name-resolves only; no executable Foundation codegen.
iOS iOS 8 (deprecated 10)macOS all
NSUserActivity.activityType
open var activityType: String { get }
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.title
open var title: String?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.userInfo
open var userInfo: [AnyHashable : Any]?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.addUserInfoEntries(from:)
open func addUserInfoEntries(from otherDictionary: [AnyHashable : Any])
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.requiredUserInfoKeys
open var requiredUserInfoKeys: Set<String>?
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.needsSave
open var needsSave: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.webpageURL
open var webpageURL: URL?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.referrerURL
open var referrerURL: URL?
name-resolves only; no executable Foundation codegen.
iOS iOS 11macOS all
NSUserActivity.expirationDate
open var expirationDate: Date?
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.keywords
open var keywords: Set<String>
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.supportsContinuationStreams
open var supportsContinuationStreams: Bool
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.delegate
weak open var delegate: (any NSUserActivityDelegate)?
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.targetContentIdentifier
open var targetContentIdentifier: String?
name-resolves only; no executable Foundation codegen.
iOS iOS 13macOS all
NSUserActivity.becomeCurrent()
open func becomeCurrent()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.resignCurrent()
open func resignCurrent()
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.invalidate()
open func invalidate()
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.getContinuationStreams(completionHandler:)
open func getContinuationStreams(completionHandler: @escaping @Sendable (InputStream?, OutputStream?, (any Error)?) -> Void)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.continuationStreams()
open func continuationStreams() async throws -> (InputStream, OutputStream)
name-resolves only; no executable Foundation codegen.
iOS allmacOS all
NSUserActivity.isEligibleForHandoff
open var isEligibleForHandoff: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.isEligibleForSearch
open var isEligibleForSearch: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.isEligibleForPublicIndexing
open var isEligibleForPublicIndexing: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 9macOS all
NSUserActivity.isEligibleForPrediction
open var isEligibleForPrediction: Bool
name-resolves only; no executable Foundation codegen.
iOS iOS 12macOS all
NSUserActivity.persistentIdentifier
open var persistentIdentifier: NSUserActivityPersistentIdentifier?
name-resolves only; no executable Foundation codegen.
iOS iOS 12macOS all
NSUserActivity.deleteSavedUserActivities(withPersistentIdentifiers:completionHandler:)
open class func deleteSavedUserActivities(withPersistentIdentifiers persistentIdentifiers: [NSUserActivityPersistentIdentifier], completionHandler handler: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 12macOS all
NSUserActivity.deleteSavedUserActivities(withPersistentIdentifiers:)
open class func deleteSavedUserActivities(withPersistentIdentifiers persistentIdentifiers: [NSUserActivityPersistentIdentifier]) async
name-resolves only; no executable Foundation codegen.
iOS iOS 12macOS all
NSUserActivity.deleteAllSavedUserActivities(completionHandler:)
open class func deleteAllSavedUserActivities(completionHandler handler: @escaping @Sendable () -> Void)
name-resolves only; no executable Foundation codegen.
iOS iOS 12macOS all
NSUserActivity.deleteAllSavedUserActivities()
open class func deleteAllSavedUserActivities() async
name-resolves only; no executable Foundation codegen.
iOS iOS 12macOS all
NSBackgroundActivityScheduler.init(identifier:)
public init(identifier: String)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.identifier
open var identifier: String { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.qualityOfService
open var qualityOfService: QualityOfService
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.repeats
open var repeats: Bool
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.interval
open var interval: TimeInterval
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.tolerance
open var tolerance: TimeInterval
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.schedule(_:)
open func schedule(_ block: @escaping @Sendable (@escaping NSBackgroundActivityScheduler.CompletionHandler) -> Void)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.invalidate()
open func invalidate()
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.shouldDefer
open var shouldDefer: Bool { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.Result.finished
case finished = 1
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.Result.deferred
case deferred = 2
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSBackgroundActivityScheduler.CompletionHandler
public typealias CompletionHandler = @Sendable (NSBackgroundActivityScheduler.Result) -> Void
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.10
NSXPCConnection.init(serviceName:)
public init(serviceName: String)
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.serviceName
open var serviceName: String? { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.init(machServiceName:options:)
public init(machServiceName name: String, options: NSXPCConnection.Options = [])
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.init(listenerEndpoint:)
public init(listenerEndpoint endpoint: NSXPCListenerEndpoint)
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.endpoint
open var endpoint: NSXPCListenerEndpoint { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.exportedInterface
open var exportedInterface: NSXPCInterface?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.exportedObject
open var exportedObject: Any?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.remoteObjectInterface
open var remoteObjectInterface: NSXPCInterface?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.remoteObjectProxy
open var remoteObjectProxy: Any { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.remoteObjectProxyWithErrorHandler(_:)
open func remoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> Any
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.synchronousRemoteObjectProxyWithErrorHandler(_:)
open func synchronousRemoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> Any
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.11
NSXPCConnection.interruptionHandler
open var interruptionHandler: (() -> Void)?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.invalidationHandler
open var invalidationHandler: (() -> Void)?
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.resume()
open func resume()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.suspend()
open func suspend()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.activate()
open func activate()
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 11
NSXPCConnection.invalidate()
open func invalidate()
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.auditSessionIdentifier
open var auditSessionIdentifier: au_asid_t { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.processIdentifier
open var processIdentifier: pid_t { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.effectiveUserIdentifier
open var effectiveUserIdentifier: uid_t { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.effectiveGroupIdentifier
open var effectiveGroupIdentifier: gid_t { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS all
NSXPCConnection.current()
open class func current() -> NSXPCConnection?
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCConnection.scheduleSendBarrierBlock(_:)
open func scheduleSendBarrierBlock(_ block: @escaping () -> Void)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.15
NSXPCConnection.setCodeSigningRequirement(_:)
open func setCodeSigningRequirement(_ requirement: String)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 13
NSXPCConnection.Options.init(rawValue:)
public init(rawValue: UInt)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCConnection.Options.privileged
public static var privileged: NSXPCConnection.Options { get }
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.init(with:)
public init(with protocol: Protocol)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.protocol
unowned(unsafe) open var `protocol`: Protocol
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.setClasses(_:for:argumentIndex:ofReply:)
open func setClasses(_ classes: Set<AnyHashable>, for sel: Selector, argumentIndex arg: Int, ofReply: Bool)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.classes(for:argumentIndex:ofReply:)
open func classes(for sel: Selector, argumentIndex arg: Int, ofReply: Bool) -> Set<AnyHashable>
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.setInterface(_:for:argumentIndex:ofReply:)
open func setInterface(_ ifc: NSXPCInterface, for sel: Selector, argumentIndex arg: Int, ofReply: Bool)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.forSelector(_:argumentIndex:ofReply:)
open func forSelector(_ sel: Selector, argumentIndex arg: Int, ofReply: Bool) -> NSXPCInterface?
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.8
NSXPCInterface.setXPCType(_:for:argumentIndex:ofReply:)
open func setXPCType(_ type: xpc_type_t, for sel: Selector, argumentIndex arg: Int, ofReply: Bool)
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.15
NSXPCInterface.xpcType(for:argumentIndex:ofReply:)
open func xpcType(for sel: Selector, argumentIndex arg: Int, ofReply: Bool) -> xpc_type_t?
name-resolves only; no executable Foundation codegen.
iOSmacOS macOS 10.15

21. macOS-only legacy / scripting / distributed / geometry

0·0·235
AffineTransform.init(m11:m12:m21:m22:tX:tY:)
public init(m11: CGFloat, m12: CGFloat, m21: CGFloat, m22: CGFloat, tX: CGFloat, tY: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.init()
public init()
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.init(translationByX:byY:)
public init(translationByX x: CGFloat, byY y: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.init(scaleByX:byY:)
public init(scaleByX x: CGFloat, byY y: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.init(scale:)
public init(scale factor: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.init(rotationByRadians:)
public init(rotationByRadians angle: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.init(rotationByDegrees:)
public init(rotationByDegrees angle: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.identity
public static let identity: AffineTransform
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.m11
public var m11: CGFloat
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.m12
public var m12: CGFloat
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.m21
public var m21: CGFloat
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.m22
public var m22: CGFloat
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.tX
public var tX: CGFloat
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.tY
public var tY: CGFloat
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.translate(x:y:)
public mutating func translate(x: CGFloat, y: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.rotate(byDegrees:)
public mutating func rotate(byDegrees angle: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.rotate(byRadians:)
public mutating func rotate(byRadians angle: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.scale(_:)
public mutating func scale(_ scale: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.scale(x:y:)
public mutating func scale(x: CGFloat, y: CGFloat)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.invert()
public mutating func invert()
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.inverted()
public func inverted() -> AffineTransform?
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.append(_:)
public mutating func append(_ transform: AffineTransform)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.prepend(_:)
public mutating func prepend(_ transform: AffineTransform)
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.transform(_:point)
public func transform(_ point: NSPoint) -> NSPoint
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.transform(_:size)
public func transform(_ size: NSSize) -> NSSize
name-resolves only; no executable Foundation codegen
iOSmacOS all
AffineTransform.description
public var description: String { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransformStruct.init()
public init()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransformStruct.init(m11:m12:m21:m22:tX:tY:)
public init(m11: Double, m12: Double, m21: Double, m22: Double, tX: Double, tY: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.init(transform:)
public convenience init(transform: AffineTransform)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.init()
public init()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.translateX(by:yBy:)
open func translateX(by deltaX: Double, yBy deltaY: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.rotate(byDegrees:)
open func rotate(byDegrees angle: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.rotate(byRadians:)
open func rotate(byRadians angle: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.scale(by:)
open func scale(by scale: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.scaleX(by:yBy:)
open func scaleX(by scaleX: Double, yBy scaleY: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.invert()
open func invert()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.append(_:)
open func append(_ transform: AffineTransform)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.prepend(_:)
open func prepend(_ transform: AffineTransform)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.transform(_:aPoint)
open func transform(_ aPoint: NSPoint) -> NSPoint
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.transform(_:aSize)
open func transform(_ aSize: NSSize) -> NSSize
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAffineTransform.transformStruct
open var transformStruct: NSAffineTransformStruct
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSEdgeInsets.init()
public init()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSEdgeInsets.init(top:left:bottom:right:)
public init(top: Double, left: Double, bottom: Double, right: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSEdgeInsets.top
public var top: Double
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSEdgeInsets.left
public var left: Double
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSEdgeInsets.bottom
public var bottom: Double
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSEdgeInsets.right
public var right: Double
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.init(contentsOf:error:)
public init?(contentsOf url: URL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.init(source:)
public init?(source: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.source
open var source: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.isCompiled
open var isCompiled: Bool { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.compileAndReturnError(_:)
open func compileAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.executeAndReturnError(_:)
open func executeAndReturnError(_ errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.executeAppleEvent(_:error:)
open func executeAppleEvent(_ event: NSAppleEventDescriptor, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleScript.errorMessage
public class let errorMessage: String
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.2
NSAppleScript.errorNumber
public class let errorNumber: String
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.2
NSAppleScript.errorAppName
public class let errorAppName: String
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.2
NSAppleScript.errorBriefMessage
public class let errorBriefMessage: String
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.2
NSAppleScript.errorRange
public class let errorRange: String
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.2
NSAppleEventDescriptor.null()
open class func null() -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(boolean:)
public init(boolean: Bool)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(enumCode:)
public init(enumCode enumerator: OSType)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(int32:)
public init(int32 signedInt: Int32)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(double:)
public init(double doubleValue: Double)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.init(typeCode:)
public init(typeCode: OSType)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(string:)
public init(string: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(date:)
public init(date: Date)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.init(fileURL:)
public init(fileURL: URL)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.appleEvent(withEventClass:eventID:targetDescriptor:returnID:transactionID:)
open class func appleEvent(withEventClass eventClass: AEEventClass, eventID: AEEventID, targetDescriptor: NSAppleEventDescriptor?, returnID: AEReturnID, transactionID: AETransactionID) -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.list()
open class func list() -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.record()
open class func record() -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.currentProcess()
open class func currentProcess() -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.init(processIdentifier:)
public init(processIdentifier: pid_t)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.init(bundleIdentifier:)
public init(bundleIdentifier: String)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.init(applicationURL:)
public init(applicationURL: URL)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.init(descriptorType:bytes:length:)
public convenience init?(descriptorType: DescType, bytes: UnsafeRawPointer?, length byteCount: Int)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.init(descriptorType:data:)
public convenience init?(descriptorType: DescType, data: Data?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.descriptorType
open var descriptorType: DescType { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.data
open var data: Data { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.booleanValue
open var booleanValue: Bool { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.int32Value
open var int32Value: Int32 { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.doubleValue
open var doubleValue: Double { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.stringValue
open var stringValue: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.dateValue
open var dateValue: Date? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.fileURLValue
open var fileURLValue: URL? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.eventClass
open var eventClass: AEEventClass { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.setParam(_:forKeyword:)
open func setParam(_ descriptor: NSAppleEventDescriptor, forKeyword keyword: AEKeyword)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.paramDescriptor(forKeyword:)
open func paramDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.attributeDescriptor(forKeyword:)
open func attributeDescriptor(forKeyword keyword: AEKeyword) -> NSAppleEventDescriptor?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.sendEvent(options:timeout:)
open func sendEvent(options sendOptions: NSAppleEventDescriptor.SendOptions = [], timeout timeoutInSeconds: TimeInterval) throws -> NSAppleEventDescriptor
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventDescriptor.numberOfItems
open var numberOfItems: Int { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.insert(_:at:)
open func insert(_ descriptor: NSAppleEventDescriptor, at index: Int)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.atIndex(_:)
open func atIndex(_ index: Int) -> NSAppleEventDescriptor?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.coerce(toDescriptorType:)
open func coerce(toDescriptorType descriptorType: DescType) -> NSAppleEventDescriptor?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventDescriptor.SendOptions
public struct SendOptions : OptionSet { noReply, queueReply, waitForReply, neverInteract, canInteract, alwaysInteract, canSwitchLayer, dontRecord, dontExecute, dontAnnotate, defaultOptions }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.11
NSAppleEventManager.shared()
open class func shared() -> NSAppleEventManager
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventManager.setEventHandler(_:andSelector:forEventClass:andEventID:)
open func setEventHandler(_ handler: Any, andSelector handleEventSelector: Selector, forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventManager.removeEventHandler(forEventClass:andEventID:)
open func removeEventHandler(forEventClass eventClass: AEEventClass, andEventID eventID: AEEventID)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventManager.currentAppleEvent
open var currentAppleEvent: NSAppleEventDescriptor? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventManager.currentReplyAppleEvent
open var currentReplyAppleEvent: NSAppleEventDescriptor? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventManager.suspendCurrentAppleEvent()
open func suspendCurrentAppleEvent() -> NSAppleEventManager.SuspensionID?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSAppleEventManager.resume(withSuspensionID:)
open func resume(withSuspensionID suspensionID: NSAppleEventManager.SuspensionID)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSArchiver.init(forWritingWith:)
public init(forWritingWith mdata: NSMutableData)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.archiverData
open var archiverData: NSMutableData { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.encodeRootObject(_:)
open func encodeRootObject(_ rootObject: Any)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.encodeConditionalObject(_:)
open func encodeConditionalObject(_ object: Any?)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.archivedData(withRootObject:)
open class func archivedData(withRootObject rootObject: Any) -> Data
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.archiveRootObject(_:toFile:)
open class func archiveRootObject(_ rootObject: Any, toFile path: String) -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.encodeClassName(_:intoClassName:)
open func encodeClassName(_ trueName: String, intoClassName inArchiveName: String)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.classNameEncoded(forTrueClassName:)
open func classNameEncoded(forTrueClassName trueName: String) -> String?
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSArchiver.replace(_:with:)
open func replace(_ object: Any, with newObject: Any)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.init(forReadingWith:)
public init?(forReadingWith data: Data)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.isAtEnd
open var isAtEnd: Bool { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.systemVersion
open var systemVersion: UInt32 { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.unarchiveObject(with:)
open class func unarchiveObject(with data: Data) -> Any?
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.unarchiveObject(withFile:)
open class func unarchiveObject(withFile path: String) -> Any?
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.classNameDecoded(forArchiveClassName:)
open func classNameDecoded(forArchiveClassName inArchiveName: String) -> String
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSUnarchiver.replace(_:with:)
open func replace(_ object: Any, with newObject: Any)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0-10.13 deprecated
NSDistributedLock.init(path:)
public init?(path: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.try()
open func `try`() -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.unlock()
open func unlock()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.break()
open func `break`()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDistributedLock.lockDate
open var lockDate: Date { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.forType(_:)
open class func forType(_ notificationCenterType: DistributedNotificationCenter.CenterType) -> DistributedNotificationCenter
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.default()
open class func `default`() -> DistributedNotificationCenter
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.addObserver(_:selector:name:object:suspensionBehavior:)
open func addObserver(_ observer: Any, selector: Selector, name: NSNotification.Name?, object: String?, suspensionBehavior: DistributedNotificationCenter.SuspensionBehavior)
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.postNotificationName(_:object:userInfo:deliverImmediately:)
open func postNotificationName(_ name: NSNotification.Name, object: String?, userInfo: [AnyHashable : Any]? = nil, deliverImmediately: Bool)
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.postNotificationName(_:object:userInfo:options:)
open func postNotificationName(_ name: NSNotification.Name, object: String?, userInfo: [AnyHashable : Any]? = nil, options: DistributedNotificationCenter.Options = [])
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.suspended
open var suspended: Bool
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.post(name:object:)
open func post(name aName: NSNotification.Name, object anObject: String?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.removeObserver(_:name:object:)
open func removeObserver(_ observer: Any, name aName: NSNotification.Name?, object anObject: String?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.CenterType
public struct CenterType : Hashable, RawRepresentable { localNotificationCenterType }
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.SuspensionBehavior
public enum SuspensionBehavior : UInt { drop, coalesce, hold, deliverImmediately }
name-resolves only; no executable Foundation codegen
iOSmacOS all
DistributedNotificationCenter.Options
public struct Options : OptionSet { deliverImmediately, postToAllSessions }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSProtocolChecker.init(target:protocol:)
public init(target anObject: NSObject, protocol aProtocol: Protocol)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSProtocolChecker.protocol
open var `protocol`: Protocol { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSProtocolChecker.target
open var target: NSObject? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.register(_:for:)
open class func register(_ description: NSClassDescription, for aClass: AnyClass)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.invalidateClassDescriptionCache()
open class func invalidateClassDescriptionCache()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.init(for:)
public init?(for aClass: AnyClass)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.attributeKeys
open var attributeKeys: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.toOneRelationshipKeys
open var toOneRelationshipKeys: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.toManyRelationshipKeys
open var toManyRelationshipKeys: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSClassDescription.inverse(forRelationshipKey:)
open func inverse(forRelationshipKey relationshipKey: String) -> String?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.init(for:)
public init?(for aClass: AnyClass)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.init(suiteName:className:dictionary:)
public init?(suiteName: String, className: String, dictionary classDeclaration: [AnyHashable : Any]?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.suiteName
open var suiteName: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.className
open var className: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.appleEventCode
open var appleEventCode: FourCharCode { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.supportsCommand(_:)
open func supportsCommand(_ commandDescription: NSScriptCommandDescription) -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.selector(forCommand:)
open func selector(forCommand commandDescription: NSScriptCommandDescription) -> Selector?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.type(forKey:)
open func type(forKey key: String) -> String?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.appleEventCode(forKey:)
open func appleEventCode(forKey key: String) -> FourCharCode
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptClassDescription.hasProperty(forKey:)
open func hasProperty(forKey key: String) -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.5
NSScriptCommand.init(commandDescription:)
public init(commandDescription commandDef: NSScriptCommandDescription)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.commandDescription
open var commandDescription: NSScriptCommandDescription { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.directParameter
open var directParameter: Any?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.receiversSpecifier
open var receiversSpecifier: NSScriptObjectSpecifier?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.evaluatedReceivers
open var evaluatedReceivers: Any? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.arguments
open var arguments: [String : Any]?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.isWellFormed
open var isWellFormed: Bool { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.performDefaultImplementation()
open func performDefaultImplementation() -> Any?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.execute()
open func execute() -> Any?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.scriptErrorNumber
open var scriptErrorNumber: Int
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.scriptErrorString
open var scriptErrorString: String?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.current()
open class func current() -> NSScriptCommand?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.appleEvent
@NSCopying open var appleEvent: NSAppleEventDescriptor? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.suspendExecution()
open func suspendExecution()
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommand.resumeExecution(withResult:)
open func resumeExecution(withResult result: Any?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommandDescription.init(suiteName:commandName:dictionary:)
public init?(suiteName: String, commandName: String, dictionary commandDeclaration: [AnyHashable : Any]?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommandDescription.suiteName
open var suiteName: String { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommandDescription.commandName
open var commandName: String { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommandDescription.commandClassName
open var commandClassName: String { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommandDescription.argumentNames
open var argumentNames: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCommandDescription.createCommandInstance()
open func createCommandInstance() -> NSScriptCommand
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSCloneCommand.keySpecifier
open var keySpecifier: NSScriptObjectSpecifier { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSCloseCommand.saveOptions
open var saveOptions: NSSaveOptions { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSCountCommand
open class NSCountCommand : NSScriptCommand {}
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSCreateCommand.createClassDescription
open var createClassDescription: NSScriptClassDescription { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSCreateCommand.resolvedKeyDictionary
open var resolvedKeyDictionary: [String : Any] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSDeleteCommand.keySpecifier
open var keySpecifier: NSScriptObjectSpecifier { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSExistsCommand
open class NSExistsCommand : NSScriptCommand {}
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSGetCommand
open class NSGetCommand : NSScriptCommand {}
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSMoveCommand.keySpecifier
open var keySpecifier: NSScriptObjectSpecifier { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSQuitCommand.saveOptions
open var saveOptions: NSSaveOptions { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSSetCommand.keySpecifier
open var keySpecifier: NSScriptObjectSpecifier { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.init(descriptor:)
public init?(descriptor: NSAppleEventDescriptor)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.5
NSScriptObjectSpecifier.init(containerSpecifier:key:)
public convenience init(containerSpecifier container: NSScriptObjectSpecifier, key property: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.init(containerClassDescription:containerSpecifier:key:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.child
unowned(unsafe) open var child: NSScriptObjectSpecifier?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.container
open var container: NSScriptObjectSpecifier?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.key
open var key: String
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.objectsByEvaluatingSpecifier
open var objectsByEvaluatingSpecifier: Any? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptObjectSpecifier.descriptor
@NSCopying open var descriptor: NSAppleEventDescriptor? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.5
NSIndexSpecifier.init(containerClassDescription:containerSpecifier:key:index:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, index: Int)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSIndexSpecifier.index
open var index: Int
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSMiddleSpecifier
open class NSMiddleSpecifier : NSScriptObjectSpecifier {}
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSNameSpecifier.init(containerClassDescription:containerSpecifier:key:name:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, name: String)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSNameSpecifier.name
open var name: String
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSPositionalSpecifier.init(position:objectSpecifier:)
public init(position: NSPositionalSpecifier.InsertionPosition, objectSpecifier specifier: NSScriptObjectSpecifier)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSPositionalSpecifier.InsertionPosition
public enum InsertionPosition : UInt { after, before, beginning, end, replace }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSPropertySpecifier
open class NSPropertySpecifier : NSScriptObjectSpecifier {}
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSRandomSpecifier
open class NSRandomSpecifier : NSScriptObjectSpecifier {}
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSRangeSpecifier.init(containerClassDescription:containerSpecifier:key:start:end:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, start startSpec: NSScriptObjectSpecifier?, end endSpec: NSScriptObjectSpecifier?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSRangeSpecifier.startSpecifier
open var startSpecifier: NSScriptObjectSpecifier?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSRelativeSpecifier.init(containerClassDescription:containerSpecifier:key:relativePosition:baseSpecifier:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, relativePosition relPos: NSRelativeSpecifier.RelativePosition, baseSpecifier: NSScriptObjectSpecifier?)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSRelativeSpecifier.RelativePosition
public enum RelativePosition : UInt { after, before }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSUniqueIDSpecifier.init(containerClassDescription:containerSpecifier:key:uniqueID:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, uniqueID: Any)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSUniqueIDSpecifier.uniqueID
open var uniqueID: Any
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSWhoseSpecifier.init(containerClassDescription:containerSpecifier:key:test:)
public init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String, test: NSScriptWhoseTest)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSWhoseSpecifier.test
open var test: NSScriptWhoseTest
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSWhoseSpecifier.SubelementIdentifier
public enum SubelementIdentifier : UInt { indexSubelement, everySubelement, middleSubelement, randomSubelement, noSubelement }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSSaveOptions
public enum NSSaveOptions : UInt { yes, no, ask }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptSuiteRegistry.shared()
open class func shared() -> NSScriptSuiteRegistry
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptSuiteRegistry.loadSuites(from:)
open func loadSuites(from bundle: Bundle)
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptSuiteRegistry.suiteNames
open var suiteNames: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptSuiteRegistry.classDescription(withAppleEventCode:)
open func classDescription(withAppleEventCode appleEventCode: FourCharCode) -> NSScriptClassDescription?
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCoercionHandler.shared()
open class func shared() -> NSScriptCoercionHandler
name-resolves only; no executable Foundation codegen
iOSmacOS all
NSScriptCoercionHandler.coerceValue(_:to:)
open func coerceValue(_ value: Any, to toClass: AnyClass) -> Any?
name-resolves only; no executable Foundation codegen
iOSmacOS all
Host.current()
open class func current() -> Self
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.init(name:)
public convenience init(name: String?)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.init(address:)
public convenience init(address: String)
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.isEqual(to:)
open func isEqual(to aHost: Host) -> Bool
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.name
open var name: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.names
open var names: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.address
open var address: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.addresses
open var addresses: [String] { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.0 deprecated
Host.localizedName
open var localizedName: String? { get }
name-resolves only; no executable Foundation codegen
iOSmacOS macOS 10.6 deprecated
NSConnection
import Foundation.NSConnection (legacy DO; no Swift decl in dump)
name-resolves only; no executable Foundation codegen
iOSmacOS deprecated/header-only
NSDistantObject
import Foundation.NSDistantObject (legacy DO proxy; no Swift decl in dump)
name-resolves only; no executable Foundation codegen
iOSmacOS deprecated/header-only
NSDistributedNotificationCenter
import Foundation.NSDistributedNotificationCenter (use DistributedNotificationCenter; no NS-named decl)
name-resolves only; no executable Foundation codegen
iOSmacOS header-only
NSPortNameServer
import Foundation.NSPortNameServer (no Swift decl in dump)
name-resolves only; no executable Foundation codegen
iOSmacOS deprecated/header-only
NSGarbageCollector
import Foundation.NSGarbageCollector (obsolete GC; no Swift decl in dump)
name-resolves only; no executable Foundation codegen
iOSmacOS deprecated/header-only
NSHFSFileTypes
import Foundation.NSHFSFileTypes (free fn header; no Swift decl in dump)
name-resolves only; no executable Foundation codegen
iOSmacOS deprecated/header-only
NSCalendarDate
import Foundation.NSCalendarDate; returned by NSObject.date(withCalendarFormat:timeZone:) (no Swift decl)
name-resolves only; no executable Foundation codegen
iOSmacOS deprecated/header-only