Created
February 14, 2024 17:14
-
-
Save juliensagot/f4bd46a50667ef6e54a7d90a118f08b0 to your computer and use it in GitHub Desktop.
SwiftUI Interface (from Xcode 15.3 Beta 3, module names removed)
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swift-interface-format-version: 1.0 | |
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.12.5 clang-1500.3.9.1.1) | |
// swift-module-flags: -target arm64e-apple-ios17.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -library-level api -library-level api -enable-experimental-feature Macros -enable-experimental-feature ExtensionMacros -package-name SwiftUI -enable-bare-slash-regex -user-module-version 5.4.37 -module-name SwiftUI | |
import Accessibility | |
import Combine | |
import CoreData | |
import CoreFoundation | |
@_exported import CoreGraphics | |
import CoreText | |
@_exported import CoreTransferable | |
import Darwin | |
@_exported import DeveloperToolsSupport | |
import Foundation | |
import OSLog | |
import Observation | |
import Swift | |
@_exported import SwiftUI | |
import Symbols | |
import UIKit | |
import UniformTypeIdentifiers | |
import _Concurrency | |
import _StringProcessing | |
import _SwiftConcurrencyShims | |
import os.log | |
import os | |
import os.signpost | |
extension EnvironmentValues { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public var accessibilityLargeContentViewerEnabled: Bool { | |
get | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public var _accessibilityLargeContentViewerEnabled: Bool { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func accessibilityShowsLargeContentViewer<V>(@ViewBuilder _ largeContentView: () -> V) -> some View where V : View | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func accessibilityShowsLargeContentViewer() -> some View | |
} | |
extension TextField where Label == Text { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload public init<S, F>(_ title: S, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where S : StringProtocol, F : ParseableFormatStyle, F.FormatOutput == String | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload public init<S, F>(_ title: S, value: Binding<F.FormatInput>, format: F, prompt: Text? = nil) where S : StringProtocol, F : ParseableFormatStyle, F.FormatOutput == String | |
} | |
extension TextField { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init<F>(value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil, @ViewBuilder label: () -> Label) where F : ParseableFormatStyle, F.FormatOutput == String | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init<F>(value: Binding<F.FormatInput>, format: F, prompt: Text? = nil, @ViewBuilder label: () -> Label) where F : ParseableFormatStyle, F.FormatOutput == String | |
} | |
extension TextField where Label == Text { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter, prompt: Text?) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter, prompt: Text?) where S : StringProtocol | |
} | |
extension TextField { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init<V>(value: Binding<V>, formatter: Formatter, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
} | |
extension TextField where Label == Text { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter) { | |
self.init( | |
titleKey, value: value, formatter: formatter, | |
onEditingChanged: { _ in }, onCommit: {}) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter) where S : StringProtocol { | |
self.init( | |
title, value: value, formatter: formatter, | |
onEditingChanged: { _ in }, onCommit: {}) | |
} | |
} | |
extension TextField where Label == Text { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter, onEditingChanged: @escaping (Bool) -> Void, onCommit: @escaping () -> Void) | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_alwaysEmitIntoClient public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter, onEditingChanged: @escaping (Bool) -> Void) { | |
self.init( | |
titleKey, value: value, formatter: formatter, | |
onEditingChanged: onEditingChanged, onCommit: {}) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_alwaysEmitIntoClient public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter, onCommit: @escaping () -> Void) { | |
self.init( | |
titleKey, value: value, formatter: formatter, | |
onEditingChanged: { _ in }, onCommit: onCommit) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_disfavoredOverload public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter, onEditingChanged: @escaping (Bool) -> Void, onCommit: @escaping () -> Void) where S : StringProtocol | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter, onEditingChanged: @escaping (Bool) -> Void) where S : StringProtocol { | |
self.init( | |
title, value: value, formatter: formatter, | |
onEditingChanged: onEditingChanged, onCommit: {}) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:value:formatter:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter, onCommit: @escaping () -> Void) where S : StringProtocol { | |
self.init( | |
title, value: value, formatter: formatter, | |
onEditingChanged: { _ in }, onCommit: onCommit) | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0) | |
@available(visionOS, unavailable) | |
extension TabViewStyle where Self == CarouselTabViewStyle { | |
@_alwaysEmitIntoClient public static var carousel: CarouselTabViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, renamed: "VerticalTabViewStyle") | |
@available(visionOS, unavailable) | |
public struct CarouselTabViewStyle : TabViewStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<CarouselTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<CarouselTabViewStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension CarouselTabViewStyle : Sendable { | |
} | |
@available(iOS 16.4, tvOS 16.4, *) | |
@available(macOS, unavailable) | |
extension UIHostingController { | |
@available(iOS 16.4, tvOS 16.4, *) | |
@available(macOS, unavailable) | |
@MainActor(unsafe) public var safeAreaRegions: SafeAreaRegions { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct TypesettingLanguage : Sendable, Equatable { | |
public static let automatic: TypesettingLanguage | |
public static func explicit(_ language: Locale.Language) -> TypesettingLanguage | |
public static func == (a: TypesettingLanguage, b: TypesettingLanguage) -> Bool | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func typesettingLanguage(_ language: Locale.Language, isEnabled: Bool = true) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func typesettingLanguage(_ language: TypesettingLanguage, isEnabled: Bool = true) -> some View | |
} | |
extension Text { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func typesettingLanguage(_ language: Locale.Language, isEnabled: Bool = true) -> Text | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func typesettingLanguage(_ language: TypesettingLanguage, isEnabled: Bool = true) -> Text | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
public func navigationSplitViewColumnWidth(_ width: CGFloat) -> some View | |
public func navigationSplitViewColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Table { | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal init(@TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal init(selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal init(selection: Binding<Set<Value.ID>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public enum AccessibilityLabeledPairRole { | |
case label | |
case content | |
public static func == (a: AccessibilityLabeledPairRole, b: AccessibilityLabeledPairRole) -> Bool | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension AccessibilityLabeledPairRole : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityLinkedGroup<ID>(id: ID, in namespace: Namespace.ID) -> some View where ID : Hashable | |
public func accessibilityLabeledPair<ID>(role: AccessibilityLabeledPairRole, id: ID, in namespace: Namespace.ID) -> some View where ID : Hashable | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `Menu` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct MenuButton<Label, Content> : View where Label : View, Content : View { | |
public init(label: Label, @ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10MenuButtonV4bodyQrvp", 0) __<Label, Content> | |
} | |
@available(*, unavailable) | |
extension MenuButton : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `Menu` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuButton where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct RedactionReasons : OptionSet, Sendable { | |
public let rawValue: Int | |
public init(rawValue: Int) | |
public static let placeholder: RedactionReasons | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static let privacy: RedactionReasons | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public static let invalidated: RedactionReasons | |
public typealias ArrayLiteralElement = RedactionReasons | |
public typealias Element = RedactionReasons | |
public typealias RawValue = Int | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func redacted(reason: RedactionReasons) -> some View | |
public func unredacted() -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension EnvironmentValues { | |
public var redactionReasons: RedactionReasons { | |
get | |
set | |
} | |
} | |
@available(macCatalyst 16.2, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal struct NavigationSplitViewOpaqueBackgroundTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension NavigationSplitViewOpaqueBackgroundTraitKey : Sendable { | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct Settings<Content> : Scene where Content : View { | |
public init(@ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some Scene { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI8SettingsV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension Settings : Sendable { | |
} | |
@available(iOS 13.0, macOS 12.0, tvOS 13.0, watchOS 6.0, *) | |
public protocol _PerformanceTest : _Test { | |
var name: String { get } | |
func runTest(host: any _BenchmarkHost, options: [AnyHashable : Any]) | |
} | |
@available(iOS 13.0, macOS 12.0, tvOS 13.0, watchOS 6.0, *) | |
extension __App { | |
public static func _registerPerformanceTests(_ tests: [any _PerformanceTest]) | |
} | |
@available(iOS 13.0, macOS 12.0, tvOS 13.0, watchOS 6.0, *) | |
extension _BenchmarkHost { | |
public func _started(test: any _PerformanceTest) | |
public func _finished(test: any _PerformanceTest) | |
public func _failed(test: any _PerformanceTest) | |
} | |
@available(iOS 17.0, macOS 13.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowResizability : Sendable { | |
public static var automatic: WindowResizability { | |
get | |
set | |
} | |
public static var contentSize: WindowResizability { | |
get | |
set | |
} | |
public static var contentMinSize: WindowResizability { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 13.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
public func windowResizability(_ resizability: WindowResizability) -> some Scene | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum __App { | |
} | |
@available(*, unavailable) | |
extension __App : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension __App { | |
public static func run<V>(_ rootView: V) -> Never where V : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol ListStyle { | |
static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<Self, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<Self, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ListValue<Style, SelectionValue> where Style : ListStyle, SelectionValue : Hashable { | |
} | |
@available(*, unavailable) | |
extension _ListValue : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func listStyle<S>(_ style: S) -> some View where S : ListStyle | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _TestApp { | |
public init() | |
public func run() -> Never | |
} | |
@available(*, unavailable) | |
extension _TestApp : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ViewModifier_Content<Modifier> : View where Modifier : ViewModifier { | |
public static func _makeView(view: _GraphValue<_ViewModifier_Content<Modifier>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<_ViewModifier_Content<Modifier>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_alwaysEmitIntoClient public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? { | |
_viewListCount(inputs: inputs) { _ in nil } | |
} | |
public typealias Body = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct PlaceholderContentView<Value> : View { | |
public static func _makeView(view: _GraphValue<PlaceholderContentView<Value>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<PlaceholderContentView<Value>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension PlaceholderContentView : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ViewModifier_Content : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ViewModifier { | |
public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Text { | |
@_disfavoredOverload public init(_ attributedContent: AttributedString) | |
} | |
extension AttributeScopes { | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
public var swiftUI: AttributeScopes.SwiftUIAttributes.Type { | |
get | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
public struct SwiftUIAttributes : AttributeScope { | |
public let font: AttributeScopes.SwiftUIAttributes.FontAttribute | |
public let foregroundColor: AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute | |
public let backgroundColor: AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute | |
public let strikethroughStyle: AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute | |
public let underlineStyle: AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute | |
public let kern: AttributeScopes.SwiftUIAttributes.KerningAttribute | |
public let tracking: AttributeScopes.SwiftUIAttributes.TrackingAttribute | |
public let baselineOffset: AttributeScopes.SwiftUIAttributes.BaselineOffsetAttribute | |
public let accessibility: AttributeScopes.AccessibilityAttributes | |
public let foundation: AttributeScopes.FoundationAttributes | |
public typealias DecodingConfiguration = AttributeScopeCodableConfiguration | |
public typealias EncodingConfiguration = AttributeScopeCodableConfiguration | |
} | |
} | |
@available(*, unavailable) | |
extension AttributeScopes.SwiftUIAttributes : Sendable { | |
} | |
extension AttributeScopes.SwiftUIAttributes { | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum FontAttribute : AttributedStringKey { | |
public typealias Value = Font | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum ForegroundColorAttribute : AttributedStringKey { | |
public typealias Value = Color | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum BackgroundColorAttribute : AttributedStringKey { | |
public typealias Value = Color | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum StrikethroughStyleAttribute : AttributedStringKey { | |
public typealias Value = Text.LineStyle | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum UnderlineStyleAttribute : AttributedStringKey { | |
public typealias Value = Text.LineStyle | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum KerningAttribute : CodableAttributedStringKey { | |
public typealias Value = CGFloat | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum TrackingAttribute : CodableAttributedStringKey { | |
public typealias Value = CGFloat | |
public static let name: String | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum BaselineOffsetAttribute : CodableAttributedStringKey { | |
public typealias Value = CGFloat | |
public static let name: String | |
} | |
} | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
extension AttributeDynamicLookup { | |
public subscript<T>(dynamicMember keyPath: KeyPath<AttributeScopes.SwiftUIAttributes, T>) -> T where T : AttributedStringKey { | |
get | |
} | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting::actions:)`instead.") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
public struct ActionSheet { | |
public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()]) | |
public typealias Button = Alert.Button | |
} | |
@available(*, unavailable) | |
extension ActionSheet : Sendable { | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting::actions:)`instead.") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
public func actionSheet<T>(item: Binding<T?>, content: (T) -> ActionSheet) -> some View where T : Identifiable | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting::actions:)`instead.") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.") | |
public func actionSheet(isPresented: Binding<Bool>, content: () -> ActionSheet) -> some View | |
} | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumnBuilder { | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where RowValue == C.TableRowValue, Sort == C.TableColumnSortComparator, C : TableColumnContent { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(first: T) -> _ConditionalContent<T, F> where RowValue == T.TableRowValue, Sort == T.TableColumnSortComparator, T : TableColumnContent, F : TableColumnContent, T.TableColumnSortComparator == F.TableColumnSortComparator, T.TableRowValue == F.TableRowValue { | |
_ConditionalContent<T, F>(storage: .trueContent(first)) | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(second: F) -> _ConditionalContent<T, F> where RowValue == T.TableRowValue, Sort == T.TableColumnSortComparator, T : TableColumnContent, F : TableColumnContent, T.TableColumnSortComparator == F.TableColumnSortComparator, T.TableRowValue == F.TableRowValue { | |
_ConditionalContent<T, F>(storage: .falseContent(second)) | |
} | |
} | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension _ConditionalContent : TableColumnContent where TrueContent : TableColumnContent, FalseContent : TableColumnContent { | |
public typealias TableRowValue = TrueContent.TableRowValue | |
public typealias TableColumnSortComparator = TrueContent.TableColumnSortComparator | |
public typealias TableRowBody = Never | |
public static func _makeContent(content: _GraphValue<_ConditionalContent<TrueContent, FalseContent>>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
@usableFromInline | |
internal init(storage: _ConditionalContent<TrueContent, FalseContent>.Storage) | |
public typealias TableColumnBody = Never | |
} | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Optional : TableColumnContent where Wrapped : TableColumnContent { | |
public typealias TableRowValue = Wrapped.TableRowValue | |
public typealias TableColumnSortComparator = Wrapped.TableColumnSortComparator | |
public typealias TableRowBody = Never | |
public static func _makeContent(content: _GraphValue<Optional<Wrapped>>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
public typealias TableColumnBody = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityLabel(_ label: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
public func accessibilityLabel(_ labelKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload public func accessibilityLabel<S>(_ label: S) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityLabel(_ label: Text) -> ModifiedContent<Content, Modifier> | |
public func accessibilityLabel(_ labelKey: LocalizedStringKey) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityLabel<S>(_ label: S) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnyTransition { | |
public static var slide: AnyTransition { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == SlideTransition { | |
@_alwaysEmitIntoClient public static var slide: SlideTransition { | |
get { Self() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct SlideTransition : Transition { | |
public init() | |
public func body(content: SlideTransition.Content, phase: TransitionPhase) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15SlideTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0D5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension SlideTransition : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@available(visionOS, unavailable) | |
public struct SensoryFeedback : Equatable, Sendable { | |
public static let success: SensoryFeedback | |
public static let warning: SensoryFeedback | |
public static let error: SensoryFeedback | |
public static let selection: SensoryFeedback | |
public static let increase: SensoryFeedback | |
public static let decrease: SensoryFeedback | |
public static let start: SensoryFeedback | |
public static let stop: SensoryFeedback | |
public static let alignment: SensoryFeedback | |
public static let levelChange: SensoryFeedback | |
public static let impact: SensoryFeedback | |
public static func impact(weight: SensoryFeedback.Weight = .medium, intensity: Double = 1.0) -> SensoryFeedback | |
public static func impact(flexibility: SensoryFeedback.Flexibility, intensity: Double = 1.0) -> SensoryFeedback | |
public struct Weight : Equatable, Sendable { | |
public static let light: SensoryFeedback.Weight | |
public static let medium: SensoryFeedback.Weight | |
public static let heavy: SensoryFeedback.Weight | |
public static func == (a: SensoryFeedback.Weight, b: SensoryFeedback.Weight) -> Bool | |
} | |
public struct Flexibility : Equatable, Sendable { | |
public static let rigid: SensoryFeedback.Flexibility | |
public static let solid: SensoryFeedback.Flexibility | |
public static let soft: SensoryFeedback.Flexibility | |
public static func == (a: SensoryFeedback.Flexibility, b: SensoryFeedback.Flexibility) -> Bool | |
} | |
public static func == (a: SensoryFeedback, b: SensoryFeedback) -> Bool | |
} | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
extension NavigationViewStyle where Self == ColumnNavigationViewStyle { | |
@_alwaysEmitIntoClient public static var columns: ColumnNavigationViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
public struct ColumnNavigationViewStyle : NavigationViewStyle { | |
@usableFromInline | |
internal init() | |
public func _body(configuration: _NavigationViewStyleConfiguration) -> some View | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func _columnBasedBody(configuration: _NavigationViewStyleConfiguration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI25ColumnNavigationViewStyleV5_body13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
public typealias _Body2 = @_opaqueReturnTypeOf("$s7SwiftUI25ColumnNavigationViewStyleV16_columnBasedBody13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ColumnNavigationViewStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _BenchmarkHost : AnyObject { | |
func _renderForTest(interval: Double) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
func _renderAsyncForTest(interval: Double) -> Bool | |
func _performScrollTest(startOffset: CGFloat, iterations: Int, delta: CGFloat, length: CGFloat, completion: (() -> Void)?) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _Benchmark : _Test { | |
func measure(host: any _BenchmarkHost) -> [Double] | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _BenchmarkHost { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _renderAsyncForTest(interval: Double) -> Bool | |
public func _performScrollTest(startOffset: CGFloat, iterations: Int, delta: CGFloat, length: CGFloat, completion: (() -> Void)?) | |
public func measureAction(action: () -> Void) -> Double | |
public func measureRender(interval: Double = 1.0 / 60.0) -> Double | |
public func measureRenders(seconds: Double) -> [Double] | |
public func measureRenders(duration: Double) -> [Double] | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _TestApp { | |
public func runBenchmarks(_ benchmarks: [any _Benchmark]) -> Never | |
} | |
extension _TestApp { | |
@available(iOS 14.0, macOS 12.0, tvOS 14.0, watchOS 7.0, *) | |
public func runPerformanceTests(_ tests: [any _PerformanceTest]) -> Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _SceneInputs { | |
} | |
@available(*, unavailable) | |
extension _SceneInputs : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var accessibilityDifferentiateWithoutColor: Bool { | |
get | |
} | |
public var _accessibilityDifferentiateWithoutColor: Bool { | |
get | |
set | |
} | |
public var accessibilityReduceTransparency: Bool { | |
get | |
} | |
public var _accessibilityReduceTransparency: Bool { | |
get | |
set | |
} | |
public var accessibilityReduceMotion: Bool { | |
get | |
} | |
public var _accessibilityReduceMotion: Bool { | |
get | |
set | |
} | |
public var accessibilityInvertColors: Bool { | |
get | |
} | |
public var _accessibilityInvertColors: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension EnvironmentValues { | |
public var accessibilityShowButtonShapes: Bool { | |
get | |
} | |
public var _accessibilityShowButtonShapes: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension EnvironmentValues { | |
public var accessibilityDimFlashingLights: Bool { | |
get | |
} | |
public var accessibilityPlayAnimatedImages: Bool { | |
get | |
} | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension EnvironmentValues { | |
public var accessibilityPrefersHeadAnchorAlternative: Bool { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var accessibilityVoiceOverEnabled: Bool { | |
get | |
} | |
public var accessibilitySwitchControlEnabled: Bool { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PrimitiveButtonStyle where Self == DefaultButtonStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct DefaultButtonStyle : PrimitiveButtonStyle { | |
public init() | |
public func makeBody(configuration: DefaultButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI18DefaultButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultButtonStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Binding { | |
public init<V>(_ base: Binding<V>) where Value == V? | |
public init?(_ base: Binding<Value?>) | |
public init<V>(_ base: Binding<V>) where Value == AnyHashable, V : Hashable | |
} | |
@available(iOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
extension PickerStyle where Self == WheelPickerStyle { | |
@_alwaysEmitIntoClient public static var wheel: WheelPickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct WheelPickerStyle : PickerStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<WheelPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<WheelPickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension WheelPickerStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct ListRowInsetsTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: EdgeInsets? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = EdgeInsets? | |
} | |
@available(*, unavailable) | |
extension ListRowInsetsTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func listRowInsets(_ insets: EdgeInsets?) -> some View { | |
return _trait(ListRowInsetsTraitKey.self, insets) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EdgeInsets : Equatable { | |
public var top: CGFloat | |
public var leading: CGFloat | |
public var bottom: CGFloat | |
public var trailing: CGFloat | |
@inlinable public init(top: CGFloat, leading: CGFloat, bottom: CGFloat, trailing: CGFloat) { | |
self.top = top | |
self.leading = leading | |
self.bottom = bottom | |
self.trailing = trailing | |
} | |
@inlinable public init() { | |
self.init(top: 0, leading: 0, bottom: 0, trailing: 0) | |
} | |
public static func == (a: EdgeInsets, b: EdgeInsets) -> Bool | |
} | |
extension EdgeInsets { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal init(_all: CGFloat) | |
} | |
extension EdgeInsets { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, *) | |
@available(watchOS, unavailable) | |
public init(_ nsEdgeInsets: NSDirectionalEdgeInsets) | |
} | |
extension NSDirectionalEdgeInsets { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, *) | |
@available(watchOS, unavailable) | |
public init(_ edgeInsets: EdgeInsets) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EdgeInsets : Animatable, _VectorMath { | |
public typealias AnimatableData = AnimatablePair<CGFloat, AnimatablePair<CGFloat, AnimatablePair<CGFloat, CGFloat>>> | |
public var animatableData: EdgeInsets.AnimatableData { | |
@inlinable get { | |
return .init(top, .init(leading, .init(bottom, trailing))) | |
} | |
@inlinable set { | |
let top = newValue[].0 | |
let leading = newValue[].1[].0 | |
let (bottom, trailing) = newValue[].1[].1[] | |
self = .init( | |
top: top, leading: leading, bottom: bottom, trailing: trailing) | |
} | |
} | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use `View.alert(title:isPresented:presenting::actions:) instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use `View.alert(title:isPresented:presenting::actions:) instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use `View.alert(title:isPresented:presenting::actions:) instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `View.alert(title:isPresented:presenting::actions:) instead.") | |
public struct Alert { | |
public init(title: Text, message: Text? = nil, dismissButton: Alert.Button? = nil) | |
public init(title: Text, message: Text? = nil, primaryButton: Alert.Button, secondaryButton: Alert.Button) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(macOS, unavailable) | |
@available(visionOS, unavailable) | |
public static func sideBySideButtons(title: Text, message: Text? = nil, primaryButton: Alert.Button, secondaryButton: Alert.Button) -> Alert | |
public struct Button { | |
public static func `default`(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
public static func cancel(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
public static func cancel(_ action: (() -> Void)? = {}) -> Alert.Button | |
public static func destructive(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
} | |
} | |
@available(*, unavailable) | |
extension Alert : Sendable { | |
} | |
@available(*, unavailable) | |
extension Alert.Button : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
public func alert<Item>(item: Binding<Item?>, content: (Item) -> Alert) -> some View where Item : Identifiable | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `alert(title:isPresented:presenting::actions:) instead.") | |
public func alert(isPresented: Binding<Bool>, content: () -> Alert) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol GeometryEffect : Animatable, ViewModifier where Self.Body == Never { | |
func effectValue(size: CGSize) -> ProjectionTransform | |
static var _affectsLayout: Bool { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension GeometryEffect { | |
public static var _affectsLayout: Bool { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension GeometryEffect { | |
public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 15.0, macOS 12.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension ToggleStyle where Self == ButtonToggleStyle { | |
@_alwaysEmitIntoClient public static var button: ButtonToggleStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct ButtonToggleStyle : ToggleStyle { | |
public init() | |
public func makeBody(configuration: ButtonToggleStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17ButtonToggleStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ButtonToggleStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
@frozen public enum Orientation : UInt8, CaseIterable, Hashable { | |
case up | |
case upMirrored | |
case down | |
case downMirrored | |
case left | |
case leftMirrored | |
case right | |
case rightMirrored | |
public init?(rawValue: UInt8) | |
public typealias AllCases = [Image.Orientation] | |
public typealias RawValue = UInt8 | |
public static var allCases: [Image.Orientation] { | |
get | |
} | |
public var rawValue: UInt8 { | |
get | |
} | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct Table<Value, Rows, Columns> : View where Value == Rows.TableRowValue, Rows : TableRowContent, Columns : TableColumnContent, Rows.TableRowValue == Columns.TableRowValue { | |
public static func _makeViewList(view: _GraphValue<Table<Value, Rows, Columns>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension Table : Sendable { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Table { | |
@_alwaysEmitIntoClient public init(of valueType: Value.Type, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
// Call into the original deprecated initializer for back deploying. | |
self.init(columns: columns, rows: rows) | |
} | |
@_alwaysEmitIntoClient public init(of valueType: Value.Type, selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
// Call into the original deprecated initializer for back deploying. | |
self.init(selection: selection, columns: columns, rows: rows) | |
} | |
@_alwaysEmitIntoClient public init(of valueType: Value.Type, selection: Binding<Set<Value.ID>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
// Call into the original deprecated initializer for back deploying. | |
self.init(selection: selection, columns: columns, rows: rows) | |
} | |
public init<Sort>(sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
@_alwaysEmitIntoClient public init<Sort>(of valueType: Value.Type, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared { | |
self.init(sortOrder: sortOrder, columns: columns, rows: rows) | |
} | |
public init<Sort>(selection: Binding<Value.ID?>, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
@_alwaysEmitIntoClient public init<Sort>(of valueType: Value.Type, selection: Binding<Value.ID?>, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared { | |
self.init( | |
selection: selection, | |
sortOrder: sortOrder, | |
columns: columns, | |
rows: rows) | |
} | |
public init<Sort>(selection: Binding<Set<Value.ID>>, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
@_alwaysEmitIntoClient public init<Sort>(of valueType: Value.Type, selection: Binding<Set<Value.ID>>, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared { | |
self.init( | |
selection: selection, | |
sortOrder: sortOrder, | |
columns: columns, | |
rows: rows) | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Table { | |
public init<Data>(_ data: Data, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data>(_ data: Data, selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data>(_ data: Data, selection: Binding<Set<Value.ID>>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data, Sort>(_ data: Data, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
public init<Data, Sort>(_ data: Data, selection: Binding<Value.ID?>, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
public init<Data, Sort>(_ data: Data, selection: Binding<Set<Value.ID>>, sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Table { | |
public init(of valueType: Value.Type, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
public init(of valueType: Value.Type, selection: Binding<Value.ID?>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
public init(of valueType: Value.Type, selection: Binding<Set<Value.ID>>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
public init<Sort>(of valueType: Value.Type = Value.self, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
public init<Sort>(of valueType: Value.Type = Value.self, selection: Binding<Value.ID?>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
public init<Sort>(of valueType: Value.Type = Value.self, selection: Binding<Set<Value.ID>>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
public init<Data>(_ data: Data, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data>(_ data: Data, selection: Binding<Value.ID?>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data>(_ data: Data, selection: Binding<Set<Value.ID>>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data, Sort>(_ data: Data, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
public init<Data, Sort>(_ data: Data, selection: Binding<Value.ID?>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
public init<Data, Sort>(_ data: Data, selection: Binding<Set<Value.ID>>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Table { | |
public init<Data>(_ data: Data, children: KeyPath<Value, Data?>, columnCustomization: Binding<TableColumnCustomization<Value>>? = nil, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableOutlineGroupContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<Value.ID?>, columnCustomization: Binding<TableColumnCustomization<Value>>? = nil, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableOutlineGroupContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<Set<Value.ID>>, columnCustomization: Binding<TableColumnCustomization<Value>>? = nil, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableOutlineGroupContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
public init<Data, Sort>(_ data: Data, children: KeyPath<Data.Element, Data?>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>? = nil, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableOutlineGroupContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
public init<Data, Sort>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<Value.ID?>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>? = nil, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableOutlineGroupContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
public init<Data, Sort>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<Set<Value.ID>>, sortOrder: Binding<[Sort]>, columnCustomization: Binding<TableColumnCustomization<Value>>? = nil, @TableColumnBuilder<Value, Sort> columns: () -> Columns) where Rows == TableOutlineGroupContent<Data>, Data : RandomAccessCollection, Sort : SortComparator, Columns.TableRowValue == Data.Element, Data.Element == Sort.Compared | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableOutlineGroupContent<Data> : TableRowContent where Data : RandomAccessCollection, Data.Element : Identifiable { | |
public typealias TableRowValue = Data.Element | |
public var tableRowBody: some TableRowContent { | |
get | |
} | |
public typealias TableRowBody = @_opaqueReturnTypeOf("$s7SwiftUI24TableOutlineGroupContentV12tableRowBodyQrvp", 0) __<Data> | |
} | |
@available(*, unavailable) | |
extension TableOutlineGroupContent : Sendable { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableForEachContent<Data> : TableRowContent where Data : RandomAccessCollection, Data.Element : Identifiable { | |
public typealias TableRowValue = Data.Element | |
public var tableRowBody: some TableRowContent { | |
get | |
} | |
public typealias TableRowBody = @_opaqueReturnTypeOf("$s7SwiftUI19TableForEachContentV12tableRowBodyQrvp", 0) __<Data> | |
} | |
@available(*, unavailable) | |
extension TableForEachContent : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct BackgroundProminence : Hashable, Sendable { | |
public static let standard: BackgroundProminence | |
public static let increased: BackgroundProminence | |
public static func == (a: BackgroundProminence, b: BackgroundProminence) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension EnvironmentValues { | |
public var backgroundProminence: BackgroundProminence { | |
get | |
set | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct DefaultDateProgressLabel : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24DefaultDateProgressLabelV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultDateProgressLabel : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ProgressView { | |
public init(timerInterval: ClosedRange<Date>, countsDown: Bool = true, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> CurrentValueLabel) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ProgressView where CurrentValueLabel == DefaultDateProgressLabel { | |
public init(timerInterval: ClosedRange<Date>, countsDown: Bool = true, @ViewBuilder label: () -> Label) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ProgressView where Label == EmptyView, CurrentValueLabel == DefaultDateProgressLabel { | |
public init(timerInterval: ClosedRange<Date>, countsDown: Bool = true) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension LabelStyle where Self == DefaultLabelStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultLabelStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct DefaultLabelStyle : LabelStyle { | |
public init() | |
public func makeBody(configuration: DefaultLabelStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17DefaultLabelStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultLabelStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EnvironmentValues { | |
public var supportsMultipleWindows: Bool { | |
get | |
} | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func alternatingRowBackgrounds(_ behavior: AlternatingRowBackgroundBehavior = .enabled) -> some View | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct AlternatingRowBackgroundBehavior : Hashable, Sendable { | |
public static let automatic: AlternatingRowBackgroundBehavior | |
public static let enabled: AlternatingRowBackgroundBehavior | |
public static let disabled: AlternatingRowBackgroundBehavior | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: AlternatingRowBackgroundBehavior, b: AlternatingRowBackgroundBehavior) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum _VariadicView { | |
public typealias Root = _VariadicView_Root | |
public typealias ViewRoot = _VariadicView_ViewRoot | |
public typealias Children = _VariadicView_Children | |
public typealias UnaryViewRoot = _VariadicView_UnaryViewRoot | |
public typealias MultiViewRoot = _VariadicView_MultiViewRoot | |
@frozen public struct Tree<Root, Content> where Root : _VariadicView_Root { | |
public var root: Root | |
public var content: Content | |
@inlinable internal init(root: Root, content: Content) { | |
self.root = root | |
self.content = content | |
} | |
@inlinable public init(_ root: Root, @ViewBuilder content: () -> Content) { | |
self.root = root | |
self.content = content() | |
} | |
} | |
} | |
@available(*, unavailable) | |
extension _VariadicView.Tree : Sendable { | |
} | |
@available(*, unavailable) | |
extension _VariadicView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _VariadicView_Root { | |
static var _viewListOptions: Int { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_Root { | |
public static var _viewListOptions: Int { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _VariadicView_ViewRoot : _VariadicView_Root { | |
static func _makeView(root: _GraphValue<Self>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
static func _makeViewList(root: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
associatedtype Body : View | |
@ViewBuilder func body(children: _VariadicView.Children) -> Self.Body | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_ViewRoot where Self.Body == Never { | |
public func body(children: _VariadicView.Children) -> Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _VariadicView_UnaryViewRoot : _VariadicView_ViewRoot { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_UnaryViewRoot { | |
public static func _makeViewList(root: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _VariadicView_MultiViewRoot : _VariadicView_ViewRoot { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_MultiViewRoot { | |
public static func _makeView(root: _GraphValue<Self>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _VariadicView_Children { | |
} | |
@available(*, unavailable) | |
extension _VariadicView_Children : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_ViewRoot { | |
public static func _makeView(root: _GraphValue<Self>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
public static func _makeViewList(root: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView.Tree : View where Root : _VariadicView_ViewRoot, Content : View { | |
public typealias Body = Never | |
public static func _makeView(view: _GraphValue<_VariadicView.Tree<Root, Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<_VariadicView.Tree<Root, Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol ScrollTargetBehavior { | |
func updateTarget(_ target: inout ScrollTarget, context: Self.TargetContext) | |
typealias TargetContext = ScrollTargetBehaviorContext | |
static func _makeInputs(_ behavior: _GraphValue<Self>, inputs: inout _ViewInputs) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ScrollTargetBehavior { | |
public static func _makeInputs(_ behavior: _GraphValue<Self>, inputs: inout _ViewInputs) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ScrollTarget { | |
public var rect: CGRect | |
public var anchor: UnitPoint? | |
} | |
@available(*, unavailable) | |
extension ScrollTarget : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@dynamicMemberLookup public struct ScrollTargetBehaviorContext { | |
public var originalTarget: ScrollTarget { | |
get | |
} | |
public var velocity: CGVector { | |
get | |
} | |
public var contentSize: CGSize { | |
get | |
} | |
public var containerSize: CGSize { | |
get | |
} | |
public var axes: Axis.Set { | |
get | |
} | |
public subscript<T>(dynamicMember keyPath: KeyPath<EnvironmentValues, T>) -> T { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ScrollTargetBehaviorContext : Sendable { | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func scrollTargetBehavior(_ behavior: some ScrollTargetBehavior) -> some View | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func scrollTargetLayout(isEnabled: Bool = true) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _Velocity<Value> : Equatable where Value : Equatable { | |
public var valuePerSecond: Value | |
@inlinable public init(valuePerSecond: Value) { | |
self.valuePerSecond = valuePerSecond | |
} | |
public static func == (a: _Velocity<Value>, b: _Velocity<Value>) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Velocity : Sendable where Value : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Velocity : Comparable where Value : Comparable { | |
public static func < (lhs: _Velocity<Value>, rhs: _Velocity<Value>) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension _Velocity : Hashable where Value : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Velocity : Animatable where Value : Animatable { | |
public typealias AnimatableData = Value.AnimatableData | |
public var animatableData: _Velocity<Value>.AnimatableData { | |
@inlinable get { return valuePerSecond.animatableData } | |
@inlinable set { valuePerSecond.animatableData = newValue } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Velocity : AdditiveArithmetic where Value : AdditiveArithmetic { | |
@inlinable public init() { | |
self.init(valuePerSecond: .zero) | |
} | |
@inlinable public static var zero: _Velocity<Value> { | |
get { | |
return .init(valuePerSecond: .zero) | |
} | |
} | |
@inlinable public static func += (lhs: inout _Velocity<Value>, rhs: _Velocity<Value>) { | |
lhs.valuePerSecond += rhs.valuePerSecond | |
} | |
@inlinable public static func -= (lhs: inout _Velocity<Value>, rhs: _Velocity<Value>) { | |
lhs.valuePerSecond -= rhs.valuePerSecond | |
} | |
@inlinable public static func + (lhs: _Velocity<Value>, rhs: _Velocity<Value>) -> _Velocity<Value> { | |
var r = lhs; r += rhs; return r | |
} | |
@inlinable public static func - (lhs: _Velocity<Value>, rhs: _Velocity<Value>) -> _Velocity<Value> { | |
var r = lhs; r -= rhs; return r | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Velocity : VectorArithmetic where Value : VectorArithmetic { | |
@inlinable public mutating func scale(by rhs: Double) { | |
valuePerSecond.scale(by: rhs) | |
} | |
@inlinable public var magnitudeSquared: Double { | |
get { | |
return valuePerSecond.magnitudeSquared | |
} | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct DismissAction { | |
public func callAsFunction() | |
} | |
@available(*, unavailable) | |
extension DismissAction : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var dismiss: DismissAction { | |
get | |
} | |
public var isPresented: Bool { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color { | |
@frozen public struct Resolved : Hashable { | |
public var linearRed: Float | |
public var linearGreen: Float | |
public var linearBlue: Float | |
public var opacity: Float | |
public static func == (a: Color.Resolved, b: Color.Resolved) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public init(_ resolved: Color.Resolved) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color.Resolved : ShapeStyle { | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public typealias Resolved = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color.Resolved : CustomStringConvertible { | |
public var description: String { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color.Resolved : Animatable { | |
public typealias AnimatableData = AnimatablePair<Float, AnimatablePair<Float, AnimatablePair<Float, Float>>> | |
public var animatableData: Color.Resolved.AnimatableData { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color.Resolved { | |
public init(colorSpace: Color.RGBColorSpace = .sRGB, red: Float, green: Float, blue: Float, opacity: Float = 1) | |
public var red: Float { | |
get | |
set | |
} | |
public var green: Float { | |
get | |
set | |
} | |
public var blue: Float { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color.Resolved : Codable { | |
public func encode(to encoder: any Encoder) throws | |
public init(from decoder: any Decoder) throws | |
} | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
extension Color { | |
public init(_ cgColor: CGColor) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Color { | |
public init(cgColor: CGColor) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color.Resolved { | |
public var cgColor: CGColor { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public static var _mainNamedBundle: Bundle? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public init(_ name: String, bundle: Bundle? = nil) | |
public init(_ name: String, bundle: Bundle? = nil, label: Text) | |
public init(decorative name: String, bundle: Bundle? = nil) | |
@available(macOS 11.0, *) | |
public init(systemName: String) | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public init(_internalSystemName systemName: String) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Image { | |
public init(systemName: String, variableValue: Double?) | |
public init(_internalSystemName systemName: String, variableValue: Double?) | |
public init(_ name: String, variableValue: Double?, bundle: Bundle? = nil) | |
public init(_ name: String, variableValue: Double?, bundle: Bundle? = nil, label: Text) | |
public init(decorative name: String, variableValue: Double?, bundle: Bundle? = nil) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
@available(*, deprecated, message: "Use .renderingMode(.original)") | |
public init(_systemName systemName: String, colorPalette: [Color]? = nil) | |
@available(*, deprecated, message: "Use .renderingMode(.original)") | |
public init(_internalSystemName systemName: String, colorPalette: [Color]? = nil) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Image { | |
public init(_ resource: ImageResource) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct UnitPoint : Hashable { | |
public var x: CGFloat | |
public var y: CGFloat | |
@inlinable public init() { | |
self.init(x: 0, y: 0) | |
} | |
@inlinable public init(x: CGFloat, y: CGFloat) { | |
self.x = x | |
self.y = y | |
} | |
public static let zero: UnitPoint | |
public static let center: UnitPoint | |
public static let leading: UnitPoint | |
public static let trailing: UnitPoint | |
public static let top: UnitPoint | |
public static let bottom: UnitPoint | |
public static let topLeading: UnitPoint | |
public static let topTrailing: UnitPoint | |
public static let bottomLeading: UnitPoint | |
public static let bottomTrailing: UnitPoint | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: UnitPoint, b: UnitPoint) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension UnitPoint : Animatable { | |
public typealias AnimatableData = AnimatablePair<CGFloat, CGFloat> | |
public var animatableData: UnitPoint.AnimatableData { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Color { | |
public init(_ name: String, bundle: Bundle? = nil) | |
public static var _mainNamedBundle: Bundle? | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Color { | |
public init(_ resource: ColorResource) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct AnyGesture<Value> : Gesture { | |
fileprivate var storage: AnyGestureStorageBase<Value> | |
public init<T>(_ gesture: T) where Value == T.Value, T : Gesture | |
public static func _makeGesture(gesture: _GraphValue<AnyGesture<Value>>, inputs: _GestureInputs) -> _GestureOutputs<Value> | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension AnyGesture : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyGestureStorageBase<Value> { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyGestureStorageBase : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 17.0, watchOS 8.0, *) | |
extension PrimitiveButtonStyle where Self == BorderlessButtonStyle { | |
@_alwaysEmitIntoClient public static var borderless: BorderlessButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 17.0, watchOS 8.0, *) | |
public struct BorderlessButtonStyle : PrimitiveButtonStyle { | |
public init() | |
public func makeBody(configuration: BorderlessButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21BorderlessButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderlessButtonStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct _WidgetInputs { | |
} | |
@available(*, unavailable) | |
extension _WidgetInputs : Sendable { | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func containerRelativeFrame(_ axes: Axis.Set, count: Int, span: Int = 1, spacing: CGFloat, alignment: Alignment = .center) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center, _ length: @escaping (CGFloat, Axis) -> CGFloat) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Font { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func system(size: CGFloat, weight: Font.Weight? = nil, design: Font.Design? = nil) -> Font | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `system(size:weight:design:)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `system(size:weight:design:)` instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use `system(size:weight:design:)` instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `system(size:weight:design:)` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `system(size:weight:design:)` instead.") | |
@_disfavoredOverload public static func system(size: CGFloat, weight: Font.Weight = .regular, design: Font.Design = .default) -> Font | |
public enum Design : Hashable, Sendable { | |
case `default` | |
@available(watchOS 7.0, *) | |
case serif | |
case rounded | |
@available(watchOS 7.0, *) | |
case monospaced | |
public static func == (a: Font.Design, b: Font.Design) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
public func navigationDestination<D, C>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View | |
public func navigationDestination<V>(isPresented: Binding<Bool>, @ViewBuilder destination: () -> V) -> some View where V : View | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func navigationDestination<D, C>(item: Binding<Optional<D>>, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ScrollableLayoutView<Data, Layout> : View where Data : RandomAccessCollection, Layout : _ScrollableLayout, Data.Element : View, Data.Index : Hashable { | |
public static func _makeView(view: _GraphValue<_ScrollableLayoutView<Data, Layout>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ScrollableLayoutView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ScrollableLayoutView : _ScrollableContentProvider { | |
public var scrollableContent: _ScrollableLayoutView<Data, Layout> { | |
get | |
} | |
public func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
public typealias Root = _ScrollViewRoot<_ScrollableLayoutView<Data, Layout>> | |
public typealias ScrollableContent = _ScrollableLayoutView<Data, Layout> | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct MenuBarExtra<Label, Content> : Scene where Label : View, Content : View { | |
public init(isInserted: Binding<Bool>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
@MainActor(unsafe) public var body: some Scene { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI12MenuBarExtraV4bodyQrvp", 0) __<Label, Content> | |
} | |
@available(*, unavailable) | |
extension MenuBarExtra : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuBarExtra where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuBarExtra where Label == Label<Text, Image> { | |
public init(_ titleKey: LocalizedStringKey, image: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, image: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public init(_ titleKey: LocalizedStringKey, systemImage: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, systemImage: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public init(_ titleKey: LocalizedStringKey, image: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, image: String, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, systemImage: String, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@usableFromInline | |
internal struct ListRowPlatterColorTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Color? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Color? | |
} | |
@available(*, unavailable) | |
extension ListRowPlatterColorTraitKey : Sendable { | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "listItemTint(_:)") | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@inlinable public func listRowPlatterColor(_ color: Color?) -> some View { | |
_trait(ListRowPlatterColorTraitKey.self, color) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationSplitViewStyle where Self == BalancedNavigationSplitViewStyle { | |
public static var balanced: BalancedNavigationSplitViewStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct BalancedNavigationSplitViewStyle : NavigationSplitViewStyle { | |
public init() | |
public func makeBody(configuration: BalancedNavigationSplitViewStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI32BalancedNavigationSplitViewStyleV8makeBody13configurationQrAA0defG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BalancedNavigationSplitViewStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension FormStyle where Self == ColumnsFormStyle { | |
public static var columns: ColumnsFormStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ColumnsFormStyle : FormStyle { | |
public init() | |
public func makeBody(configuration: ColumnsFormStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16ColumnsFormStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ColumnsFormStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum AccessibilityAdjustmentDirection : Sendable { | |
case increment | |
case decrement | |
public static func == (a: AccessibilityAdjustmentDirection, b: AccessibilityAdjustmentDirection) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func accessibilityAdjustableAction(_ handler: @escaping (AccessibilityAdjustmentDirection) -> Void) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityAdjustableAction(_ handler: @escaping (AccessibilityAdjustmentDirection) -> Void) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AccessibilityTextContentType : Sendable { | |
public static let plain: AccessibilityTextContentType | |
public static let console: AccessibilityTextContentType | |
public static let fileSystem: AccessibilityTextContentType | |
public static let messaging: AccessibilityTextContentType | |
public static let narrative: AccessibilityTextContentType | |
public static let sourceCode: AccessibilityTextContentType | |
public static let spreadsheet: AccessibilityTextContentType | |
public static let wordProcessing: AccessibilityTextContentType | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum AccessibilityHeadingLevel : UInt { | |
case unspecified | |
case h1 | |
case h2 | |
case h3 | |
case h4 | |
case h5 | |
case h6 | |
public init?(rawValue: UInt) | |
public typealias RawValue = UInt | |
public var rawValue: UInt { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Text { | |
public func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> Text | |
public func accessibilityHeading(_ level: AccessibilityHeadingLevel) -> Text | |
public func accessibilityLabel(_ label: Text) -> Text | |
public func accessibilityLabel(_ labelKey: LocalizedStringKey) -> Text | |
@_disfavoredOverload public func accessibilityLabel<S>(_ label: S) -> Text where S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
public func accessibilityHeading(_ level: AccessibilityHeadingLevel) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityTextContentType(_ textContentType: AccessibilityTextContentType) -> ModifiedContent<Content, Modifier> | |
public func accessibilityHeading(_ level: AccessibilityHeadingLevel) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol AlignmentID { | |
static func defaultValue(in context: ViewDimensions) -> CGFloat | |
static func _combineExplicit(childValue: CGFloat, _ n: Int, into parentValue: inout CGFloat?) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AlignmentID { | |
public static func _combineExplicit(childValue: CGFloat, _ n: Int, into parentValue: inout CGFloat?) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct HorizontalAlignment : Equatable { | |
public init(_ id: any AlignmentID.Type) | |
@usableFromInline | |
internal let key: AlignmentKey | |
public static func == (a: HorizontalAlignment, b: HorizontalAlignment) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension HorizontalAlignment { | |
public func combineExplicit<S>(_ values: S) -> CGFloat? where S : Sequence, S.Element == CGFloat? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct VerticalAlignment : Equatable { | |
public init(_ id: any AlignmentID.Type) | |
@usableFromInline | |
internal let key: AlignmentKey | |
public static func == (a: VerticalAlignment, b: VerticalAlignment) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension VerticalAlignment { | |
public func combineExplicit<S>(_ values: S) -> CGFloat? where S : Sequence, S.Element == CGFloat? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Alignment : Equatable { | |
public var horizontal: HorizontalAlignment | |
public var vertical: VerticalAlignment | |
@inlinable public init(horizontal: HorizontalAlignment, vertical: VerticalAlignment) { | |
self.horizontal = horizontal | |
self.vertical = vertical | |
} | |
public static func == (a: Alignment, b: Alignment) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension HorizontalAlignment { | |
public static let leading: HorizontalAlignment | |
public static let center: HorizontalAlignment | |
public static let trailing: HorizontalAlignment | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension VerticalAlignment { | |
public static let top: VerticalAlignment | |
public static let center: VerticalAlignment | |
public static let bottom: VerticalAlignment | |
public static let firstTextBaseline: VerticalAlignment | |
public static let lastTextBaseline: VerticalAlignment | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Alignment { | |
public static let center: Alignment | |
public static let leading: Alignment | |
public static let trailing: Alignment | |
public static let top: Alignment | |
public static let bottom: Alignment | |
public static let topLeading: Alignment | |
public static let topTrailing: Alignment | |
public static let bottomLeading: Alignment | |
public static let bottomTrailing: Alignment | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Alignment { | |
@_alwaysEmitIntoClient public static var centerFirstTextBaseline: Alignment { | |
get { | |
.init(horizontal: .center, vertical: .firstTextBaseline) } | |
} | |
@_alwaysEmitIntoClient public static var centerLastTextBaseline: Alignment { | |
get { | |
.init(horizontal: .center, vertical: .lastTextBaseline) } | |
} | |
@_alwaysEmitIntoClient public static var leadingFirstTextBaseline: Alignment { | |
get { | |
.init(horizontal: .leading, vertical: .firstTextBaseline) } | |
} | |
@_alwaysEmitIntoClient public static var leadingLastTextBaseline: Alignment { | |
get { | |
.init(horizontal: .leading, vertical: .lastTextBaseline) } | |
} | |
@_alwaysEmitIntoClient public static var trailingFirstTextBaseline: Alignment { | |
get { | |
.init(horizontal: .trailing, vertical: .firstTextBaseline) } | |
} | |
@_alwaysEmitIntoClient public static var trailingLastTextBaseline: Alignment { | |
get { | |
.init(horizontal: .trailing, vertical: .lastTextBaseline) } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
@frozen internal struct AlignmentKey : Hashable, Comparable { | |
private let bits: UInt | |
@usableFromInline | |
internal static func < (lhs: AlignmentKey, rhs: AlignmentKey) -> Bool | |
@usableFromInline | |
internal func hash(into hasher: inout Hasher) | |
@usableFromInline | |
internal static func == (a: AlignmentKey, b: AlignmentKey) -> Bool | |
@usableFromInline | |
internal var hashValue: Int { | |
@usableFromInline | |
get | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
extension Image { | |
public init(uiImage: UIImage) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Text { | |
public enum TruncationMode : Sendable { | |
case head | |
case tail | |
case middle | |
public static func == (a: Text.TruncationMode, b: Text.TruncationMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public enum Case : Sendable { | |
case uppercase | |
case lowercase | |
public static func == (a: Text.Case, b: Text.Case) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var multilineTextAlignment: TextAlignment { | |
get | |
set | |
} | |
public var truncationMode: Text.TruncationMode { | |
get | |
set | |
} | |
public var lineSpacing: CGFloat { | |
get | |
set | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var _lineHeightMultiple: CGFloat { | |
get | |
set | |
} | |
public var allowsTightening: Bool { | |
get | |
set | |
} | |
public var minimumScaleFactor: CGFloat { | |
get | |
set | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var textCase: Text.Case? { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func multilineTextAlignment(_ alignment: TextAlignment) -> some View { | |
return environment(\.multilineTextAlignment, alignment) | |
} | |
@inlinable public func truncationMode(_ mode: Text.TruncationMode) -> some View { | |
return environment(\.truncationMode, mode) | |
} | |
@inlinable public func lineSpacing(_ lineSpacing: CGFloat) -> some View { | |
return environment(\.lineSpacing, lineSpacing) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
@available(*, deprecated, renamed: "lineHeightMultiple") | |
internal func _lineHeightMultiple(_ multiple: CGFloat) -> some View | |
@inlinable public func allowsTightening(_ flag: Bool) -> some View { | |
return environment(\.allowsTightening, flag) | |
} | |
@inlinable public func minimumScaleFactor(_ factor: CGFloat) -> some View { | |
return environment(\.minimumScaleFactor, factor) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@inlinable public func textCase(_ textCase: Text.Case?) -> some View { | |
environment(\.textCase, textCase) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension TextFieldStyle where Self == DefaultTextFieldStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultTextFieldStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct DefaultTextFieldStyle : TextFieldStyle { | |
public init() | |
public func _body(configuration: TextField<DefaultTextFieldStyle._Label>) -> DefaultTextFieldStyle._Body | |
public struct _Body : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21DefaultTextFieldStyleV5_BodyV4bodyQrvp", 0) __ | |
} | |
} | |
@available(*, unavailable) | |
extension DefaultTextFieldStyle : Sendable { | |
} | |
@available(*, unavailable) | |
extension DefaultTextFieldStyle._Body : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct AnyShape : Shape, @unchecked Sendable { | |
internal var storage: AnyShapeBox | |
public init<S>(_ shape: S) where S : Shape | |
public func path(in rect: CGRect) -> Path | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = _AnyAnimatableData | |
public var animatableData: AnyShape.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<AnyShape, ForegroundStyle> | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal class AnyShapeBox { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyShapeBox : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
#if compiler(>=5.3) && $Sendable | |
public func keyframeAnimator<Value>(initialValue: Value, trigger: some Equatable, @ViewBuilder content: @escaping @Sendable (PlaceholderContentView<Self>, Value) -> some View, @KeyframesBuilder<Value> keyframes: @escaping (Value) -> some Keyframes<Value>) -> some View | |
#endif | |
#if compiler(>=5.3) && $Sendable | |
public func keyframeAnimator<Value>(initialValue: Value, repeating: Bool = true, @ViewBuilder content: @escaping @Sendable (PlaceholderContentView<Self>, Value) -> some View, @KeyframesBuilder<Value> keyframes: @escaping (Value) -> some Keyframes<Value>) -> some View | |
#endif | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct KeyframeAnimator<Value, KeyframePath, Content> : View where Value == KeyframePath.Value, KeyframePath : Keyframes, Content : View { | |
public init(initialValue: Value, trigger: some Equatable, @ViewBuilder content: @escaping (Value) -> Content, @KeyframesBuilder<Value> keyframes: @escaping (Value) -> KeyframePath) | |
public init(initialValue: Value, repeating: Bool = true, @ViewBuilder content: @escaping (Value) -> Content, @KeyframesBuilder<Value> keyframes: @escaping (Value) -> KeyframePath) | |
public static func _makeView(view: _GraphValue<KeyframeAnimator<Value, KeyframePath, Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension KeyframeAnimator : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AnchoredShapeStyle<S> : ShapeStyle where S : ShapeStyle { | |
public var style: S | |
public var bounds: CGRect | |
@inlinable internal init(style: S, bounds: CGRect) { | |
self.style = style | |
self.bounds = bounds | |
} | |
public static func _makeView<T>(view: _GraphValue<_ShapeView<T, _AnchoredShapeStyle<S>>>, inputs: _ViewInputs) -> _ViewOutputs where T : Shape | |
public typealias Resolved = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension _AnchoredShapeStyle { | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle { | |
@inlinable public func `in`(_ rect: CGRect) -> some ShapeStyle { | |
return _AnchoredShapeStyle(style: self, bounds: rect) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct WindowGroup<Content> : Scene where Content : View { | |
public init(id: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init(_ title: Text, id: String, @ViewBuilder content: () -> Content) | |
public init(_ titleKey: LocalizedStringKey, id: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, id: String, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public init(@ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init(_ title: Text, @ViewBuilder content: () -> Content) | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@MainActor(unsafe) public var body: some Scene { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11WindowGroupV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension WindowGroup : Sendable { | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use Animatable directly") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use Animatable directly") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use Animatable directly") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use Animatable directly") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use Animatable directly") | |
public protocol AnimatableModifier : Animatable, ViewModifier { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnimatableModifier { | |
public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ViewModifier where Self : Animatable { | |
public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@available(visionOS, unavailable) | |
extension View { | |
public func sensoryFeedback<T>(_ feedback: SensoryFeedback, trigger: T) -> some View where T : Equatable | |
public func sensoryFeedback<T>(_ feedback: SensoryFeedback, trigger: T, condition: @escaping (_ oldValue: T, _ newValue: T) -> Bool) -> some View where T : Equatable | |
public func sensoryFeedback<T>(trigger: T, _ feedback: @escaping (_ oldValue: T, _ newValue: T) -> SensoryFeedback?) -> some View where T : Equatable | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle where Self == FillShapeStyle { | |
@_alwaysEmitIntoClient public static var fill: FillShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct FillShapeStyle : ShapeStyle { | |
@_alwaysEmitIntoClient public init() {} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public typealias Resolved = Never | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View | |
public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View | |
public func onDrop(of supportedContentTypes: [UTType], delegate: any DropDelegate) -> some View | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping (_ items: [T], _ location: CGPoint) -> Bool, isTargeted: @escaping (Bool) -> Void = { _ in }) -> some View where T : Transferable | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DropInfo { | |
public var location: CGPoint { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
public func hasItemsConforming(to contentTypes: [UTType]) -> Bool | |
@available(iOS 14.0, macOS 11.0, *) | |
public func itemProviders(for contentTypes: [UTType]) -> [NSItemProvider] | |
} | |
@available(*, unavailable) | |
extension DropInfo : Sendable { | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public protocol DropDelegate { | |
@MainActor(unsafe) func validateDrop(info: DropInfo) -> Bool | |
@MainActor(unsafe) func performDrop(info: DropInfo) -> Bool | |
@MainActor(unsafe) func dropEntered(info: DropInfo) | |
@MainActor(unsafe) func dropUpdated(info: DropInfo) -> DropProposal? | |
@MainActor(unsafe) func dropExited(info: DropInfo) | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DropDelegate { | |
@MainActor(unsafe) public func validateDrop(info: DropInfo) -> Bool | |
@MainActor(unsafe) public func dropEntered(info: DropInfo) | |
@MainActor(unsafe) public func dropUpdated(info: DropInfo) -> DropProposal? | |
@MainActor(unsafe) public func dropExited(info: DropInfo) | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public enum DropOperation : Sendable { | |
case cancel | |
case forbidden | |
case copy | |
case move | |
public static func == (a: DropOperation, b: DropOperation) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DropProposal : Sendable { | |
public let operation: DropOperation | |
public init(operation: DropOperation) | |
} | |
@available(iOS, introduced: 13.4, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
extension View { | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func onDrop(of supportedTypes: [String], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func onDrop(of supportedTypes: [String], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func onDrop(of supportedTypes: [String], delegate: any DropDelegate) -> some View | |
} | |
@available(iOS, introduced: 13.4, deprecated: 100000.0, message: "Provide `UTType`s as the `types` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Provide `UTType`s as the `types` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Provide `UTType`s as the `types` instead.") | |
extension DropInfo { | |
public func hasItemsConforming(to types: [String]) -> Bool | |
public func itemProviders(for types: [String]) -> [NSItemProvider] | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func invalidatableContent(_ invalidatable: Bool = true) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture { | |
@inlinable public func sequenced<Other>(before other: Other) -> SequenceGesture<Self, Other> where Other : Gesture { | |
return SequenceGesture(self, other) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct SequenceGesture<First, Second> : Gesture where First : Gesture, Second : Gesture { | |
@frozen public enum Value { | |
case first(First.Value) | |
case second(First.Value, Second.Value?) | |
} | |
public var first: First | |
public var second: Second | |
@inlinable public init(_ first: First, _ second: Second) { | |
(self.first, self.second) = (first, second) | |
} | |
public static func _makeGesture(gesture: _GraphValue<SequenceGesture<First, Second>>, inputs: _GestureInputs) -> _GestureOutputs<SequenceGesture<First, Second>.Value> | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SequenceGesture.Value : Sendable where First.Value : Sendable, Second.Value : Sendable { | |
} | |
@available(*, unavailable) | |
extension SequenceGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SequenceGesture.Value : Equatable where First.Value : Equatable, Second.Value : Equatable { | |
public static func == (a: SequenceGesture<First, Second>.Value, b: SequenceGesture<First, Second>.Value) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
@frozen internal struct PropertyList : CustomStringConvertible { | |
@usableFromInline | |
internal var elements: PropertyList.Element? | |
@inlinable internal init() { elements = nil } | |
@usableFromInline | |
internal var description: String { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension PropertyList : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PropertyList { | |
@_hasMissingDesignatedInitializers @usableFromInline | |
internal class Tracker { | |
@objc @usableFromInline | |
deinit | |
} | |
} | |
@available(*, unavailable) | |
extension PropertyList.Tracker : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PropertyList { | |
@_hasMissingDesignatedInitializers @usableFromInline | |
internal class Element : CustomStringConvertible { | |
@objc deinit | |
@usableFromInline | |
internal var description: String { | |
get | |
} | |
} | |
} | |
@available(*, unavailable) | |
extension PropertyList.Element : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Font : Hashable, Sendable { | |
private var provider: AnyFontBox | |
public func hash(into hasher: inout Hasher) | |
public static func == (lhs: Font, rhs: Font) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyFontBox : @unchecked Sendable { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyFontBox : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func zIndex(_ value: Double) -> some View { | |
return _trait(ZIndexTraitKey.self, value) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct ZIndexTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Double { | |
get { 0.0 } | |
} | |
@usableFromInline | |
internal typealias Value = Double | |
} | |
@available(*, unavailable) | |
extension ZIndexTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ListStyle where Self == DefaultListStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct DefaultListStyle : ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<DefaultListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<DefaultListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension DefaultListStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DismissBehavior : Sendable { | |
public static let interactive: DismissBehavior | |
public static let destructive: DismissBehavior | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Transaction { | |
public var dismissBehavior: DismissBehavior { | |
get | |
set | |
} | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
public enum ContentSizeCategory : Hashable, CaseIterable { | |
case extraSmall | |
case small | |
case medium | |
case large | |
case extraLarge | |
case extraExtraLarge | |
case extraExtraExtraLarge | |
case accessibilityMedium | |
case accessibilityLarge | |
case accessibilityExtraLarge | |
case accessibilityExtraExtraLarge | |
case accessibilityExtraExtraExtraLarge | |
@available(iOS 13.4, macOS 10.15.4, tvOS 13.4, watchOS 6.2, *) | |
public var isAccessibilityCategory: Bool { | |
get | |
} | |
public static func == (a: ContentSizeCategory, b: ContentSizeCategory) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [ContentSizeCategory] | |
public static var allCases: [ContentSizeCategory] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ContentSizeCategory : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ContentSizeCategory { | |
@_alwaysEmitIntoClient public static func < (lhs: ContentSizeCategory, rhs: ContentSizeCategory) -> Bool { | |
func comparisonValue(for sizeCategory: Self) -> Int { | |
switch sizeCategory { | |
case .extraSmall: return 0 | |
case .small: return 1 | |
case .medium: return 2 | |
case .large: return 3 | |
case .extraLarge: return 4 | |
case .extraExtraLarge: return 5 | |
case .extraExtraExtraLarge: return 6 | |
case .accessibilityMedium: return 7 | |
case .accessibilityLarge: return 8 | |
case .accessibilityExtraLarge: return 9 | |
case .accessibilityExtraExtraLarge: return 10 | |
case .accessibilityExtraExtraExtraLarge: return 11 | |
@unknown default: return 3 | |
} | |
} | |
return comparisonValue(for: lhs) < comparisonValue(for: rhs) | |
} | |
@_alwaysEmitIntoClient public static func <= (lhs: ContentSizeCategory, rhs: ContentSizeCategory) -> Bool { | |
!(rhs < lhs) | |
} | |
@_alwaysEmitIntoClient public static func > (lhs: ContentSizeCategory, rhs: ContentSizeCategory) -> Bool { | |
rhs < lhs | |
} | |
@_alwaysEmitIntoClient public static func >= (lhs: ContentSizeCategory, rhs: ContentSizeCategory) -> Bool { | |
!(lhs < rhs) | |
} | |
} | |
extension EnvironmentValues { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
public var sizeCategory: ContentSizeCategory { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Never { | |
public typealias Body = Never | |
public var body: Never { | |
get | |
} | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func listRowHoverEffect(_ effect: HoverEffect?) -> some View | |
public func listRowHoverEffectDisabled(_ disabled: Bool = true) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Animation : Equatable, Sendable { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public init<A>(_ base: A) where A : CustomAnimation | |
internal var box: AnimationBoxBase | |
public static func == (lhs: Animation, rhs: Animation) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Animation : Hashable { | |
@_specialize(exported: false, kind: partial, where V == Double) | |
@_specialize(exported: false, kind: partial, where V == AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>) | |
public func animate<V>(value: V, time: TimeInterval, context: inout AnimationContext<V>) -> V? where V : VectorArithmetic | |
public func velocity<V>(value: V, time: TimeInterval, context: AnimationContext<V>) -> V? where V : VectorArithmetic | |
public func shouldMerge<V>(previous: Animation, value: V, time: TimeInterval, context: inout AnimationContext<V>) -> Bool where V : VectorArithmetic | |
public var base: any CustomAnimation { | |
get | |
} | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Animation : CustomStringConvertible, CustomDebugStringConvertible, CustomReflectable { | |
public var description: String { | |
get | |
} | |
public var debugDescription: String { | |
get | |
} | |
public var customMirror: Mirror { | |
get | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnimationBoxBase : @unchecked Sendable { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnimationBoxBase : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _CommandsInputs { | |
} | |
@available(*, unavailable) | |
extension _CommandsInputs : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _CommandsOutputs { | |
} | |
@available(*, unavailable) | |
extension _CommandsOutputs : Sendable { | |
} | |
@available(iOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func findNavigator(isPresented: Binding<Bool>) -> some View | |
public func findDisabled(_ isDisabled: Bool = true) -> some View | |
public func replaceDisabled(_ isDisabled: Bool = true) -> some View | |
} | |
extension View { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _onEnvironmentChange<Value>(_ keyPath: KeyPath<EnvironmentValues, Value>, perform action: @escaping (Value) -> Void) -> some View where Value : Equatable | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Image { | |
public struct DynamicRange : Hashable, Sendable { | |
public static let standard: Image.DynamicRange | |
public static let constrainedHigh: Image.DynamicRange | |
public static let high: Image.DynamicRange | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: Image.DynamicRange, b: Image.DynamicRange) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
public func allowedDynamicRange(_ range: Image.DynamicRange?) -> Image | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var allowedDynamicRange: Image.DynamicRange? { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension View { | |
@_alwaysEmitIntoClient public func allowedDynamicRange(_ range: Image.DynamicRange?) -> some View { | |
return environment(\.allowedDynamicRange, range) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Text { | |
public func speechAlwaysIncludesPunctuation(_ value: Bool = true) -> Text | |
public func speechSpellsOutCharacters(_ value: Bool = true) -> Text | |
public func speechAdjustedPitch(_ value: Double) -> Text | |
public func speechAnnouncementsQueued(_ value: Bool = true) -> Text | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func speechAlwaysIncludesPunctuation(_ value: Bool = true) -> some View | |
public func speechSpellsOutCharacters(_ value: Bool = true) -> some View | |
public func speechAdjustedPitch(_ value: Double) -> some View | |
public func speechAnnouncementsQueued(_ value: Bool = true) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ShapeStyle where Self == BackgroundStyle { | |
@_alwaysEmitIntoClient public static var background: BackgroundStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct BackgroundStyle : ShapeStyle { | |
@inlinable public init() {} | |
public static func _makeView<S>(view: _GraphValue<_ShapeView<S, BackgroundStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func _addingBackgroundGroup() -> some View | |
public func _addingBackgroundLayer() -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@inlinable public func backgroundStyle<S>(_ style: S) -> some View where S : ShapeStyle { | |
return modifier(_EnvironmentBackgroundStyleModifier(style: style)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EnvironmentValues { | |
public var backgroundStyle: AnyShapeStyle? { | |
get | |
set | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _EnvironmentBackgroundStyleModifier<S> where S : ShapeStyle { | |
@usableFromInline | |
internal var style: S | |
@inlinable internal init(style: S) { self.style = style } | |
public static func _makeViewInputs(modifier: _GraphValue<_EnvironmentBackgroundStyleModifier<S>>, inputs: inout _ViewInputs) | |
public static func _makeViewList(modifier: _GraphValue<_EnvironmentBackgroundStyleModifier<S>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _EnvironmentBackgroundStyleModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AlignmentWritingModifier : ViewModifier { | |
@usableFromInline | |
internal let key: AlignmentKey | |
@usableFromInline | |
internal let computeValue: (ViewDimensions) -> CGFloat | |
@inlinable internal init(key: AlignmentKey, computeValue: @escaping (ViewDimensions) -> CGFloat) { | |
self.key = key | |
self.computeValue = computeValue | |
} | |
public static func _makeView(modifier: _GraphValue<_AlignmentWritingModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _AlignmentWritingModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func alignmentGuide(_ g: HorizontalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View { | |
return modifier( | |
_AlignmentWritingModifier(key: g.key, computeValue: computeValue)) | |
} | |
@inlinable public func alignmentGuide(_ g: VerticalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View { | |
return modifier( | |
_AlignmentWritingModifier(key: g.key, computeValue: computeValue)) | |
} | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public func _makeUIHostingView<Content>(_ view: Content) -> ObjectiveC.NSObject where Content : View | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.4, *) | |
@available(watchOS, unavailable) | |
public func searchScopes<V, S>(_ scope: Binding<V>, @ViewBuilder scopes: () -> S) -> some View where V : Hashable, S : View | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public struct SearchScopeActivation { | |
public static var automatic: SearchScopeActivation { | |
get | |
} | |
@available(tvOS, unavailable) | |
public static var onTextEntry: SearchScopeActivation { | |
get | |
} | |
@available(tvOS, unavailable) | |
public static var onSearchPresentation: SearchScopeActivation { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension SearchScopeActivation : Sendable { | |
} | |
extension View { | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, *) | |
@available(watchOS, unavailable) | |
public func searchScopes<V, S>(_ scope: Binding<V>, activation: SearchScopeActivation, @ViewBuilder _ scopes: () -> S) -> some View where V : Hashable, S : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
public struct TabView<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View { | |
public init(selection: Binding<SelectionValue>?, @ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI7TabViewV4bodyQrvp", 0) __<SelectionValue, Content> | |
} | |
@available(*, unavailable) | |
extension TabView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
extension TabView where SelectionValue == Int { | |
public init(@ViewBuilder content: () -> Content) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@_alwaysEmitIntoClient public func symbolEffectsRemoved(_ isEnabled: Bool = true) -> some View { | |
return modifier(_SymbolEffectsRemovedModifier(isEnabled: isEnabled)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _SymbolEffectsRemovedModifier : ViewModifier, _GraphInputsModifier { | |
@usableFromInline | |
internal var isEnabled: Bool | |
@_alwaysEmitIntoClient internal init(isEnabled: Bool) { self.isEnabled = isEnabled } | |
public static func _makeInputs(modifier: _GraphValue<_SymbolEffectsRemovedModifier>, inputs: inout _GraphInputs) | |
public typealias Body = Never | |
} | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct TextInputDictationBehavior : Equatable, Sendable { | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let automatic: TextInputDictationBehavior | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static func inline(activation: TextInputDictationActivation) -> TextInputDictationBehavior | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let preventDictation: TextInputDictationBehavior | |
public static func == (a: TextInputDictationBehavior, b: TextInputDictationBehavior) -> Bool | |
} | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct TextInputDictationActivation : Equatable, Sendable { | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let onSelect: TextInputDictationActivation | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let onLook: TextInputDictationActivation | |
public static func == (a: TextInputDictationActivation, b: TextInputDictationActivation) -> Bool | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public func selectionDisabled(_ isDisabled: Bool = true) -> some View { | |
_trait(IsSelectionEnabledTraitKey.self, !isDisabled) | |
} | |
} | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableRowContent { | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func selectionDisabled(_ isDisabled: Bool = true) -> some TableRowContent<Self.TableRowValue> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
internal struct IsSelectionEnabledTraitKey : _ViewTraitKey { | |
@usableFromInline | |
internal static let defaultValue: Bool | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsSelectionEnabledTraitKey : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var _defaultSwiftUIActivityEnvironmentLoggingEnabled: Bool | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func userActivity(_ activityType: String, isActive: Bool = true, _ update: @escaping (NSUserActivity) -> ()) -> some View | |
public func userActivity<P>(_ activityType: String, element: P?, _ update: @escaping (P, NSUserActivity) -> ()) -> some View | |
public func onContinueUserActivity(_ activityType: String, perform action: @escaping (NSUserActivity) -> ()) -> some View | |
public func onOpenURL(perform action: @escaping (URL) -> ()) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func handlesExternalEvents(preferring: Set<String>, allowing: Set<String>) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct VStack<Content> : View where Content : View { | |
@usableFromInline | |
internal var _tree: _VariadicView.Tree<_VStackLayout, Content> | |
@inlinable public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content) { | |
_tree = .init( | |
root: _VStackLayout(alignment: alignment, spacing: spacing), content: content()) | |
} | |
public static func _makeView(view: _GraphValue<VStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension VStack : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _VStackLayout { | |
public var alignment: HorizontalAlignment | |
public var spacing: CGFloat? | |
@inlinable public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil) { | |
self.alignment = alignment | |
self.spacing = spacing | |
} | |
} | |
extension _VStackLayout { | |
public typealias Body = Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension _VStackLayout : Layout { | |
public typealias Cache = _StackLayoutCache | |
public typealias AnimatableData = EmptyAnimatableData | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct VStackLayout : Layout { | |
public var alignment: HorizontalAlignment | |
public var spacing: CGFloat? | |
@inlinable public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil) { | |
self.alignment = alignment | |
self.spacing = spacing | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Cache = _VStackLayout.Cache | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct LazyVStack<Content> : View where Content : View { | |
public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content) | |
public static func _makeView(view: _GraphValue<LazyVStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LazyVStack : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol VectorArithmetic : AdditiveArithmetic { | |
mutating func scale(by rhs: Double) | |
var magnitudeSquared: Double { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension VectorArithmetic { | |
@_alwaysEmitIntoClient public func scaled(by rhs: Double) -> Self { | |
var result = self | |
result.scale(by: rhs) | |
return result | |
} | |
@_alwaysEmitIntoClient public mutating func interpolate(towards other: Self, amount: Double) { | |
// lhs + (rhs - lhs) * t | |
var result = other | |
result -= self | |
result.scale(by: amount) | |
result += self | |
self = result | |
} | |
@_alwaysEmitIntoClient public func interpolated(towards other: Self, amount: Double) -> Self { | |
var result = self | |
result.interpolate(towards: other, amount: amount) | |
return result | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Float : VectorArithmetic { | |
@_transparent public mutating func scale(by rhs: Double) { self *= Float(rhs) } | |
@_transparent public var magnitudeSquared: Double { | |
@_transparent get { return Double(self * self) } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Double : VectorArithmetic { | |
@_transparent public mutating func scale(by rhs: Double) { self *= rhs } | |
@_transparent public var magnitudeSquared: Double { | |
@_transparent get { return self * self } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension CGFloat : VectorArithmetic { | |
@_transparent public mutating func scale(by rhs: Double) { self *= CGFloat(rhs) } | |
@_transparent public var magnitudeSquared: Double { | |
@_transparent get { return Double(self * self) } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DisclosureGroupStyle where Self == AutomaticDisclosureGroupStyle { | |
public static var automatic: AutomaticDisclosureGroupStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct AutomaticDisclosureGroupStyle : DisclosureGroupStyle { | |
public init() | |
public func makeBody(configuration: AutomaticDisclosureGroupStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI29AutomaticDisclosureGroupStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticDisclosureGroupStyle : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct TouchBar<Content> where Content : View { | |
public init(@ViewBuilder content: () -> Content) | |
public init(id: String, @ViewBuilder content: () -> Content) | |
} | |
@available(*, unavailable) | |
extension TouchBar : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public enum TouchBarItemPresence : Sendable { | |
case required(_: String) | |
case `default`(_: String) | |
case optional(_: String) | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func touchBar<Content>(_ touchBar: TouchBar<Content>) -> some View where Content : View | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func touchBar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _TouchBarModifier<Content> : ViewModifier where Content : View { | |
public static func _makeView(modifier: _GraphValue<_TouchBarModifier<Content>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _TouchBarModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _EnvironmentKeyTransformModifier<Value> : ViewModifier, _GraphInputsModifier { | |
public var keyPath: WritableKeyPath<EnvironmentValues, Value> | |
public var transform: (inout Value) -> Void | |
@inlinable public init(keyPath: WritableKeyPath<EnvironmentValues, Value>, transform: @escaping (inout Value) -> Void) { | |
self.keyPath = keyPath | |
self.transform = transform | |
} | |
public static func _makeInputs(modifier: _GraphValue<_EnvironmentKeyTransformModifier<Value>>, inputs: inout _GraphInputs) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension _EnvironmentKeyTransformModifier : _SceneModifier { | |
public typealias Body = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Scene { | |
public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some Scene | |
} | |
@available(*, unavailable) | |
extension _EnvironmentKeyTransformModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some View { | |
return modifier(_EnvironmentKeyTransformModifier( | |
keyPath: keyPath, transform: transform)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@dynamicMemberLookup public struct ShaderLibrary : Equatable, @unchecked Sendable { | |
public static let `default`: ShaderLibrary | |
public static func bundle(_ bundle: Bundle) -> ShaderLibrary | |
public init(data: Data) | |
public init(url: URL) | |
public static subscript(dynamicMember name: String) -> ShaderFunction { | |
get | |
} | |
public subscript(dynamicMember name: String) -> ShaderFunction { | |
get | |
} | |
public static func == (lhs: ShaderLibrary, rhs: ShaderLibrary) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@dynamicCallable public struct ShaderFunction : Equatable, Sendable { | |
public var library: ShaderLibrary | |
public var name: String | |
public init(library: ShaderLibrary, name: String) | |
public func dynamicallyCall(withArguments args: [Shader.Argument]) -> Shader | |
public static func == (a: ShaderFunction, b: ShaderFunction) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct Shader : Equatable, Sendable { | |
public struct Argument : Equatable, Sendable { | |
@usableFromInline | |
internal static func _float(_ x: Float) -> Shader.Argument | |
@usableFromInline | |
internal static func _float2(_ x: Float, _ y: Float) -> Shader.Argument | |
@usableFromInline | |
internal static func _float3(_ x: Float, _ y: Float, _ z: Float) -> Shader.Argument | |
@usableFromInline | |
internal static func _float4(_ x: Float, _ y: Float, _ z: Float, _ w: Float) -> Shader.Argument | |
@_alwaysEmitIntoClient public static func float<T>(_ x: T) -> Shader.Argument where T : BinaryFloatingPoint { | |
return _float(Float(x)) | |
} | |
@_alwaysEmitIntoClient public static func float2<T>(_ x: T, _ y: T) -> Shader.Argument where T : BinaryFloatingPoint { | |
return _float2(Float(x), Float(y)) | |
} | |
@_alwaysEmitIntoClient public static func float3<T>(_ x: T, _ y: T, _ z: T) -> Shader.Argument where T : BinaryFloatingPoint { | |
return _float3(Float(x), Float(y), Float(z)) | |
} | |
@_alwaysEmitIntoClient public static func float4<T>(_ x: T, _ y: T, _ z: T, _ w: T) -> Shader.Argument where T : BinaryFloatingPoint { | |
return _float4(Float(x), Float(y), Float(z), Float(w)) | |
} | |
@_alwaysEmitIntoClient public static func float2(_ point: CGPoint) -> Shader.Argument { | |
return _float2(Float(point.x), Float(point.y)) | |
} | |
@_alwaysEmitIntoClient public static func float2(_ size: CGSize) -> Shader.Argument { | |
return _float2(Float(size.width), Float(size.height)) | |
} | |
@_alwaysEmitIntoClient public static func float2(_ vector: CGVector) -> Shader.Argument { | |
return _float2(Float(vector.dx), Float(vector.dy)) | |
} | |
public static func floatArray(_ array: [Float]) -> Shader.Argument | |
public static var boundingRect: Shader.Argument { | |
get | |
} | |
public static func color(_ color: Color) -> Shader.Argument | |
public static func colorArray(_ array: [Color]) -> Shader.Argument | |
public static func image(_ image: Image) -> Shader.Argument | |
public static func data(_ data: Data) -> Shader.Argument | |
public static func == (a: Shader.Argument, b: Shader.Argument) -> Bool | |
} | |
public var function: ShaderFunction | |
public var arguments: [Shader.Argument] | |
public var dithersColor: Bool { | |
get | |
set | |
} | |
public init(function: ShaderFunction, arguments: [Shader.Argument]) | |
public static func == (a: Shader, b: Shader) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Shader { | |
public typealias Resolved = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension View { | |
public func colorEffect(_ shader: Shader, isEnabled: Bool = true) -> some View | |
public func distortionEffect(_ shader: Shader, maxSampleOffset: CGSize, isEnabled: Bool = true) -> some View | |
public func layerEffect(_ shader: Shader, maxSampleOffset: CGSize, isEnabled: Bool = true) -> some View | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct _ShaderFilterEffect : Sendable { | |
public static func _makeView(modifier: _GraphValue<_ShaderFilterEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension VisualEffect { | |
public func colorEffect(_ shader: Shader, isEnabled: Bool = true) -> some VisualEffect | |
public func distortionEffect(_ shader: Shader, maxSampleOffset: CGSize, isEnabled: Bool = true) -> some VisualEffect | |
public func layerEffect(_ shader: Shader, maxSampleOffset: CGSize, isEnabled: Bool = true) -> some VisualEffect | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension _ShaderFilterEffect : VisualEffect { | |
public static func _makeVisualEffect(effect: _GraphValue<_ShaderFilterEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias AnimatableData = EmptyAnimatableData | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ListStyle where Self == SidebarListStyle { | |
@_alwaysEmitIntoClient public static var sidebar: SidebarListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SidebarListStyle : ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<SidebarListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<SidebarListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension SidebarListStyle : Sendable { | |
} | |
@available(iOS 17.1, macOS 14.1, tvOS 17.1, watchOS 10.1, *) | |
public struct SearchPresentationToolbarBehavior { | |
public static var automatic: SearchPresentationToolbarBehavior { | |
get | |
} | |
public static var avoidHidingContent: SearchPresentationToolbarBehavior { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension SearchPresentationToolbarBehavior : Sendable { | |
} | |
extension View { | |
@available(iOS 17.1, macOS 14.1, tvOS 17.1, watchOS 10.1, *) | |
public func searchPresentationToolbarBehavior(_ behavior: SearchPresentationToolbarBehavior) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _PreferenceTransformModifier<Key> : ViewModifier where Key : PreferenceKey { | |
public var transform: (inout Key.Value) -> Void | |
public typealias Body = Never | |
@inlinable public init(key _: Key.Type = Key.self, transform: @escaping (inout Key.Value) -> Void) { | |
self.transform = transform | |
} | |
public static func _makeView(modifier: _GraphValue<_PreferenceTransformModifier<Key>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
} | |
@available(*, unavailable) | |
extension _PreferenceTransformModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func transformPreference<K>(_ key: K.Type = K.self, _ callback: @escaping (inout K.Value) -> Void) -> some View where K : PreferenceKey { | |
return modifier(_PreferenceTransformModifier<K>(transform: callback)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Scene { | |
@inlinable internal func transformPreference<K>(_ key: K.Type = K.self, _ callback: @escaping (inout K.Value) -> Void) -> some Scene where K : PreferenceKey { | |
modifier(_PreferenceTransformModifier<K>(transform: callback)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct OffsetShape<Content> : Shape where Content : Shape { | |
public var shape: Content | |
public var offset: CGSize | |
@inlinable public init(shape: Content, offset: CGSize) { | |
self.shape = shape | |
self.offset = offset | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<Content.AnimatableData, CGSize.AnimatableData> | |
public var animatableData: OffsetShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<OffsetShape<Content>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension OffsetShape : InsettableShape where Content : InsettableShape { | |
@inlinable public func inset(by amount: CGFloat) -> OffsetShape<Content.InsetShape> { | |
return shape.inset(by: amount).offset(offset) | |
} | |
public typealias InsetShape = OffsetShape<Content.InsetShape> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ScaledShape<Content> : Shape where Content : Shape { | |
public var shape: Content | |
public var scale: CGSize | |
public var anchor: UnitPoint | |
@inlinable public init(shape: Content, scale: CGSize, anchor: UnitPoint = .center) { | |
self.shape = shape | |
self.scale = scale | |
self.anchor = anchor | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<Content.AnimatableData, AnimatablePair<CGSize.AnimatableData, UnitPoint.AnimatableData>> | |
public var animatableData: ScaledShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<ScaledShape<Content>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct RotatedShape<Content> : Shape where Content : Shape { | |
public var shape: Content | |
public var angle: Angle | |
public var anchor: UnitPoint | |
@inlinable public init(shape: Content, angle: Angle, anchor: UnitPoint = .center) { | |
self.shape = shape | |
self.angle = angle | |
self.anchor = anchor | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<Content.AnimatableData, AnimatablePair<Angle.AnimatableData, UnitPoint.AnimatableData>> | |
public var animatableData: RotatedShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<RotatedShape<Content>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension RotatedShape : InsettableShape where Content : InsettableShape { | |
@inlinable public func inset(by amount: CGFloat) -> RotatedShape<Content.InsetShape> { | |
return shape.inset(by: amount).rotation(angle, anchor: anchor) | |
} | |
public typealias InsetShape = RotatedShape<Content.InsetShape> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct TransformedShape<Content> : Shape where Content : Shape { | |
public var shape: Content | |
public var transform: CGAffineTransform | |
@inlinable public init(shape: Content, transform: CGAffineTransform) { | |
self.shape = shape | |
self.transform = transform | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = Content.AnimatableData | |
public var animatableData: TransformedShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<TransformedShape<Content>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape { | |
@inlinable public func offset(_ offset: CGSize) -> OffsetShape<Self> { | |
return OffsetShape(shape: self, offset: offset) | |
} | |
@inlinable public func offset(_ offset: CGPoint) -> OffsetShape<Self> { | |
return OffsetShape( | |
shape: self, offset: CGSize(width: offset.x, height: offset.y)) | |
} | |
@inlinable public func offset(x: CGFloat = 0, y: CGFloat = 0) -> OffsetShape<Self> { | |
return OffsetShape(shape: self, offset: .init(width: x, height: y)) | |
} | |
@inlinable public func scale(x: CGFloat = 1, y: CGFloat = 1, anchor: UnitPoint = .center) -> ScaledShape<Self> { | |
return ScaledShape(shape: self, | |
scale: CGSize(width: x, height: y), anchor: anchor) | |
} | |
@inlinable public func scale(_ scale: CGFloat, anchor: UnitPoint = .center) -> ScaledShape<Self> { | |
return self.scale(x: scale, y: scale, anchor: anchor) | |
} | |
@inlinable public func rotation(_ angle: Angle, anchor: UnitPoint = .center) -> RotatedShape<Self> { | |
return RotatedShape(shape: self, angle: angle, anchor: anchor) | |
} | |
@inlinable public func transform(_ transform: CGAffineTransform) -> TransformedShape<Self> { | |
return TransformedShape(shape: self, transform: transform) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct SubscriptionView<PublisherType, Content> : View where PublisherType : Publisher, Content : View, PublisherType.Failure == Never { | |
public var content: Content | |
public var publisher: PublisherType | |
public var action: (PublisherType.Output) -> Void | |
@inlinable public init(content: Content, publisher: PublisherType, action: @escaping (PublisherType.Output) -> Void) { | |
self.content = content | |
self.publisher = publisher | |
self.action = action | |
} | |
public static func _makeView(view: _GraphValue<SubscriptionView<PublisherType, Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<SubscriptionView<PublisherType, Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension SubscriptionView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func onReceive<P>(_ publisher: P, perform action: @escaping (P.Output) -> Void) -> some View where P : Publisher, P.Failure == Never { | |
SubscriptionView(content: self, publisher: publisher, action: action) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public protocol MenuStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = MenuStyleConfiguration | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct MenuStyleConfiguration { | |
public struct Label : View { | |
public typealias Body = Never | |
} | |
public struct Content : View { | |
public typealias Body = Never | |
} | |
} | |
@available(*, unavailable) | |
extension MenuStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension MenuStyleConfiguration.Label : Sendable { | |
} | |
@available(*, unavailable) | |
extension MenuStyleConfiguration.Content : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension View { | |
public func menuStyle<S>(_ style: S) -> some View where S : MenuStyle | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct OpenWindowAction { | |
public func callAsFunction<D>(value: D) where D : Decodable, D : Encodable, D : Hashable | |
public func callAsFunction(id: String) | |
public func callAsFunction<D>(id: String, value: D) where D : Decodable, D : Encodable, D : Hashable | |
} | |
@available(*, unavailable) | |
extension OpenWindowAction : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var openWindow: OpenWindowAction { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _FixedSizeLayout { | |
@inlinable public init(horizontal: Bool = true, vertical: Bool = true) { | |
self.horizontal = horizontal | |
self.vertical = vertical | |
} | |
@usableFromInline | |
internal var horizontal: Bool | |
@usableFromInline | |
internal var vertical: Bool | |
} | |
extension _FixedSizeLayout { | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func fixedSize(horizontal: Bool, vertical: Bool) -> some View { | |
return modifier( | |
_FixedSizeLayout(horizontal: horizontal, vertical: vertical)) | |
} | |
@inlinable public func fixedSize() -> some View { | |
// This is safe to conditionalize because this doesn't need to | |
// back-deploy this @inlinable function change to older OSes. | |
return fixedSize(horizontal: true, vertical: true) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ToolbarItemGroup<Content> : ToolbarContent where Content : View { | |
public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func _makeToolbar(content: _GraphValue<ToolbarItemGroup<Content>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
public static func _makeContent(content: _GraphValue<ToolbarItemGroup<Content>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension ToolbarItemGroup : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ToolbarItemGroup { | |
public init<C, L>(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> C, @ViewBuilder label: () -> L) where Content == LabeledToolbarItemGroupContent<C, L>, C : View, L : View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct LabeledToolbarItemGroupContent<Content, Label> : View where Content : View, Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI30LabeledToolbarItemGroupContentV4bodyQrvp", 0) __<Content, Label> | |
} | |
@available(*, unavailable) | |
extension LabeledToolbarItemGroupContent : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum ColorScheme : CaseIterable, Sendable { | |
case light | |
case dark | |
public static func == (a: ColorScheme, b: ColorScheme) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [ColorScheme] | |
public static var allCases: [ColorScheme] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum ColorSchemeContrast : CaseIterable, Sendable { | |
case standard | |
case increased | |
public static func == (a: ColorSchemeContrast, b: ColorSchemeContrast) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [ColorSchemeContrast] | |
public static var allCases: [ColorSchemeContrast] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "preferredColorScheme(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "preferredColorScheme(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "preferredColorScheme(_:)") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "preferredColorScheme(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "preferredColorScheme(_:)") | |
@inlinable public func colorScheme(_ colorScheme: ColorScheme) -> some View { | |
return environment(\.colorScheme, colorScheme) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var colorScheme: ColorScheme { | |
get | |
set | |
} | |
public var colorSchemeContrast: ColorSchemeContrast { | |
get | |
} | |
public var _colorSchemeContrast: ColorSchemeContrast { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _FlipForRTLEffect : ViewModifier, Equatable { | |
public var isEnabled: Bool | |
@inlinable public init(isEnabled: Bool) { | |
self.isEnabled = isEnabled | |
} | |
public static func == (a: _FlipForRTLEffect, b: _FlipForRTLEffect) -> Bool | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func flipsForRightToLeftLayoutDirection(_ enabled: Bool) -> some View { | |
modifier(_FlipForRTLEffect(isEnabled: enabled)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _FlipForRTLEffect { | |
public static func _makeView(modifier: _GraphValue<_FlipForRTLEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct OpenDocumentAction { | |
#if compiler(>=5.3) && $AsyncAwait | |
public func callAsFunction(at url: URL) async throws | |
#endif | |
} | |
@available(*, unavailable) | |
extension OpenDocumentAction : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct NewDocumentAction { | |
public func callAsFunction<D>(_ newDocument: @autoclosure @escaping () -> D) where D : FileDocument | |
public func callAsFunction<D>(_ newDocument: @escaping () -> D) where D : ReferenceFileDocument | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension NewDocumentAction { | |
public func callAsFunction(contentType: UTType) | |
} | |
@available(*, unavailable) | |
extension NewDocumentAction : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension EnvironmentValues { | |
public var newDocument: NewDocumentAction { | |
get | |
} | |
public var openDocument: OpenDocumentAction { | |
get | |
} | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension WindowStyle where Self == TitleBarWindowStyle { | |
@_alwaysEmitIntoClient public static var titleBar: TitleBarWindowStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct TitleBarWindowStyle : WindowStyle { | |
public typealias _Body = Never | |
public init() | |
} | |
@available(*, unavailable) | |
extension TitleBarWindowStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol TextEditorStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = TextEditorStyleConfiguration | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TextEditorStyleConfiguration { | |
} | |
@available(*, unavailable) | |
extension TextEditorStyleConfiguration : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func textEditorStyle(_ style: some TextEditorStyle) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TextEditor : View { | |
public init(text: Binding<String>) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10TextEditorV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension TextEditor : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol ToggleStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = ToggleStyleConfiguration | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct ToggleStyleConfiguration { | |
public struct Label : View { | |
public typealias Body = Never | |
} | |
public let label: ToggleStyleConfiguration.Label | |
@Binding @_projectedValueProperty($isOn) public var isOn: Bool { | |
get | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
nonmutating set | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
nonmutating _modify | |
} | |
public var $isOn: Binding<Bool> { | |
get | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public var isMixed: Bool | |
} | |
@available(*, unavailable) | |
extension ToggleStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension ToggleStyleConfiguration.Label : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func toggleStyle<S>(_ style: S) -> some View where S : ToggleStyle | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ScrollableContentProvider { | |
public func root(scrollView: _ScrollView<Self>.Main) -> _ScrollViewRoot<Self> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ScrollViewRoot<P> : View where P : _ScrollableContentProvider { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15_ScrollViewRootV4bodyQrvp", 0) __<P> | |
} | |
@available(*, unavailable) | |
extension _ScrollViewRoot : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuStyle where Self == BorderedButtonMenuStyle { | |
@_alwaysEmitIntoClient public static var borderedButton: BorderedButtonMenuStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct BorderedButtonMenuStyle : MenuStyle { | |
public init() | |
public func makeBody(configuration: BorderedButtonMenuStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI23BorderedButtonMenuStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderedButtonMenuStyle : Sendable { | |
} | |
extension RangeReplaceableCollection where Self : MutableCollection { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public mutating func remove(atOffsets offsets: IndexSet) | |
} | |
extension MutableCollection { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public mutating func move(fromOffsets source: IndexSet, toOffset destination: Int) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct OutlineGroup<Data, ID, Parent, Leaf, Subgroup> where Data : RandomAccessCollection, ID : Hashable { | |
} | |
@available(*, unavailable) | |
extension OutlineGroup : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where ID == Data.Element.ID, Parent : View, Parent == Leaf, Subgroup == DisclosureGroup<Parent, OutlineSubgroupChildren>, Data.Element : Identifiable { | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement : Identifiable, DataElement == Data.Element | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement : Identifiable, DataElement == Data.Element | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where Parent : View, Parent == Leaf, Subgroup == DisclosureGroup<Parent, OutlineSubgroupChildren> { | |
public init<DataElement>(_ root: DataElement, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where DataElement == Data.Element | |
public init<DataElement>(_ data: Data, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where DataElement == Data.Element | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup : View where Parent : View, Leaf : View, Subgroup : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI12OutlineGroupVA2A4ViewR0_AaDR1_AaDR2_rlE4bodyQrvp", 0) __<Data, ID, Parent, Leaf, Subgroup> | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where ID == Data.Element.ID, Parent : View, Parent == Leaf, Subgroup == DisclosureGroup<Parent, OutlineSubgroupChildren>, Data.Element : Identifiable { | |
public init<C, E>(_ root: Binding<E>, children: WritableKeyPath<E, C?>, @ViewBuilder content: @escaping (Binding<E>) -> Leaf) where Data == Binding<C>, ID == E.ID, C : MutableCollection, C : RandomAccessCollection, E : Identifiable, E == C.Element | |
public init<C, E>(_ data: Binding<C>, children: WritableKeyPath<E, C?>, @ViewBuilder content: @escaping (Binding<E>) -> Leaf) where Data == Binding<C>, ID == E.ID, C : MutableCollection, C : RandomAccessCollection, E : Identifiable, E == C.Element | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where Parent : View, Parent == Leaf, Subgroup == DisclosureGroup<Parent, OutlineSubgroupChildren> { | |
public init<C, E>(_ root: Binding<E>, id: KeyPath<E, ID>, children: WritableKeyPath<E, C?>, @ViewBuilder content: @escaping (Binding<E>) -> Leaf) where Data == Binding<C>, C : MutableCollection, C : RandomAccessCollection, E == C.Element | |
public init<C, E>(_ data: Binding<C>, id: KeyPath<E, ID>, children: WritableKeyPath<E, C?>, @ViewBuilder content: @escaping (Binding<E>) -> Leaf) where Data == Binding<C>, C : MutableCollection, C : RandomAccessCollection, E == C.Element | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct OutlineSubgroupChildren : View { | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension OutlineSubgroupChildren : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EmptyView : View { | |
@inlinable public init() {} | |
public static func _makeView(view: _GraphValue<EmptyView>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<EmptyView>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableColumn<RowValue, Sort, Content, Label> : TableColumnContent where RowValue : Identifiable, Sort : SortComparator, Content : View, Label : View { | |
public typealias TableRowValue = RowValue | |
public typealias TableColumnSortComparator = Sort | |
public static func _makeContent(content: _GraphValue<TableColumn<RowValue, Sort, Content, Label>>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
public typealias TableColumnBody = Never | |
} | |
@available(*, unavailable) | |
extension TableColumn : Sendable { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumn where RowValue == Sort.Compared, Label == Text { | |
public init(_ titleKey: LocalizedStringKey, sortUsing comparator: Sort, @ViewBuilder content: @escaping (RowValue) -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, sortUsing comparator: Sort, @ViewBuilder content: @escaping (RowValue) -> Content) where S : StringProtocol | |
@available(iOS 16.6, macOS 13.5, *) | |
public init(_ text: Text, sortUsing comparator: Sort, @ViewBuilder content: @escaping (RowValue) -> Content) | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumn where Sort == Never, Label == Text { | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: @escaping (RowValue) -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: @escaping (RowValue) -> Content) where S : StringProtocol | |
@available(iOS 16.6, macOS 13.5, *) | |
public init(_ text: Text, @ViewBuilder content: @escaping (RowValue) -> Content) | |
public init(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, String>) where Content == Text | |
@_disfavoredOverload public init<S>(_ title: S, value: KeyPath<RowValue, String>) where Content == Text, S : StringProtocol | |
@available(iOS 16.6, macOS 13.5, *) | |
public init(_ text: Text, value: KeyPath<RowValue, String>) where Content == Text | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumn { | |
public func width(_ width: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label> | |
public func width(min: CGFloat? = nil, ideal: CGFloat? = nil, max: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label> | |
@available(*, deprecated, message: "Please pass one or more parameters to modify a column's width.") | |
@_alwaysEmitIntoClient public func width() -> TableColumn<RowValue, Sort, Content, Label> { self } | |
} | |
extension Color.Resolved { | |
@_alwaysEmitIntoClient fileprivate func darkened(to factor: Float) -> Color.Resolved { | |
var color = self | |
color.blue = self.blue * factor | |
color.red = self.red * factor | |
color.green = self.green * factor | |
return color | |
} | |
@_alwaysEmitIntoClient fileprivate func lightened(to factor: Float) -> Color.Resolved { | |
var color = self | |
color.blue = self.blue + (1 - self.blue) * factor | |
color.red = self.red + (1 - self.red) * factor | |
color.green = self.green + (1 - self.green) * factor | |
return color | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _SceneOutputs { | |
} | |
@available(*, unavailable) | |
extension _SceneOutputs : Sendable { | |
} | |
extension View { | |
@available(iOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient public func statusBarHidden(_ hidden: Bool = true) -> some View { | |
statusBar(hidden: hidden) | |
} | |
@available(iOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public func _statusBarHidden(_ hidden: Bool = true) -> some View { | |
_statusBar(hidden: hidden) | |
} | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "statusBarHidden(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "statusBarHidden(_:)") | |
public func statusBar(hidden: Bool) -> some View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "_statusBarHidden(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "_statusBarHidden(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "_statusBarHidden(_:)") | |
public func _statusBar(hidden: Bool) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _DynamicPropertyBuffer { | |
} | |
@available(*, unavailable) | |
extension _DynamicPropertyBuffer : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<Self>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableRowContent { | |
public func draggable<T>(_ payload: @autoclosure @escaping () -> T) -> some TableRowContent<Self.TableRowValue> where T : Transferable | |
public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping (_ items: [T]) -> Void) -> some TableRowContent<Self.TableRowValue> where T : Transferable | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DynamicTableRowContent { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping (Int, [T]) -> Void) -> ModifiedContent<Self, OnInsertTableRowModifier> where T : Transferable | |
@available(*, unavailable, message: "Unavailable for DynamicTableRowContent, use `dropDestination(for:action:)` instead.") | |
public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping (_ items: [T], _ location: CGPoint) -> Bool, isTargeted: (Bool) -> Void = { _ in }) -> some View where T : Transferable | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableRowContent { | |
public func itemProvider(_ action: (() -> NSItemProvider?)?) -> ModifiedContent<Self, ItemProviderTableRowModifier> | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DynamicTableRowContent { | |
public func onInsert(of supportedContentTypes: [UTType], perform action: @escaping (Int, [NSItemProvider]) -> Void) -> ModifiedContent<Self, OnInsertTableRowModifier> | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct ItemProviderTableRowModifier : _TableRowContentModifier { | |
public var body: some _TableRowContentModifier { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI28ItemProviderTableRowModifierV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension ItemProviderTableRowModifier : Sendable { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct OnInsertTableRowModifier : _TableRowContentModifier { | |
public var body: some _TableRowContentModifier { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24OnInsertTableRowModifierV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension OnInsertTableRowModifier : Sendable { | |
} | |
extension View { | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public func keyboardType(_ type: UIKeyboardType) -> some View | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use textInputAutocapitalization(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use textInputAutocapitalization(_:)") | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use textInputAutocapitalization(_:)") | |
public func autocapitalization(_ style: UITextAutocapitalizationType) -> some View | |
} | |
@available(iOS 15.0, tvOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextInputAutocapitalization { | |
public init?(_ type: UITextAutocapitalizationType) | |
} | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
extension View { | |
public func textInputAutocapitalization(_ autocapitalization: TextInputAutocapitalization?) -> some View | |
} | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
public struct TextInputAutocapitalization : Sendable { | |
public static var never: TextInputAutocapitalization { | |
get | |
} | |
public static var words: TextInputAutocapitalization { | |
get | |
} | |
public static var sentences: TextInputAutocapitalization { | |
get | |
} | |
public static var characters: TextInputAutocapitalization { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
public struct DragGesture : Gesture { | |
public struct Value : Equatable, Sendable { | |
public var time: Date | |
public var location: CGPoint | |
public var startLocation: CGPoint | |
public var translation: CGSize { | |
get | |
} | |
@_alwaysEmitIntoClient public var velocity: CGSize { | |
get { | |
let predicted = predictedEndLocation | |
return CGSize( | |
width: 4.0 * (predicted.x - location.x), | |
height: 4.0 * (predicted.y - location.y)) | |
} | |
} | |
public var predictedEndLocation: CGPoint { | |
get | |
} | |
public var predictedEndTranslation: CGSize { | |
get | |
} | |
public static func == (a: DragGesture.Value, b: DragGesture.Value) -> Bool | |
} | |
public var minimumDistance: CGFloat | |
public var coordinateSpace: CoordinateSpace | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(tvOS, unavailable) | |
@_disfavoredOverload public init(minimumDistance: CGFloat = 10, coordinateSpace: CoordinateSpace = .local) | |
@available(iOS 17.0, macOS 14.0, watchOS 10.0, *) | |
@available(tvOS, unavailable) | |
public init(minimumDistance: CGFloat = 10, coordinateSpace: some CoordinateSpaceProtocol = .local) | |
public static func _makeGesture(gesture: _GraphValue<DragGesture>, inputs: _GestureInputs) -> _GestureOutputs<DragGesture.Value> | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension DragGesture : Sendable { | |
} | |
@available(macOS 11.0, visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol WindowStyle { | |
associatedtype _Body : View | |
} | |
@available(macOS 11.0, visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
public func windowStyle<S>(_ style: S) -> some Scene where S : WindowStyle | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func presentedWindowStyle<S>(_ style: S) -> some View where S : WindowStyle | |
} | |
extension FocusedValue { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public init(_ objectType: Value.Type) where Value : AnyObject, Value : Observable | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func focusedValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Observable { | |
@usableFromInline | |
internal static var focusedValueKey: WritableKeyPath<FocusedValues, Self?> { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
@inlinable public func overlayPreferenceValue<K, V>(_ key: K.Type, alignment: Alignment = .center, @ViewBuilder _ transform: @escaping (K.Value) -> V) -> some View where K : PreferenceKey, V : View { | |
return modifier(_OverlayPreferenceModifier<K, V>( | |
alignment: alignment, transform: transform)) | |
} | |
@inlinable public func backgroundPreferenceValue<K, V>(_ key: K.Type, alignment: Alignment = .center, @ViewBuilder _ transform: @escaping (K.Value) -> V) -> some View where K : PreferenceKey, V : View { | |
return modifier(_BackgroundPreferenceModifier<K, V>( | |
alignment: alignment, transform: transform)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@_alwaysEmitIntoClient @_disfavoredOverload public func overlayPreferenceValue<K, V>(_v0: Void = (), _ key: K.Type, alignment: Alignment, @ViewBuilder _ transform: @escaping (K.Value) -> V) -> some View where K : PreferenceKey, V : View { | |
K._delay { self.overlay($0._force(transform), alignment: alignment) } | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public func backgroundPreferenceValue<K, V>(_v0: Void = (), _ key: K.Type, alignment: Alignment, @ViewBuilder _ transform: @escaping (K.Value) -> V) -> some View where K : PreferenceKey, V : View { | |
K._delay { self.background($0._force(transform), alignment: alignment) } | |
} | |
@inlinable @_disfavoredOverload public func overlayPreferenceValue<Key, T>(_ key: Key.Type = Key.self, @ViewBuilder _ transform: @escaping (Key.Value) -> T) -> some View where Key : PreferenceKey, T : View { | |
return Key._delay { self.overlay($0._force(transform)) } | |
} | |
@inlinable @_disfavoredOverload public func backgroundPreferenceValue<Key, T>(_ key: Key.Type = Key.self, @ViewBuilder _ transform: @escaping (Key.Value) -> T) -> some View where Key : PreferenceKey, T : View { | |
return Key._delay { self.background($0._force(transform)) } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _OverlayPreferenceModifier<Key, Overlay> where Key : PreferenceKey, Overlay : View { | |
public var transform: (Key.Value) -> Overlay | |
public var alignment: Alignment | |
@inlinable public init(alignment: Alignment, @ViewBuilder transform: @escaping (Key.Value) -> Overlay) { | |
self.transform = transform | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: _GraphValue<_OverlayPreferenceModifier<Key, Overlay>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _OverlayPreferenceModifier : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _BackgroundPreferenceModifier<Key, Overlay> where Key : PreferenceKey, Overlay : View { | |
public var transform: (Key.Value) -> Overlay | |
public var alignment: Alignment | |
@inlinable public init(alignment: Alignment, @ViewBuilder transform: @escaping (Key.Value) -> Overlay) { | |
self.transform = transform | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: _GraphValue<_BackgroundPreferenceModifier<Key, Overlay>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BackgroundPreferenceModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@dynamicMemberLookup @propertyWrapper public struct Bindable<Value> { | |
public var wrappedValue: Value | |
public var projectedValue: Bindable<Value> { | |
get | |
} | |
@available(*, unavailable, message: "The wrapped value must be an object that conforms to Observable") | |
public init(wrappedValue: Value) | |
@available(*, unavailable, message: "The wrapped value must be an object that conforms to Observable") | |
public init(projectedValue: Bindable<Value>) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Bindable where Value : AnyObject { | |
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Value, Subject>) -> Binding<Subject> { | |
get | |
} | |
} | |
extension Bindable where Value : ObservableObject { | |
@available(*, unavailable, message: "@Bindable only works with Observable types. For ObservableObject types, use @ObservedObject instead.") | |
public init(wrappedValue: Value) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Bindable where Value : AnyObject, Value : Observable { | |
public init(wrappedValue: Value) | |
public init(_ wrappedValue: Value) | |
public init(projectedValue: Bindable<Value>) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Bindable : Identifiable where Value : Identifiable { | |
public var id: Value.ID { | |
get | |
} | |
public typealias ID = Value.ID | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Bindable : Sendable where Value : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@propertyWrapper @frozen public struct GestureState<Value> : DynamicProperty { | |
fileprivate var state: State<Value> | |
fileprivate let reset: (Binding<Value>) -> Void | |
public init(wrappedValue: Value) | |
@_alwaysEmitIntoClient public init(initialValue: Value) { | |
self.init(wrappedValue: initialValue, resetTransaction: Transaction()) | |
} | |
public init(wrappedValue: Value, resetTransaction: Transaction) | |
@_alwaysEmitIntoClient public init(initialValue: Value, resetTransaction: Transaction) { | |
self.init(wrappedValue: initialValue, resetTransaction: resetTransaction) | |
} | |
public init(wrappedValue: Value, reset: @escaping (Value, inout Transaction) -> Void) | |
@_alwaysEmitIntoClient public init(initialValue: Value, reset: @escaping (Value, inout Transaction) -> Void) { | |
self.init(wrappedValue: initialValue, reset: reset) | |
} | |
public var wrappedValue: Value { | |
get | |
} | |
public var projectedValue: GestureState<Value> { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension GestureState : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension GestureState where Value : ExpressibleByNilLiteral { | |
public init(resetTransaction: Transaction = Transaction()) | |
public init(reset: @escaping (Value, inout Transaction) -> Void) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture { | |
@inlinable public func updating<State>(_ state: GestureState<State>, body: @escaping (Self.Value, inout State, inout Transaction) -> Void) -> GestureStateGesture<Self, State> { | |
return .init(base: self, state: state, body: body) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct GestureStateGesture<Base, State> : Gesture where Base : Gesture { | |
public typealias Value = Base.Value | |
public var base: Base | |
public var state: GestureState<State> | |
public var body: (GestureStateGesture<Base, State>.Value, inout State, inout Transaction) -> Void | |
@inlinable public init(base: Base, state: GestureState<State>, body: @escaping (GestureStateGesture<Base, State>.Value, inout State, inout Transaction) -> Void) { | |
self.base = base | |
self.state = state | |
self.body = body | |
} | |
public static func _makeGesture(gesture: _GraphValue<GestureStateGesture<Base, State>>, inputs: _GestureInputs) -> _GestureOutputs<GestureStateGesture<Base, State>.Value> | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension GestureStateGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "foregroundStyle(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "foregroundStyle(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "foregroundStyle(_:)") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "foregroundStyle(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "foregroundStyle(_:)") | |
@inlinable public func foregroundColor(_ color: Color?) -> some View { | |
return environment(\.foregroundColor, color) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var foregroundColor: Color? { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@available(*, deprecated, message: "will be removed") | |
@frozen public struct _ForegroundColorModifier { | |
public var color: Color? | |
@inlinable public init(color: Color?) { self.color = color } | |
public static func _makeViewInputs(modifier: _GraphValue<_ForegroundColorModifier>, inputs: inout _ViewInputs) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ForegroundColorModifier : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct SafeAreaRegions : OptionSet { | |
public let rawValue: UInt | |
@inlinable public init(rawValue: UInt) { self.rawValue = rawValue } | |
public static let container: SafeAreaRegions | |
public static let keyboard: SafeAreaRegions | |
public static let all: SafeAreaRegions | |
public typealias ArrayLiteralElement = SafeAreaRegions | |
public typealias Element = SafeAreaRegions | |
public typealias RawValue = UInt | |
} | |
extension View { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _safeAreaInsets(_ insets: EdgeInsets) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
public struct Slider<Label, ValueLabel> : View where Label : View, ValueLabel : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI6SliderV4bodyQrvp", 0) __<Label, ValueLabel> | |
} | |
@available(*, unavailable) | |
extension Slider : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
extension Slider { | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, @ViewBuilder label: () -> Label, @ViewBuilder minimumValueLabel: () -> ValueLabel, @ViewBuilder maximumValueLabel: () -> ValueLabel, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint { | |
self.init( | |
value: value, | |
in: bounds, | |
onEditingChanged: onEditingChanged, | |
minimumValueLabel: minimumValueLabel(), | |
maximumValueLabel: maximumValueLabel(), | |
label: label) | |
} | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, @ViewBuilder label: () -> Label, @ViewBuilder minimumValueLabel: () -> ValueLabel, @ViewBuilder maximumValueLabel: () -> ValueLabel, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint { | |
self.init( | |
value: value, | |
in: bounds, | |
step: step, | |
onEditingChanged: onEditingChanged, | |
minimumValueLabel: minimumValueLabel(), | |
maximumValueLabel: maximumValueLabel(), | |
label: label) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
extension Slider where ValueLabel == EmptyView { | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, @ViewBuilder label: () -> Label, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint { | |
self.init( | |
value: value, | |
in: bounds, | |
onEditingChanged: onEditingChanged, | |
label: label) | |
} | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, @ViewBuilder label: () -> Label, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint { | |
self.init( | |
value: value, | |
in: bounds, | |
step: step, | |
onEditingChanged: onEditingChanged, | |
label: label) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
extension Slider where Label == EmptyView, ValueLabel == EmptyView { | |
@available(tvOS, unavailable) | |
public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
@available(tvOS, unavailable) | |
public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
extension Slider { | |
@available(tvOS, unavailable) | |
@available(iOS, deprecated: 100000.0, renamed: "Slider(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Slider(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Slider(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, onEditingChanged: @escaping (Bool) -> Void = { _ in }, minimumValueLabel: ValueLabel, maximumValueLabel: ValueLabel, @ViewBuilder label: () -> Label) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
@available(tvOS, unavailable) | |
@available(iOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, onEditingChanged: @escaping (Bool) -> Void = { _ in }, minimumValueLabel: ValueLabel, maximumValueLabel: ValueLabel, @ViewBuilder label: () -> Label) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
extension Slider where ValueLabel == EmptyView { | |
@available(tvOS, unavailable) | |
@available(iOS, deprecated: 100000.0, renamed: "Slider(value:in:label:onEditingChanged:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Slider(value:in:label:onEditingChanged:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Slider(value:in:label:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:label:onEditingChanged:)") | |
@_disfavoredOverload public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, onEditingChanged: @escaping (Bool) -> Void = { _ in }, @ViewBuilder label: () -> Label) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
@available(tvOS, unavailable) | |
@available(iOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:onEditingChanged:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:onEditingChanged:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:onEditingChanged:)") | |
@_disfavoredOverload public init<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V.Stride = 1, onEditingChanged: @escaping (Bool) -> Void = { _ in }, @ViewBuilder label: () -> Label) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Text : View { | |
public static func _makeView(view: _GraphValue<Text>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _SymmetricallyScaledText : View { | |
public var source: Text | |
public var reference: Text | |
public init(source: Text, reference: Text) | |
public static func _makeView(view: _GraphValue<_SymmetricallyScaledText>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _SymmetricallyScaledText : Sendable { | |
} | |
extension View { | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func exportableToServices<T>(_ payload: @autoclosure @escaping () -> [T]) -> some View where T : Transferable | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func exportableToServices<T>(_ payload: @autoclosure @escaping () -> [T], onEdit: @escaping ([T]) -> Bool) -> some View where T : Transferable | |
} | |
extension View { | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func importableFromServices<T>(for payloadType: T.Type = T.self, action: @escaping ([T]) -> Bool) -> some View where T : Transferable | |
} | |
@available(macOS 12.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func exportsItemProviders(_ contentTypes: [UTType], onExport: @escaping () -> [NSItemProvider]) -> some View | |
public func exportsItemProviders(_ contentTypes: [UTType], onExport: @escaping () -> [NSItemProvider], onEdit: @escaping ([NSItemProvider]) -> Bool) -> some View | |
public func importsItemProviders(_ contentTypes: [UTType], onImport: @escaping ([NSItemProvider]) -> Bool) -> some View | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableColumnCustomization<RowValue> : Equatable, Sendable, Codable where RowValue : Identifiable { | |
public init() | |
public subscript(visibility id: String) -> Visibility { | |
get | |
set | |
} | |
public mutating func resetOrder() | |
public static func == (a: TableColumnCustomization<RowValue>, b: TableColumnCustomization<RowValue>) -> Bool | |
public func encode(to encoder: any Encoder) throws | |
public init(from decoder: any Decoder) throws | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SceneStorage { | |
public init<RowValue>(wrappedValue: Value = TableColumnCustomization<RowValue>(), _ key: String) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension AppStorage { | |
public init<RowValue>(wrappedValue: Value = TableColumnCustomization<RowValue>(), _ key: String, store: UserDefaults? = nil) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Angle { | |
public var radians: Double | |
@inlinable public var degrees: Double { | |
get { return radians * (180.0 / .pi) } | |
set { radians = newValue * (.pi / 180.0) } | |
} | |
@inlinable public init() { | |
self.init(radians: 0.0) | |
} | |
@inlinable public init(radians: Double) { | |
self.radians = radians | |
} | |
@inlinable public init(degrees: Double) { | |
self.init(radians: degrees * (.pi / 180.0)) | |
} | |
@inlinable public static func radians(_ radians: Double) -> Angle { | |
return Angle(radians: radians) | |
} | |
@inlinable public static func degrees(_ degrees: Double) -> Angle { | |
return Angle(degrees: degrees) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Angle : Hashable, Comparable { | |
@inlinable public static func < (lhs: Angle, rhs: Angle) -> Bool { | |
return lhs.radians < rhs.radians | |
} | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: Angle, b: Angle) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Angle : Animatable, _VectorMath { | |
public var animatableData: Double { | |
get | |
set | |
} | |
@inlinable public static var zero: Angle { | |
get { | |
return .init() | |
} | |
} | |
public typealias AnimatableData = Double | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension WindowToolbarStyle where Self == DefaultWindowToolbarStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultWindowToolbarStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct DefaultWindowToolbarStyle : WindowToolbarStyle { | |
public typealias _Body = Never | |
public init() | |
} | |
@available(*, unavailable) | |
extension DefaultWindowToolbarStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ProgressView<Label, CurrentValueLabel> : View where Label : View, CurrentValueLabel : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI12ProgressViewV4bodyQrvp", 0) __<Label, CurrentValueLabel> | |
} | |
@available(*, unavailable) | |
extension ProgressView : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressView where CurrentValueLabel == EmptyView { | |
public init() where Label == EmptyView | |
public init(@ViewBuilder label: () -> Label) | |
public init(_ titleKey: LocalizedStringKey) where Label == Text | |
@_disfavoredOverload public init<S>(_ title: S) where Label == Text, S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressView { | |
public init<V>(value: V?, total: V = 1.0) where Label == EmptyView, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
public init<V>(value: V?, total: V = 1.0, @ViewBuilder label: () -> Label) where CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
public init<V>(value: V?, total: V = 1.0, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> CurrentValueLabel) where V : BinaryFloatingPoint | |
public init<V>(_ titleKey: LocalizedStringKey, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
@_disfavoredOverload public init<S, V>(_ title: S, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, S : StringProtocol, V : BinaryFloatingPoint | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressView { | |
public init(_ progress: Progress) where Label == EmptyView, CurrentValueLabel == EmptyView | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressView { | |
public init(_ configuration: ProgressViewStyleConfiguration) where Label == ProgressViewStyleConfiguration.Label, CurrentValueLabel == ProgressViewStyleConfiguration.CurrentValueLabel | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public enum Prominence : Sendable { | |
case standard | |
case increased | |
public static func == (a: Prominence, b: Prominence) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var headerProminence: Prominence { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func headerProminence(_ prominence: Prominence) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct LabeledContent<Label, Content> { | |
} | |
@available(*, unavailable) | |
extension LabeledContent : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension LabeledContent : View where Label : View, Content : View { | |
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI14LabeledContentVA2A4ViewRzAaDR_rlE4bodyQrvp", 0) __<Label, Content> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension LabeledContent where Label == Text, Content : View { | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension LabeledContent where Label == Text, Content == Text { | |
public init<S>(_ titleKey: LocalizedStringKey, value: S) where S : StringProtocol | |
@_disfavoredOverload public init<S1, S2>(_ title: S1, value: S2) where S1 : StringProtocol, S2 : StringProtocol | |
public init<F>(_ titleKey: LocalizedStringKey, value: F.FormatInput, format: F) where F : FormatStyle, F.FormatInput : Equatable, F.FormatOutput == String | |
public init<S, F>(_ title: S, value: F.FormatInput, format: F) where S : StringProtocol, F : FormatStyle, F.FormatInput : Equatable, F.FormatOutput == String | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension LabeledContent where Label == LabeledContentStyleConfiguration.Label, Content == LabeledContentStyleConfiguration.Content { | |
public init(_ configuration: LabeledContentStyleConfiguration) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
@inlinable public func tint<S>(_ tint: S?) -> some View where S : ShapeStyle { | |
return environment(\.tint, tint.map(AnyShapeStyle.init)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable @_disfavoredOverload public func tint(_ tint: Color?) -> some View { | |
environment(\.tintColor, tint) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var tint: AnyShapeStyle? { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var tintColor: Color? { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ShapeStyle where Self == TintShapeStyle { | |
@_alwaysEmitIntoClient public static var tint: TintShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct TintShapeStyle : ShapeStyle { | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public init() | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol ViewModifier { | |
static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
associatedtype Body : View | |
@ViewBuilder @MainActor(unsafe) func body(content: Self.Content) -> Self.Body | |
typealias Content = _ViewModifier_Content<Self> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ViewModifier where Self.Body == Never { | |
public func body(content: Self.Content) -> Self.Body | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ViewModifier where Self : _GraphInputsModifier, Self.Body == Never { | |
public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EmptyModifier : ViewModifier { | |
public static let identity: EmptyModifier | |
public typealias Body = Never | |
@inlinable public init() {} | |
public static func _makeView(modifier: _GraphValue<EmptyModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<EmptyModifier>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
@MainActor(unsafe) public func body(content: EmptyModifier.Content) -> EmptyModifier.Body | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func modifier<T>(_ modifier: T) -> ModifiedContent<Self, T> { | |
return .init(content: self, modifier: modifier) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ModifiedContent<Content, Modifier> { | |
public typealias Body = Never | |
public var content: Content | |
public var modifier: Modifier | |
@inlinable public init(content: Content, modifier: Modifier) { | |
self.content = content | |
self.modifier = modifier | |
} | |
} | |
@available(*, unavailable) | |
extension ModifiedContent : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ModifiedContent : Equatable where Content : Equatable, Modifier : Equatable { | |
public static func == (a: ModifiedContent<Content, Modifier>, b: ModifiedContent<Content, Modifier>) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ModifiedContent : View where Content : View, Modifier : ViewModifier { | |
public static func _makeView(view: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
@MainActor(unsafe) public var body: ModifiedContent<Content, Modifier>.Body { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ModifiedContent : ViewModifier where Content : ViewModifier, Modifier : ViewModifier { | |
public static func _makeView(modifier: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ViewModifier { | |
@inlinable public func concat<T>(_ modifier: T) -> ModifiedContent<Self, T> { | |
return .init(content: self, modifier: modifier) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Color : Transferable { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static var transferRepresentation: some TransferRepresentation { | |
get | |
} | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ColorV22transferRepresentationQrvpZ", 0) __ | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
public protocol IndexViewStyle { | |
associatedtype _Body : View | |
@ViewBuilder func _makeBody(configuration: Self._Configuration) -> Self._Body | |
typealias _Configuration = _IndexViewStyleConfiguration | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
extension View { | |
public func indexViewStyle<S>(_ style: S) -> some View where S : IndexViewStyle | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
public struct _IndexViewStyleConfiguration { | |
} | |
@available(*, unavailable) | |
extension _IndexViewStyleConfiguration : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
@frozen public struct EmptyWidgetConfiguration : WidgetConfiguration { | |
@inlinable public init() {} | |
public static func _makeWidgetConfiguration(widget: _GraphValue<EmptyWidgetConfiguration>, inputs: _WidgetInputs) -> _WidgetOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Section : TableRowContent where Parent : TableRowContent, Content : TableRowContent, Footer : TableRowContent { | |
public typealias TableRowValue = Content.TableRowValue | |
public typealias TableRowBody = Never | |
public static func _makeRows(content: _GraphValue<Section<Parent, Content, Footer>>, inputs: _TableRowInputs) -> _TableRowOutputs | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
public init<V, H>(@TableRowBuilder<V> content: () -> Content, @ViewBuilder header: () -> H) where Parent == TableHeaderRowContent<V, H>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue, H : View | |
public init<V>(_ titleKey: LocalizedStringKey, @TableRowBuilder<V> content: () -> Content) where Parent == TableHeaderRowContent<V, Text>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue | |
@_disfavoredOverload public init<V, S>(_ title: S, @TableRowBuilder<V> content: () -> Content) where Parent == TableHeaderRowContent<V, Text>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue, S : StringProtocol | |
public init<V>(@TableRowBuilder<V> content: () -> Content) where Parent == EmptyTableRowContent<V>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Section where Parent : TableRowContent, Content : TableRowContent { | |
public init<V, H>(isExpanded: Binding<Bool>, @TableRowBuilder<V> content: () -> Content, @ViewBuilder header: () -> H) where Parent == TableHeaderRowContent<V, H>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue, H : View | |
public init<V>(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @TableRowBuilder<V> content: () -> Content) where Parent == TableHeaderRowContent<V, Text>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue | |
@_disfavoredOverload public init<V, S>(_ title: S, isExpanded: Binding<Bool>, @TableRowBuilder<V> content: () -> Content) where Parent == TableHeaderRowContent<V, Text>, Footer == EmptyTableRowContent<V>, V == Content.TableRowValue, S : StringProtocol | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct EmptyTableRowContent<Value> where Value : Identifiable { | |
public typealias TableRowValue = Value | |
public typealias TableRowBody = Never | |
public static func _makeRows(content: _GraphValue<EmptyTableRowContent<Value>>, inputs: _TableRowInputs) -> _TableRowOutputs | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
} | |
@available(*, unavailable) | |
extension EmptyTableRowContent : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableHeaderRowContent<Value, Content> : TableRowContent where Value : Identifiable, Content : View { | |
public typealias TableRowValue = Value | |
public var tableRowBody: some TableRowContent { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
public typealias TableRowBody = @_opaqueReturnTypeOf("$s7SwiftUI21TableHeaderRowContentV05tableE4BodyQrvp", 0) __<Value, Content> | |
} | |
@available(*, unavailable) | |
extension TableHeaderRowContent : Sendable { | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func menuOrder(_ order: MenuOrder) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct MenuOrder : Equatable, Hashable, Sendable { | |
public static let automatic: MenuOrder | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let priority: MenuOrder | |
public static let fixed: MenuOrder | |
public static func == (a: MenuOrder, b: MenuOrder) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EnvironmentValues { | |
public var menuOrder: MenuOrder { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle where Self == PlaceholderTextShapeStyle { | |
@_alwaysEmitIntoClient public static var placeholder: PlaceholderTextShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct PlaceholderTextShapeStyle : ShapeStyle { | |
@_alwaysEmitIntoClient public init() {} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public typealias Resolved = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol TabViewStyle { | |
static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<Self, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<Self, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _TabViewValue<Style, SelectionValue> where Style : TabViewStyle, SelectionValue : Hashable { | |
} | |
@available(*, unavailable) | |
extension _TabViewValue : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func tabViewStyle<S>(_ style: S) -> some View where S : TabViewStyle | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @propertyWrapper public struct Namespace : DynamicProperty { | |
@usableFromInline | |
internal var id: Int | |
@inlinable public init() { id = 0 } | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
public var wrappedValue: Namespace.ID { | |
get | |
} | |
@frozen public struct ID : Hashable { | |
@_hasStorage internal var id: Int { | |
get | |
} | |
public static func == (a: Namespace.ID, b: Namespace.ID) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct TupleView<T> : View { | |
public var value: T | |
@inlinable public init(_ value: T) { self.value = value } | |
public static func _makeView(view: _GraphValue<TupleView<T>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<TupleView<T>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension TupleView : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct PhaseAnimator<Phase, Content> : View where Phase : Equatable, Content : View { | |
public init(_ phases: some Sequence<Phase>, trigger: some Equatable, @ViewBuilder content: @escaping (Phase) -> Content, animation: @escaping (Phase) -> Animation? = { _ in .default }) | |
public init(_ phases: some Sequence<Phase>, @ViewBuilder content: @escaping (Phase) -> Content, animation: @escaping (Phase) -> Animation? = { _ in .default }) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI13PhaseAnimatorV4bodyQrvp", 0) __<Phase, Content> | |
} | |
@available(*, unavailable) | |
extension PhaseAnimator : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func phaseAnimator<Phase>(_ phases: some Sequence<Phase>, trigger: some Equatable, @ViewBuilder content: @escaping (PlaceholderContentView<Self>, Phase) -> some View, animation: @escaping (Phase) -> Animation? = { _ in .default }) -> some View where Phase : Equatable | |
public func phaseAnimator<Phase>(_ phases: some Sequence<Phase>, @ViewBuilder content: @escaping (PlaceholderContentView<Self>, Phase) -> some View, animation: @escaping (Phase) -> Animation? = { _ in .default }) -> some View where Phase : Equatable | |
} | |
@available(iOS 17.0, macOS 10.15, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle where Self == SeparatorShapeStyle { | |
@_alwaysEmitIntoClient public static var separator: SeparatorShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 10.15, tvOS 17.0, watchOS 10.0, *) | |
public struct SeparatorShapeStyle : ShapeStyle { | |
public init() | |
public static func _makeView<S>(view: _GraphValue<_ShapeView<S, SeparatorShapeStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
public typealias Resolved = Never | |
} | |
@available(iOS 17.0, macOS 12.0, tvOS 17.0, watchOS 10.0, *) | |
extension SeparatorShapeStyle { | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func contentMargins(_ edges: Edge.Set = .all, _ insets: EdgeInsets, for placement: ContentMarginPlacement = .automatic) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func contentMargins(_ edges: Edge.Set = .all, _ length: CGFloat?, for placement: ContentMarginPlacement = .automatic) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func contentMargins(_ length: CGFloat, for placement: ContentMarginPlacement = .automatic) -> some View | |
} | |
@available(watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal enum SectionIndexLabel { | |
case text(Text) | |
case image(Image) | |
} | |
@available(*, unavailable) | |
extension SectionIndexLabel : Sendable { | |
} | |
@available(watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct SectionIndexLabelKey : _ViewTraitKey { | |
@_alwaysEmitIntoClient internal static var defaultValue: SectionIndexLabel? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = SectionIndexLabel? | |
} | |
@available(*, unavailable) | |
extension SectionIndexLabelKey : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 10.0, deprecated: 100000.0, renamed: "SectionIndexLabelKey") | |
@usableFromInline | |
internal struct SectionIndexTitleKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Text? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Text? | |
} | |
@available(*, unavailable) | |
extension SectionIndexTitleKey : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol DisclosureGroupStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = DisclosureGroupStyleConfiguration | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DisclosureGroupStyleConfiguration { | |
public struct Label : View { | |
public typealias Body = Never | |
} | |
public let label: DisclosureGroupStyleConfiguration.Label | |
public struct Content : View { | |
public typealias Body = Never | |
} | |
public let content: DisclosureGroupStyleConfiguration.Content | |
@Binding @_projectedValueProperty($isExpanded) public var isExpanded: Bool { | |
get | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
nonmutating set | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
nonmutating _modify | |
} | |
public var $isExpanded: Binding<Bool> { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension DisclosureGroupStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension DisclosureGroupStyleConfiguration.Content : Sendable { | |
} | |
@available(*, unavailable) | |
extension DisclosureGroupStyleConfiguration.Label : Sendable { | |
} | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func disclosureGroupStyle<S>(_ style: S) -> some View where S : DisclosureGroupStyle | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ContentShapeModifier<ContentShape> : ViewModifier where ContentShape : Shape { | |
public var shape: ContentShape | |
public var eoFill: Bool | |
@inlinable public init(shape: ContentShape, eoFill: Bool = false) { | |
self.shape = shape | |
self.eoFill = eoFill | |
} | |
public static func _makeView(modifier: _GraphValue<_ContentShapeModifier<ContentShape>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ContentShapeModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func contentShape<S>(_ shape: S, eoFill: Bool = false) -> some View where S : Shape { | |
return modifier(_ContentShapeModifier(shape: shape, eoFill: eoFill)) | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func defaultFocus<V>(_ binding: FocusState<V>.Binding, _ value: V, priority: DefaultFocusEvaluationPriority = .automatic) -> some View where V : Hashable | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct DefaultFocusEvaluationPriority : Sendable { | |
public static let automatic: DefaultFocusEvaluationPriority | |
public static let userInitiated: DefaultFocusEvaluationPriority | |
} | |
extension View { | |
@available(iOS, introduced: 16.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(macOS, introduced: 13.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(tvOS, introduced: 16.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@_disfavoredOverload public func onContinuousHover(coordinateSpace: CoordinateSpace = .local, perform action: @escaping (HoverPhase) -> Void) -> some View | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public func onContinuousHover(coordinateSpace: some CoordinateSpaceProtocol = .local, perform action: @escaping (HoverPhase) -> Void) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, *) | |
@available(watchOS, unavailable) | |
@frozen public enum HoverPhase : Equatable { | |
case active(CGPoint) | |
case ended | |
public static func == (a: HoverPhase, b: HoverPhase) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension LabeledContentStyle where Self == AutomaticLabeledContentStyle { | |
public static var automatic: AutomaticLabeledContentStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct AutomaticLabeledContentStyle : LabeledContentStyle { | |
public init() | |
public func makeBody(configuration: AutomaticLabeledContentStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI28AutomaticLabeledContentStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticLabeledContentStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@_alwaysEmitIntoClient public func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default, isActive: Bool = true) -> some View where T : IndefiniteSymbolEffect, T : SymbolEffect { | |
return modifier(_IndefiniteSymbolEffectModifier( | |
effect: effect, options: options, isActive: isActive)) | |
} | |
@_alwaysEmitIntoClient public func symbolEffect<T, U>(_ effect: T, options: SymbolEffectOptions = .default, value: U) -> some View where T : DiscreteSymbolEffect, T : SymbolEffect, U : Equatable { | |
return modifier(_DiscreteSymbolEffectModifier( | |
effect: effect, options: options, value: value)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _IndefiniteSymbolEffectModifier : ViewModifier, _GraphInputsModifier { | |
@usableFromInline | |
internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
internal var options: SymbolEffectOptions | |
@usableFromInline | |
internal var isActive: Bool | |
@_alwaysEmitIntoClient internal init<T>(effect: T, options: SymbolEffectOptions, isActive: Bool) where T : IndefiniteSymbolEffect, T : SymbolEffect { | |
self.config = effect.configuration | |
self.options = options | |
self.isActive = isActive | |
} | |
public static func _makeInputs(modifier: _GraphValue<_IndefiniteSymbolEffectModifier>, inputs: inout _GraphInputs) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _IndefiniteSymbolEffectModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _DiscreteSymbolEffectModifier<T> : ViewModifier, _GraphInputsModifier where T : Equatable { | |
@usableFromInline | |
internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
internal var options: SymbolEffectOptions | |
@usableFromInline | |
internal var value: T | |
@_alwaysEmitIntoClient internal init<U>(effect: U, options: SymbolEffectOptions, value: T) where U : DiscreteSymbolEffect, U : SymbolEffect { | |
config = effect.configuration | |
self.options = options | |
self.value = value | |
} | |
public static func _makeInputs(modifier: _GraphValue<_DiscreteSymbolEffectModifier<T>>, inputs: inout _GraphInputs) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _DiscreteSymbolEffectModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == SymbolEffectTransition { | |
@_alwaysEmitIntoClient public static func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default) -> SymbolEffectTransition where T : SymbolEffect, T : TransitionSymbolEffect { | |
return SymbolEffectTransition(effect: effect, options: options) | |
} | |
@_alwaysEmitIntoClient public static var symbolEffect: SymbolEffectTransition { | |
get { | |
return symbolEffect(.automatic) | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct SymbolEffectTransition : Transition { | |
@usableFromInline | |
internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
internal var options: SymbolEffectOptions | |
@_alwaysEmitIntoClient public init<T>(effect: T, options: SymbolEffectOptions) where T : SymbolEffect, T : TransitionSymbolEffect { | |
config = effect.configuration | |
self.options = options | |
} | |
public func body(content: SymbolEffectTransition.Content, phase: TransitionPhase) -> some View | |
public static let properties: TransitionProperties | |
public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22SymbolEffectTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0E5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension SymbolEffectTransition : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ContentTransition { | |
public static func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default) -> ContentTransition where T : ContentTransitionSymbolEffect, T : SymbolEffect | |
@_alwaysEmitIntoClient public static var symbolEffect: ContentTransition { | |
get { | |
return symbolEffect(.automatic) | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Font { | |
public static let largeTitle: Font | |
public static let title: Font | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static let title2: Font | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static let title3: Font | |
public static let headline: Font | |
public static let subheadline: Font | |
public static let body: Font | |
public static let callout: Font | |
public static let footnote: Font | |
public static let caption: Font | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static let caption2: Font | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let extraLargeTitle: Font | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let extraLargeTitle2: Font | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func system(_ style: Font.TextStyle, design: Font.Design? = nil, weight: Font.Weight? = nil) -> Font | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `system(_:design:weight:)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `system(_:design:weight:)` instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use `system(_:design:weight:)` instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `system(_:design:weight:)` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `system(_:design:weight:)` instead.") | |
@_disfavoredOverload public static func system(_ style: Font.TextStyle, design: Font.Design = .default) -> Font | |
public enum TextStyle : CaseIterable, Sendable { | |
case largeTitle | |
case title | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
case title2 | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
case title3 | |
case headline | |
case subheadline | |
case body | |
case callout | |
case footnote | |
case caption | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
case caption2 | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
case extraLargeTitle | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
case extraLargeTitle2 | |
public static var allCases: [Font.TextStyle] | |
public static func == (a: Font.TextStyle, b: Font.TextStyle) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [Font.TextStyle] | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SpatialEventCollection : Collection { | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct Event : Identifiable, Hashable { | |
public struct ID : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: SpatialEventCollection.Event.ID, b: SpatialEventCollection.Event.ID) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
public func hash(into hasher: inout Hasher) | |
public enum Kind : Hashable { | |
case touch | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
case directPinch | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
case indirectPinch | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
case pencil | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
case pointer | |
public static func == (a: SpatialEventCollection.Event.Kind, b: SpatialEventCollection.Event.Kind) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public enum Phase : Hashable { | |
case active | |
case ended | |
case cancelled | |
public static func == (a: SpatialEventCollection.Event.Phase, b: SpatialEventCollection.Event.Phase) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public struct InputDevicePose : Hashable { | |
public var altitude: Angle | |
public var azimuth: Angle | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: SpatialEventCollection.Event.InputDevicePose, b: SpatialEventCollection.Event.InputDevicePose) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
public var id: SpatialEventCollection.Event.ID | |
public var timestamp: TimeInterval | |
public var kind: SpatialEventCollection.Event.Kind | |
public var location: CGPoint | |
public var phase: SpatialEventCollection.Event.Phase | |
public var modifierKeys: EventModifiers | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public var inputDevicePose: SpatialEventCollection.Event.InputDevicePose? { | |
get | |
set | |
} | |
public static func == (a: SpatialEventCollection.Event, b: SpatialEventCollection.Event) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
public subscript(index: SpatialEventCollection.Event.ID) -> SpatialEventCollection.Event? { | |
get | |
} | |
public struct Iterator : IteratorProtocol { | |
public mutating func next() -> SpatialEventCollection.Event? | |
public typealias Element = SpatialEventCollection.Event | |
} | |
public func makeIterator() -> SpatialEventCollection.Iterator | |
public struct Index : Comparable { | |
public static func < (lhs: SpatialEventCollection.Index, rhs: SpatialEventCollection.Index) -> Bool | |
public static func == (a: SpatialEventCollection.Index, b: SpatialEventCollection.Index) -> Bool | |
} | |
public var startIndex: SpatialEventCollection.Index { | |
get | |
} | |
public var endIndex: SpatialEventCollection.Index { | |
get | |
} | |
public subscript(position: SpatialEventCollection.Index) -> SpatialEventCollection.Event { | |
get | |
} | |
public func index(after i: SpatialEventCollection.Index) -> SpatialEventCollection.Index | |
public typealias Element = SpatialEventCollection.Event | |
public typealias Indices = DefaultIndices<SpatialEventCollection> | |
public typealias SubSequence = Slice<SpatialEventCollection> | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Iterator : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Index : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Event : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Event.Kind : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Event.Phase : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Event.InputDevicePose : Sendable { | |
} | |
@available(*, unavailable) | |
extension SpatialEventCollection.Event.ID : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SpatialEventCollection : Equatable { | |
public static func == (lhs: SpatialEventCollection, rhs: SpatialEventCollection) -> Bool | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct WindowMenuBarExtraStyle : MenuBarExtraStyle { | |
public typealias _Body = Never | |
public init() | |
public func _makeMenuBarExtra(_ value: _MenuBarExtraValue<WindowMenuBarExtraStyle>) -> _MenuBarExtraValue<WindowMenuBarExtraStyle> | |
} | |
@available(*, unavailable) | |
extension WindowMenuBarExtraStyle : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuBarExtraStyle where Self == WindowMenuBarExtraStyle { | |
public static var window: WindowMenuBarExtraStyle { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressViewStyle where Self == LinearProgressViewStyle { | |
@_alwaysEmitIntoClient public static var linear: LinearProgressViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct LinearProgressViewStyle : ProgressViewStyle { | |
public init() | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
public init(tint: Color) | |
public func makeBody(configuration: LinearProgressViewStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI23LinearProgressViewStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension LinearProgressViewStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct PagingScrollTargetBehavior : ScrollTargetBehavior { | |
public init() | |
public func updateTarget(_ target: inout ScrollTarget, context: PagingScrollTargetBehavior.TargetContext) | |
public static func _makeInputs(_ behavior: _GraphValue<PagingScrollTargetBehavior>, inputs: inout _ViewInputs) | |
} | |
extension ScrollTargetBehavior where Self == PagingScrollTargetBehavior { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public static var paging: PagingScrollTargetBehavior { | |
get { .init() } | |
} | |
} | |
@available(*, unavailable) | |
extension PagingScrollTargetBehavior : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ViewAlignedScrollTargetBehavior : ScrollTargetBehavior { | |
public struct LimitBehavior { | |
public static var automatic: ViewAlignedScrollTargetBehavior.LimitBehavior { | |
get | |
} | |
public static var always: ViewAlignedScrollTargetBehavior.LimitBehavior { | |
get | |
} | |
public static var never: ViewAlignedScrollTargetBehavior.LimitBehavior { | |
get | |
} | |
} | |
public init(limitBehavior: ViewAlignedScrollTargetBehavior.LimitBehavior = .automatic) | |
public func updateTarget(_ target: inout ScrollTarget, context: ViewAlignedScrollTargetBehavior.TargetContext) | |
public static func _makeInputs(_ behavior: _GraphValue<ViewAlignedScrollTargetBehavior>, inputs: inout _ViewInputs) | |
} | |
extension ScrollTargetBehavior where Self == ViewAlignedScrollTargetBehavior { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public static var viewAligned: ViewAlignedScrollTargetBehavior { | |
get { .init() } | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public static func viewAligned(limitBehavior: ViewAlignedScrollTargetBehavior.LimitBehavior) -> Self { | |
.init(limitBehavior: limitBehavior) | |
} | |
} | |
@available(*, unavailable) | |
extension ViewAlignedScrollTargetBehavior : Sendable { | |
} | |
@available(*, unavailable) | |
extension ViewAlignedScrollTargetBehavior.LimitBehavior : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _BenchmarkHost { | |
public func viewForIdentifier<I, V>(_ identifier: I, _ type: V.Type) -> V? where I : Hashable, V : View | |
public func stateForIdentifier<I, S, V>(_ id: I, type _: S.Type, in _: V.Type) -> Binding<S>? where I : Hashable, V : View | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public enum LayoutDirectionBehavior : Hashable, Sendable { | |
case fixed | |
case mirrors(in: LayoutDirection) | |
public static var mirrors: LayoutDirectionBehavior { | |
get | |
} | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: LayoutDirectionBehavior, b: LayoutDirectionBehavior) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@inlinable public func layoutDirectionBehavior(_ behavior: LayoutDirectionBehavior) -> some View { | |
modifier(_LayoutDirectionBehaviorEffect(behavior: behavior)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _LayoutDirectionBehaviorEffect : ViewModifier { | |
public var behavior: LayoutDirectionBehavior | |
@inlinable public init(behavior: LayoutDirectionBehavior) { | |
self.behavior = behavior | |
} | |
public static func _makeView(modifier: _GraphValue<_LayoutDirectionBehaviorEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressViewStyle where Self == CircularProgressViewStyle { | |
@_alwaysEmitIntoClient public static var circular: CircularProgressViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct CircularProgressViewStyle : ProgressViewStyle { | |
public init() | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
public init(tint: Color) | |
public func makeBody(configuration: CircularProgressViewStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25CircularProgressViewStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension CircularProgressViewStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct Toggle<Label> : View where Label : View { | |
public init(isOn: Binding<Bool>, @ViewBuilder label: () -> Label) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init<C>(sources: C, isOn: KeyPath<C.Element, Binding<Bool>>, @ViewBuilder label: () -> Label) where C : RandomAccessCollection | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI6ToggleV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension Toggle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Toggle where Label == ToggleStyleConfiguration.Label { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public init(_ configuration: ToggleStyleConfiguration) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Toggle where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, isOn: Binding<Bool>) | |
@_disfavoredOverload public init<S>(_ title: S, isOn: Binding<Bool>) where S : StringProtocol | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init<C>(_ titleKey: LocalizedStringKey, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where C : RandomAccessCollection | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload public init<S, C>(_ title: S, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where S : StringProtocol, C : RandomAccessCollection | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Toggle where Label == Label<Text, Image> { | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, systemImage: String, isOn: Binding<Bool>) { | |
self.init(isOn: isOn) { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<S>(_ title: S, systemImage: String, isOn: Binding<Bool>) where S : StringProtocol { | |
self.init(isOn: isOn) { | |
Label(title, systemImage: systemImage) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_alwaysEmitIntoClient public init<C>(_ titleKey: LocalizedStringKey, systemImage: String, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where C : RandomAccessCollection { | |
self.init(sources: sources, isOn: isOn) { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<S, C>(_ title: S, systemImage: String, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where S : StringProtocol, C : RandomAccessCollection { | |
self.init(sources: sources, isOn: isOn) { | |
Label(title, systemImage: systemImage) | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Toggle where Label == Label<Text, Image> { | |
public init(_ titleKey: LocalizedStringKey, image: ImageResource, isOn: Binding<Bool>) | |
@_disfavoredOverload public init<S>(_ title: S, image: ImageResource, isOn: Binding<Bool>) where S : StringProtocol | |
public init<C>(_ titleKey: LocalizedStringKey, image: ImageResource, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where C : RandomAccessCollection | |
@_disfavoredOverload public init<S, C>(_ title: S, image: ImageResource, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where S : StringProtocol, C : RandomAccessCollection | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumn where Sort == KeyPathComparator<RowValue>, Label == Text { | |
public init<V>(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, V>, @ViewBuilder content: @escaping (RowValue) -> Content) where V : Comparable | |
@_disfavoredOverload public init<S, V>(_ title: S, value: KeyPath<RowValue, V>, @ViewBuilder content: @escaping (RowValue) -> Content) where S : StringProtocol, V : Comparable | |
@available(iOS 16.6, macOS 13.5, *) | |
public init<V>(_ text: Text, value: KeyPath<RowValue, V>, @ViewBuilder content: @escaping (RowValue) -> Content) where V : Comparable | |
public init<V, C>(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, V>, comparator: C, @ViewBuilder content: @escaping (RowValue) -> Content) where V == C.Compared, C : SortComparator | |
@_disfavoredOverload public init<S, V, C>(_ title: S, value: KeyPath<RowValue, V>, comparator: C, @ViewBuilder content: @escaping (RowValue) -> Content) where S : StringProtocol, V == C.Compared, C : SortComparator | |
@available(iOS 16.6, macOS 13.5, *) | |
public init<V, C>(_ text: Text, value: KeyPath<RowValue, V>, comparator: C, @ViewBuilder content: @escaping (RowValue) -> Content) where V == C.Compared, C : SortComparator | |
public init(_ titleKey: LocalizedStringKey, value: KeyPath<RowValue, String>, comparator: String.StandardComparator = .localizedStandard) where Content == Text | |
@_disfavoredOverload public init<S>(_ title: S, value: KeyPath<RowValue, String>, comparator: String.StandardComparator = .localizedStandard) where Content == Text, S : StringProtocol | |
@available(iOS 16.6, macOS 13.5, *) | |
public init(_ text: Text, value: KeyPath<RowValue, String>, comparator: String.StandardComparator = .localizedStandard) where Content == Text | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func scrollPosition(id: Binding<(some Hashable)?>, anchor: UnitPoint? = nil) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
#if compiler(>=5.3) && $AsyncAwait && $Sendable && $InheritActorContext | |
@inlinable public func task(priority: TaskPriority = .userInitiated, @_inheritActorContext _ action: @escaping @Sendable () async -> Void) -> some View { | |
modifier(_TaskModifier(priority: priority, action: action)) | |
} | |
#endif | |
#if compiler(>=5.3) && $AsyncAwait && $Sendable && $InheritActorContext | |
@inlinable public func task<T>(id value: T, priority: TaskPriority = .userInitiated, @_inheritActorContext _ action: @escaping @Sendable () async -> Void) -> some View where T : Equatable { | |
modifier(_TaskValueModifier( | |
value: value, priority: priority, action: action)) | |
} | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _TaskModifier : ViewModifier { | |
public var action: @Sendable () async -> Void | |
public var priority: TaskPriority | |
#if compiler(>=5.3) && $AsyncAwait && $Sendable | |
@inlinable public init(priority: TaskPriority, action: @escaping @Sendable () async -> Void) { | |
self.priority = priority | |
self.action = action | |
} | |
#endif | |
public static func _makeView(modifier: _GraphValue<_TaskModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<_TaskModifier>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _TaskValueModifier<Value> : ViewModifier where Value : Equatable { | |
public var action: @Sendable () async -> Void | |
public var priority: TaskPriority | |
public var value: Value | |
#if compiler(>=5.3) && $AsyncAwait && $Sendable | |
@inlinable public init(value: Value, priority: TaskPriority, action: @escaping @Sendable () async -> Void) { | |
self.action = action | |
self.priority = priority | |
self.value = value | |
} | |
#endif | |
public static func _makeView(modifier: _GraphValue<_TaskValueModifier<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<_TaskValueModifier<Value>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _TaskValueModifier : Sendable { | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "RotateGesture") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "RotateGesture") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "RotateGesture") | |
public struct RotationGesture : Gesture { | |
public var minimumAngleDelta: Angle | |
public init(minimumAngleDelta: Angle = .degrees(1)) | |
public static func _makeGesture(gesture: _GraphValue<RotationGesture>, inputs: _GestureInputs) -> _GestureOutputs<RotationGesture.Value> | |
public typealias Value = Angle | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension RotationGesture : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct RotateGesture : Gesture { | |
public struct Value : Equatable, Sendable { | |
public var time: Date | |
public var rotation: Angle | |
public var velocity: Angle | |
public var startAnchor: UnitPoint | |
public var startLocation: CGPoint | |
public static func == (a: RotateGesture.Value, b: RotateGesture.Value) -> Bool | |
} | |
public var minimumAngleDelta: Angle | |
public init(minimumAngleDelta: Angle = .degrees(1)) | |
public static func _makeGesture(gesture: _GraphValue<RotateGesture>, inputs: _GestureInputs) -> _GestureOutputs<RotateGesture.Value> | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension RotateGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @propertyWrapper public struct Environment<Value> : DynamicProperty { | |
@usableFromInline | |
@frozen internal enum Content { | |
case keyPath(KeyPath<EnvironmentValues, Value>) | |
case value(Value) | |
} | |
@usableFromInline | |
internal var content: Environment<Value>.Content | |
@inlinable public init(_ keyPath: KeyPath<EnvironmentValues, Value>) { | |
content = .keyPath(keyPath) | |
} | |
@inlinable public var wrappedValue: Value { | |
get { | |
switch content { | |
case let .value(value): | |
return value | |
case let .keyPath(keyPath): | |
if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) { | |
os_log(.fault, log: Log.runtimeIssuesLog, """ | |
Accessing Environment<\(Value.self)>'s value outside of \ | |
being installed on a View. \ | |
This will always read the default value \ | |
and will not update. | |
""") | |
} else { | |
os_log(.fault, log: Log.runtimeIssuesLog, """ | |
Accessing Environment's value outside of being \ | |
installed on a View. \ | |
This will always read the default value \ | |
and will not update. | |
""") | |
} | |
// not bound to a view, return the default value. | |
return EnvironmentValues()[keyPath: keyPath] | |
} | |
} | |
} | |
@usableFromInline | |
internal func error() -> Never | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension Environment : Sendable { | |
} | |
@available(*, unavailable) | |
extension Environment.Content : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@available(*, deprecated, message: "use Animatable directly") | |
public protocol _AnimatableView : Animatable, View { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@available(*, deprecated, message: "use Animatable directly") | |
extension _AnimatableView { | |
public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<Self>, inputs: _ViewListInputs) -> _ViewListOutputs | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View where Self : Animatable { | |
public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<Self>, inputs: _ViewListInputs) -> _ViewListOutputs | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct TextField<Label> : View where Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI9TextFieldV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension TextField : Sendable { | |
} | |
extension TextField where Label == Text { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, axis: Axis) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?, axis: Axis) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload public init<S>(_ title: S, text: Binding<String>, axis: Axis) where S : StringProtocol | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload public init<S>(_ title: S, text: Binding<String>, prompt: Text?, axis: Axis) where S : StringProtocol | |
} | |
extension TextField { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init(text: Binding<String>, prompt: Text? = nil, axis: Axis, @ViewBuilder label: () -> Label) | |
} | |
extension TextField where Label == Text { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload public init<S>(_ title: S, text: Binding<String>, prompt: Text?) where S : StringProtocol | |
} | |
extension TextField { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
} | |
extension TextField where Label == Text { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, text: Binding<String>) { | |
self.init( | |
titleKey, text: text, onEditingChanged: { _ in }, onCommit: {}) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S>(_ title: S, text: Binding<String>) where S : StringProtocol { | |
self.init( | |
title, text: text, onEditingChanged: { _ in }, onCommit: {}) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension TextField where Label == Text { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, onEditingChanged: @escaping (Bool) -> Void, onCommit: @escaping () -> Void) | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, text: Binding<String>, onEditingChanged: @escaping (Bool) -> Void) { | |
self.init( | |
titleKey, text: text, | |
onEditingChanged: onEditingChanged, onCommit: {}) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, text: Binding<String>, onCommit: @escaping () -> Void) { | |
self.init( | |
titleKey, text: text, | |
onEditingChanged: { _ in }, onCommit: onCommit) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_disfavoredOverload public init<S>(_ title: S, text: Binding<String>, onEditingChanged: @escaping (Bool) -> Void, onCommit: @escaping () -> Void) where S : StringProtocol | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S>(_ title: S, text: Binding<String>, onEditingChanged: @escaping (Bool) -> Void) where S : StringProtocol { | |
self.init( | |
title, text: text, | |
onEditingChanged: onEditingChanged, onCommit: {}) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed TextField.init(_:text:onEditingChanged:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter. Use FocusState<T> and View.focused(_:equals:) for functionality previously provided by the onEditingChanged parameter.") | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S>(_ title: S, text: Binding<String>, onCommit: @escaping () -> Void) where S : StringProtocol { | |
self.init( | |
title, text: text, | |
onEditingChanged: { _ in }, onCommit: onCommit) | |
} | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@usableFromInline | |
internal struct IsLinkedGroupTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsLinkedGroupTraitKey : Sendable { | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@inlinable public func _listLinkedGroup(_ isLinked: Bool) -> some View { | |
return _trait(IsLinkedGroupTraitKey.self, isLinked) | |
} | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _IsLinkedGroupTraitKey { | |
public static let _linkedGroup: _IsLinkedGroupTraitKey | |
} | |
@available(*, unavailable) | |
extension _IsLinkedGroupTraitKey : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct SpringLoadingBehavior : Hashable, Sendable { | |
public static let automatic: SpringLoadingBehavior | |
public static let enabled: SpringLoadingBehavior | |
public static let disabled: SpringLoadingBehavior | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: SpringLoadingBehavior, b: SpringLoadingBehavior) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func springLoadingBehavior(_ behavior: SpringLoadingBehavior) -> some View | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension EnvironmentValues { | |
public var springLoadingBehavior: SpringLoadingBehavior { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct __DesignTimeSelectionIdentifier : Hashable { | |
public let identifier: String | |
public init(_ identifier: String) | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: __DesignTimeSelectionIdentifier, b: __DesignTimeSelectionIdentifier) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension __DesignTimeSelectionIdentifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ViewTest { | |
public typealias Touch = (location: CGPoint, globalLocation: CGPoint?, timestamp: Date) | |
public func sendTouchSequence(_ touches: [Self.Touch]) | |
public func measureTouchSequence(host: any _BenchmarkHost, _ touches: [Self.Touch]) -> [Double] | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public enum ScenePhase : Comparable { | |
case background | |
case inactive | |
case active | |
public static func == (a: ScenePhase, b: ScenePhase) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public static func < (a: ScenePhase, b: ScenePhase) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ScenePhase : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension EnvironmentValues { | |
public var scenePhase: ScenePhase { | |
get | |
set | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension PickerStyle where Self == RadioGroupPickerStyle { | |
@_alwaysEmitIntoClient public static var radioGroup: RadioGroupPickerStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct RadioGroupPickerStyle : PickerStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<RadioGroupPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<RadioGroupPickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension RadioGroupPickerStyle : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func horizontalRadioGroupLayout() -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ListStyle where Self == InsetListStyle { | |
@_alwaysEmitIntoClient public static var inset: InsetListStyle { | |
get { .init() } | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the `.inset` style with the `.alternatingRowBackgrounds()` view modifier") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_alwaysEmitIntoClient public static func inset(alternatesRowBackgrounds: Bool) -> InsetListStyle { | |
.init(alternatesRowBackgrounds: alternatesRowBackgrounds) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct InsetListStyle : ListStyle { | |
public init() | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the `.inset` style with the `.alternatingRowBackgrounds()` view modifier") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public init(alternatesRowBackgrounds: Bool) | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<InsetListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension InsetListStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var defaultMinListRowHeight: CGFloat { | |
get | |
set | |
} | |
public var defaultMinListHeaderHeight: CGFloat? { | |
get | |
set | |
} | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension EnvironmentValues { | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public var _plainListSectionSpacing: CGFloat? { | |
get | |
set | |
} | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
public func defaultPosition(_ position: UnitPoint) -> some Scene | |
} | |
@available(iOS 17.0, macOS 13.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
public func defaultSize(_ size: CGSize) -> some Scene | |
public func defaultSize(width: CGFloat, height: CGFloat) -> some Scene | |
} | |
#if compiler(>=5.3) && $PrimaryAssociatedTypes2 | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol Keyframes<Value> { | |
associatedtype Value = Self.Body.Value | |
associatedtype Body : Keyframes | |
@KeyframesBuilder<Self.Value> var body: Self.Body { get } | |
func _resolve(into resolved: inout _ResolvedKeyframes<Self.Value>, initialValue: Self.Value, initialVelocity: Self.Value?) | |
} | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol Keyframes { | |
associatedtype Value = Self.Body.Value | |
associatedtype Body : Keyframes | |
@KeyframesBuilder<Self.Value> var body: Self.Body { get } | |
func _resolve(into resolved: inout _ResolvedKeyframes<Self.Value>, initialValue: Self.Value, initialVelocity: Self.Value?) | |
} | |
#endif | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Keyframes where Self.Value == Self.Body.Value { | |
public func _resolve(into resolved: inout _ResolvedKeyframes<Self.Value>, initialValue: Self.Value, initialVelocity: Self.Value?) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Never { | |
public func _resolve(into resolved: inout _ResolvedKeyframes<Never>, initialValue: Never, initialVelocity: Never?) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct _ResolvedKeyframes<Value> { | |
} | |
@available(*, unavailable) | |
extension _ResolvedKeyframes : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension PrimitiveButtonStyle where Self == LinkButtonStyle { | |
@_alwaysEmitIntoClient public static var link: LinkButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct LinkButtonStyle : PrimitiveButtonStyle { | |
public init() | |
public func makeBody(configuration: LinkButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15LinkButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension LinkButtonStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct OpenURLAction { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct Result { | |
public static let handled: OpenURLAction.Result | |
public static let discarded: OpenURLAction.Result | |
public static let systemAction: OpenURLAction.Result | |
public static func systemAction(_ url: URL) -> OpenURLAction.Result | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init(handler: @escaping (URL) -> OpenURLAction.Result) | |
public func callAsFunction(_ url: URL) | |
@available(watchOS, unavailable) | |
public func callAsFunction(_ url: URL, completion: @escaping (_ accepted: Bool) -> Void) | |
} | |
@available(*, unavailable) | |
extension OpenURLAction : Sendable { | |
} | |
@available(*, unavailable) | |
extension OpenURLAction.Result : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension EnvironmentValues { | |
public var openURL: OpenURLAction { | |
get | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
set | |
} | |
public var _openURL: OpenURLAction { | |
get | |
set | |
} | |
} | |
extension EnvironmentValues { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var _openSensitiveURL: OpenURLAction { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func searchable(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil) -> some View | |
public func searchable(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey) -> some View | |
@_disfavoredOverload public func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: S) -> some View where S : StringProtocol | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable(text: Binding<String>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil) -> some View | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable(text: Binding<String>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey) -> some View | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<S>(text: Binding<String>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: S) -> some View where S : StringProtocol | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_Children : View { | |
public static func _makeViewList(view: _GraphValue<_VariadicView.Children>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _VariadicView_Children : RandomAccessCollection { | |
public struct Element : View, Identifiable { | |
public var id: AnyHashable { | |
get | |
} | |
public func id<ID>(as _: ID.Type = ID.self) -> ID? where ID : Hashable | |
public subscript<Trait>(key: Trait.Type) -> Trait.Value where Trait : _ViewTraitKey { | |
get | |
set | |
} | |
public static func _makeView(view: _GraphValue<_VariadicView_Children.Element>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
public typealias ID = AnyHashable | |
} | |
public var startIndex: Int { | |
get | |
} | |
public var endIndex: Int { | |
get | |
} | |
public subscript(index: Int) -> _VariadicView_Children.Element { | |
get | |
} | |
public typealias Index = Int | |
public typealias Indices = Range<Int> | |
public typealias Iterator = IndexingIterator<_VariadicView_Children> | |
public typealias SubSequence = Slice<_VariadicView_Children> | |
} | |
@available(*, unavailable) | |
extension _VariadicView_Children.Element : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum Visibility : Hashable, CaseIterable { | |
case automatic | |
case visible | |
case hidden | |
public static func == (a: Visibility, b: Visibility) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [Visibility] | |
public static var allCases: [Visibility] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension AnyTransition { | |
public static func push(from edge: Edge) -> AnyTransition | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == PushTransition { | |
@_alwaysEmitIntoClient public static func push(from edge: Edge) -> Self { Self(edge: edge) } | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct PushTransition : Transition { | |
public var edge: Edge | |
public init(edge: Edge) | |
public func body(content: PushTransition.Content, phase: TransitionPhase) -> some View | |
public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI14PushTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0D5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PushTransition : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ForEach { | |
public init<C, R>(_ data: Binding<C>, editActions: EditActions<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> R) where Data == IndexedIdentifierCollection<C, ID>, ID == C.Element.ID, Content == EditableCollectionContent<R, C>, C : MutableCollection, C : RandomAccessCollection, R : View, C.Element : Identifiable, C.Index : Hashable | |
public init<C, R>(_ data: Binding<C>, id: KeyPath<C.Element, ID>, editActions: EditActions<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> R) where Data == IndexedIdentifierCollection<C, ID>, Content == EditableCollectionContent<R, C>, C : MutableCollection, C : RandomAccessCollection, R : View, C.Index : Hashable | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct EditActions<Data> : OptionSet, Sendable { | |
public let rawValue: Int | |
public init(rawValue: Int) | |
@available(*, unavailable, message: "Delete is available only for collections conforming to RangeReplaceableCollection.") | |
public static var delete: EditActions<Data> { | |
get | |
} | |
@available(*, unavailable, message: "Move is available only for collections conforming to MutableCollection.") | |
public static var move: EditActions<Data> { | |
get | |
} | |
public static var all: EditActions<Data> { | |
get | |
} | |
public typealias ArrayLiteralElement = EditActions<Data> | |
public typealias Element = EditActions<Data> | |
public typealias RawValue = Int | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EditActions where Data : RangeReplaceableCollection { | |
public static var delete: EditActions<Data> { | |
get | |
} | |
public static var all: EditActions<Data> { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EditActions where Data : MutableCollection { | |
public static var move: EditActions<Data> { | |
get | |
} | |
public static var all: EditActions<Data> { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EditActions where Data : MutableCollection, Data : RangeReplaceableCollection { | |
public static var all: EditActions<Data> { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct EditableCollectionContent<Content, Data> { | |
} | |
@available(*, unavailable) | |
extension EditableCollectionContent : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EditableCollectionContent : View where Content : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25EditableCollectionContentVA2A4ViewRzrlE4bodyQrvp", 0) __<Content, Data> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct IndexedIdentifierCollection<Base, ID> : Collection where Base : Collection, ID : Hashable { | |
public struct Element { | |
} | |
public typealias Index = Base.Index | |
public var startIndex: IndexedIdentifierCollection<Base, ID>.Index { | |
get | |
} | |
public var endIndex: IndexedIdentifierCollection<Base, ID>.Index { | |
get | |
} | |
public subscript(position: IndexedIdentifierCollection<Base, ID>.Index) -> IndexedIdentifierCollection<Base, ID>.Element { | |
get | |
} | |
public func index(after i: IndexedIdentifierCollection<Base, ID>.Index) -> IndexedIdentifierCollection<Base, ID>.Index | |
public typealias Indices = DefaultIndices<IndexedIdentifierCollection<Base, ID>> | |
public typealias Iterator = IndexingIterator<IndexedIdentifierCollection<Base, ID>> | |
public typealias SubSequence = Slice<IndexedIdentifierCollection<Base, ID>> | |
} | |
@available(*, unavailable) | |
extension IndexedIdentifierCollection.Element : Sendable { | |
} | |
@available(*, unavailable) | |
extension IndexedIdentifierCollection : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension IndexedIdentifierCollection : BidirectionalCollection where Base : BidirectionalCollection { | |
public func index(before i: IndexedIdentifierCollection<Base, ID>.Index) -> IndexedIdentifierCollection<Base, ID>.Index | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension IndexedIdentifierCollection : RandomAccessCollection where Base : RandomAccessCollection { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable @_disfavoredOverload public func transition(_ t: AnyTransition) -> some View { | |
return _trait(TransitionTraitKey.self, t) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public func transition<T>(_ transition: T) -> some View where T : Transition { | |
self.transition(AnyTransition(transition)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct TransitionTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: AnyTransition { | |
get { .opacity } | |
} | |
@usableFromInline | |
internal typealias Value = AnyTransition | |
} | |
@available(*, unavailable) | |
extension TransitionTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct CanTransitionTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension CanTransitionTraitKey : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func safeAreaInset<V>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> V) -> some View where V : View { | |
modifier(_InsetViewModifier( | |
content: content(), edge: Edge(vertical: edge), | |
regions: .container, spacing: spacing, | |
alignmentKey: alignment.key)) | |
} | |
@inlinable public func safeAreaInset<V>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> V) -> some View where V : View { | |
modifier(_InsetViewModifier( | |
content: content(), edge: Edge(horizontal: edge), | |
regions: .container, spacing: spacing, | |
alignmentKey: alignment.key)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _InsetViewModifier<Content> : ViewModifier where Content : View { | |
@usableFromInline | |
internal var content: Content | |
@usableFromInline | |
internal var properties: (regions: SafeAreaRegions, spacing: CGFloat?, edge: Edge, alignmentKey: AlignmentKey) | |
@inlinable internal init(content: Content, edge: Edge, regions: SafeAreaRegions, spacing: CGFloat?, alignmentKey: AlignmentKey) { | |
self.content = content | |
properties = (regions, spacing, edge, alignmentKey) | |
} | |
public static func _makeView(modifier: _GraphValue<_InsetViewModifier<Content>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _InsetViewModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
internal struct SafeAreaPaddingModifier : ViewModifier { | |
@usableFromInline | |
internal init(edges: Edge.Set, insets: EdgeInsets?) | |
@usableFromInline | |
@MainActor(unsafe) internal func body(content: SafeAreaPaddingModifier.Content) -> some View | |
@usableFromInline | |
internal typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI23SafeAreaPaddingModifierV4body7contentQrAA05_ViewF8_ContentVyACG_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension SafeAreaPaddingModifier : Sendable { | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public func safeAreaPadding(_ insets: EdgeInsets) -> some View { | |
modifier( | |
SafeAreaPaddingModifier(edges: .all, insets: insets) | |
) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public func safeAreaPadding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View { | |
modifier( | |
SafeAreaPaddingModifier( | |
edges: edges, insets: length.map { EdgeInsets(_all: $0) } | |
) | |
) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient public func safeAreaPadding(_ length: CGFloat) -> some View { | |
safeAreaPadding(.all, length) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct FileDocumentWriteConfiguration { | |
public let contentType: UTType | |
public let existingFile: FileWrapper? | |
} | |
@available(*, unavailable) | |
extension FileDocumentWriteConfiguration : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct FileDocumentReadConfiguration { | |
public let contentType: UTType | |
public let file: FileWrapper | |
} | |
@available(*, unavailable) | |
extension FileDocumentReadConfiguration : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public protocol NavigationSplitViewStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = NavigationSplitViewStyleConfiguration | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct NavigationSplitViewStyleConfiguration { | |
} | |
@available(*, unavailable) | |
extension NavigationSplitViewStyleConfiguration : Sendable { | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func navigationSplitViewStyle<S>(_ style: S) -> some View where S : NavigationSplitViewStyle | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Shape { | |
@_alwaysEmitIntoClient public func intersection<T>(_ other: T, eoFill: Bool = false) -> some Shape where T : Shape { | |
return _ShapeIntersection(self, other, eoFill: eoFill) | |
} | |
@_alwaysEmitIntoClient public func union<T>(_ other: T, eoFill: Bool = false) -> some Shape where T : Shape { | |
return _ShapeUnion(self, other, eoFill: eoFill) | |
} | |
@_alwaysEmitIntoClient public func subtracting<T>(_ other: T, eoFill: Bool = false) -> some Shape where T : Shape { | |
return _ShapeSubtraction(self, other, eoFill: eoFill) | |
} | |
@_alwaysEmitIntoClient public func symmetricDifference<T>(_ other: T, eoFill: Bool = false) -> some Shape where T : Shape { | |
return _ShapeSymmetricDifference(self, other, eoFill: eoFill) | |
} | |
@_alwaysEmitIntoClient public func lineIntersection<T>(_ other: T, eoFill: Bool = false) -> some Shape where T : Shape { | |
return _ShapeLineIntersection(self, other, eoFill: eoFill) | |
} | |
@_alwaysEmitIntoClient public func lineSubtraction<T>(_ other: T, eoFill: Bool = false) -> some Shape where T : Shape { | |
return _ShapeLineSubtraction(self, other, eoFill: eoFill) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _ShapeIntersection<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
internal var lhs: T | |
@usableFromInline | |
internal var rhs: U | |
@usableFromInline | |
internal var eoFill: Bool | |
@_alwaysEmitIntoClient internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
public func path(in r: CGRect) -> Path | |
public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
public var animatableData: _ShapeIntersection<T, U>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_ShapeIntersection<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _ShapeUnion<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
internal var lhs: T | |
@usableFromInline | |
internal var rhs: U | |
@usableFromInline | |
internal var eoFill: Bool | |
@_alwaysEmitIntoClient internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
public func path(in r: CGRect) -> Path | |
public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
public var animatableData: _ShapeUnion<T, U>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_ShapeUnion<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _ShapeSubtraction<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
internal var lhs: T | |
@usableFromInline | |
internal var rhs: U | |
@usableFromInline | |
internal var eoFill: Bool | |
@_alwaysEmitIntoClient internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
public func path(in r: CGRect) -> Path | |
public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
public var animatableData: _ShapeSubtraction<T, U>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_ShapeSubtraction<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _ShapeSymmetricDifference<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
internal var lhs: T | |
@usableFromInline | |
internal var rhs: U | |
@usableFromInline | |
internal var eoFill: Bool | |
@_alwaysEmitIntoClient internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
public func path(in r: CGRect) -> Path | |
public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
public var animatableData: _ShapeSymmetricDifference<T, U>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_ShapeSymmetricDifference<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _ShapeLineIntersection<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
internal var lhs: T | |
@usableFromInline | |
internal var rhs: U | |
@usableFromInline | |
internal var eoFill: Bool | |
@_alwaysEmitIntoClient internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
public func path(in r: CGRect) -> Path | |
public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
public var animatableData: _ShapeLineIntersection<T, U>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_ShapeLineIntersection<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _ShapeLineSubtraction<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
internal var lhs: T | |
@usableFromInline | |
internal var rhs: U | |
@usableFromInline | |
internal var eoFill: Bool | |
@_alwaysEmitIntoClient internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
public func path(in r: CGRect) -> Path | |
public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
public var animatableData: _ShapeLineSubtraction<T, U>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_ShapeLineSubtraction<T, U>, ForegroundStyle> | |
} | |
@available(macOS 11.0, visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension WindowStyle where Self == DefaultWindowStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultWindowStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 11.0, visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DefaultWindowStyle : WindowStyle { | |
public typealias _Body = Never | |
public init() | |
} | |
@available(*, unavailable) | |
extension DefaultWindowStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AllowsHitTestingModifier : Equatable { | |
public var allowsHitTesting: Bool | |
@inlinable public init(allowsHitTesting: Bool) { | |
self.allowsHitTesting = allowsHitTesting | |
} | |
public static func _makeView(modifier: _GraphValue<_AllowsHitTestingModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func == (a: _AllowsHitTestingModifier, b: _AllowsHitTestingModifier) -> Bool | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func allowsHitTesting(_ enabled: Bool) -> some View { | |
return modifier(_AllowsHitTestingModifier(allowsHitTesting: enabled)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@propertyWrapper public struct ScaledMetric<Value> : DynamicProperty where Value : BinaryFloatingPoint { | |
public init(wrappedValue: Value, relativeTo textStyle: Font.TextStyle) | |
public init(wrappedValue: Value) | |
public var wrappedValue: Value { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ScaledMetric : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@available(*, deprecated, message: "Use @ScaledMetric") | |
@propertyWrapper public struct _ScaledValue : DynamicProperty { | |
public init(wrappedValue: CGFloat, textStyle: Font.TextStyle = .body) | |
public var wrappedValue: CGFloat { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension _ScaledValue : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle where Self == LinkShapeStyle { | |
@_alwaysEmitIntoClient public static var link: LinkShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct LinkShapeStyle : ShapeStyle { | |
public init() | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _EnvironmentKeyWritingModifier<Value> : ViewModifier, _GraphInputsModifier { | |
public var keyPath: WritableKeyPath<EnvironmentValues, Value> | |
public var value: Value | |
@inlinable public init(keyPath: WritableKeyPath<EnvironmentValues, Value>, value: Value) { | |
self.keyPath = keyPath | |
self.value = value | |
} | |
public static func _makeInputs(modifier: _GraphValue<_EnvironmentKeyWritingModifier<Value>>, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension _EnvironmentKeyWritingModifier : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _EnvironmentKeyWritingModifier : _SceneModifier { | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some View { | |
modifier(_EnvironmentKeyWritingModifier(keyPath: keyPath, value: value)) | |
} | |
} | |
extension Scene { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_alwaysEmitIntoClient public func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some Scene { | |
modifier(_EnvironmentKeyWritingModifier(keyPath: keyPath, value: value)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func contentShape<S>(_ kind: ContentShapeKinds, _ shape: S, eoFill: Bool = false) -> some View where S : Shape { | |
modifier( | |
_ContentShapeKindModifier(shape: shape, eoFill: eoFill, kind: kind)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ContentShapeKindModifier<ContentShape> : ViewModifier where ContentShape : Shape { | |
public var shape: ContentShape | |
public var eoFill: Bool | |
public var kind: ContentShapeKinds | |
@inlinable public init(shape: ContentShape, eoFill: Bool = false, kind: ContentShapeKinds) { | |
self.shape = shape | |
self.eoFill = eoFill | |
self.kind = kind | |
} | |
public static func _makeView(modifier: _GraphValue<_ContentShapeKindModifier<ContentShape>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ContentShapeKindModifier : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct NavigationPath { | |
public var count: Int { | |
get | |
} | |
public var isEmpty: Bool { | |
get | |
} | |
public var codable: NavigationPath.CodableRepresentation? { | |
get | |
} | |
public init() | |
public init<S>(_ elements: S) where S : Sequence, S.Element : Hashable | |
public init<S>(_ elements: S) where S : Sequence, S.Element : Decodable, S.Element : Encodable, S.Element : Hashable | |
public init(_ codable: NavigationPath.CodableRepresentation) | |
public mutating func append<V>(_ value: V) where V : Hashable | |
public mutating func append<V>(_ value: V) where V : Decodable, V : Encodable, V : Hashable | |
public mutating func removeLast(_ k: Int = 1) | |
public struct CodableRepresentation : Codable { | |
public init(from decoder: any Decoder) throws | |
public func encode(to encoder: any Encoder) throws | |
} | |
} | |
@available(*, unavailable) | |
extension NavigationPath : Sendable { | |
} | |
@available(*, unavailable) | |
extension NavigationPath.CodableRepresentation : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationPath : Equatable { | |
public static func == (lhs: NavigationPath, rhs: NavigationPath) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationPath.CodableRepresentation : Equatable { | |
public static func == (lhs: NavigationPath.CodableRepresentation, rhs: NavigationPath.CodableRepresentation) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func withAnimation<Result>(_ animation: Animation? = .default, completionCriteria: AnimationCompletionCriteria = .logicallyComplete, _ body: () throws -> Result, completion: @escaping () -> Void) rethrows -> Result | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transaction { | |
public mutating func addAnimationCompletion(criteria: AnimationCompletionCriteria = .logicallyComplete, _ completion: @escaping () -> Void) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct AnimationCompletionCriteria : Hashable, Sendable { | |
public static let logicallyComplete: AnimationCompletionCriteria | |
public static let removed: AnimationCompletionCriteria | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: AnimationCompletionCriteria, b: AnimationCompletionCriteria) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _Placement : Equatable { | |
public var proposedSize: CGSize { | |
get | |
set | |
} | |
public var anchor: UnitPoint | |
public var anchorPosition: CGPoint | |
public init(proposedSize: CGSize, anchoring anchor: UnitPoint = .topLeading, at anchorPosition: CGPoint) | |
public static func == (a: _Placement, b: _Placement) -> Bool | |
} | |
@available(*, unavailable) | |
extension _Placement : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
#if compiler(>=5.3) && $Sendable | |
public func scrollTransition(_ configuration: ScrollTransitionConfiguration = .interactive, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View | |
#endif | |
#if compiler(>=5.3) && $Sendable | |
public func scrollTransition(topLeading: ScrollTransitionConfiguration, bottomTrailing: ScrollTransitionConfiguration, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View | |
#endif | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ScrollTransitionConfiguration { | |
public static func animated(_ animation: Animation = .default) -> ScrollTransitionConfiguration | |
public static let animated: ScrollTransitionConfiguration | |
public static func interactive(timingCurve: UnitCurve = .easeInOut) -> ScrollTransitionConfiguration | |
public static let interactive: ScrollTransitionConfiguration | |
public static let identity: ScrollTransitionConfiguration | |
public func animation(_ animation: Animation) -> ScrollTransitionConfiguration | |
public func threshold(_ threshold: ScrollTransitionConfiguration.Threshold) -> ScrollTransitionConfiguration | |
} | |
@available(*, unavailable) | |
extension ScrollTransitionConfiguration : Sendable { | |
} | |
extension ScrollTransitionConfiguration { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct Threshold { | |
public static let visible: ScrollTransitionConfiguration.Threshold | |
public static let hidden: ScrollTransitionConfiguration.Threshold | |
public static var centered: ScrollTransitionConfiguration.Threshold { | |
get | |
} | |
public static func visible(_ amount: Double) -> ScrollTransitionConfiguration.Threshold | |
public func interpolated(towards other: ScrollTransitionConfiguration.Threshold, amount: Double) -> ScrollTransitionConfiguration.Threshold | |
public func inset(by distance: Double) -> ScrollTransitionConfiguration.Threshold | |
} | |
} | |
@available(*, unavailable) | |
extension ScrollTransitionConfiguration.Threshold : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public enum ScrollTransitionPhase { | |
case topLeading | |
case identity | |
case bottomTrailing | |
public var isIdentity: Bool { | |
get | |
} | |
public var value: Double { | |
get | |
} | |
public static func == (a: ScrollTransitionPhase, b: ScrollTransitionPhase) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ScrollTransitionPhase : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func _defaultContext() -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ToolbarItemPlacement { | |
public static let automatic: ToolbarItemPlacement | |
@available(watchOS, unavailable) | |
public static let principal: ToolbarItemPlacement | |
@available(watchOS, unavailable) | |
public static let navigation: ToolbarItemPlacement | |
public static let primaryAction: ToolbarItemPlacement | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let secondaryAction: ToolbarItemPlacement | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let status: ToolbarItemPlacement | |
public static let confirmationAction: ToolbarItemPlacement | |
public static let cancellationAction: ToolbarItemPlacement | |
public static let destructiveAction: ToolbarItemPlacement | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let keyboard: ToolbarItemPlacement | |
@available(iOS 14.0, tvOS 14.0, watchOS 10.0, *) | |
@backDeployed(before: iOS 17.0, tvOS 17.0) | |
@available(macOS, unavailable) | |
public static var topBarLeading: ToolbarItemPlacement { | |
get { | |
.navigationBarLeading | |
} | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 10.0, *) | |
@backDeployed(before: iOS 17.0, tvOS 17.0) | |
@available(macOS, unavailable) | |
public static var topBarTrailing: ToolbarItemPlacement { | |
get { | |
.navigationBarTrailing | |
} | |
} | |
@available(macOS 13.0, *) | |
@backDeployed(before: macOS 14.0) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public static func accessoryBar<ID>(id: ID) -> ToolbarItemPlacement where ID : Hashable | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@usableFromInline | |
internal static func backDeployable_accessoryBar<ID>(id: ID) -> ToolbarItemPlacement where ID : Hashable | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarLeading instead") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarLeading instead") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarLeading instead") | |
public static let navigationBarLeading: ToolbarItemPlacement | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarTrailing instead") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarTrailing instead") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead") | |
public static let navigationBarTrailing: ToolbarItemPlacement | |
@available(watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let bottomBar: ToolbarItemPlacement | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let bottomOrnament: ToolbarItemPlacement | |
} | |
@available(*, unavailable) | |
extension ToolbarItemPlacement : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension ToolbarItemPlacement { | |
@available(macOS, introduced: 13.0, deprecated: 14.0, renamed: "accessoryBar") | |
public init<ID>(id: ID) where ID : Hashable | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
public func navigationBarItems<L, T>(leading: L, trailing: T) -> some View where L : View, T : View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
public func navigationBarItems<L>(leading: L) -> some View where L : View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement") | |
public func navigationBarItems<T>(trailing: T) -> some View where T : View | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct PullDownMenuBarExtraStyle : MenuBarExtraStyle { | |
public typealias _Body = Never | |
public init() | |
public func _makeMenuBarExtra(_ value: _MenuBarExtraValue<PullDownMenuBarExtraStyle>) -> _MenuBarExtraValue<PullDownMenuBarExtraStyle> | |
} | |
@available(*, unavailable) | |
extension PullDownMenuBarExtraStyle : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuBarExtraStyle where Self == PullDownMenuBarExtraStyle { | |
public static var menu: PullDownMenuBarExtraStyle { | |
get | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "Use `HierarchicalShapeStyle` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _SystemShapeStyle : ShapeStyle { | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "Use `HierarchicalShapeStyle.primary` instead.") | |
public static let primaryFill: _SystemShapeStyle | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "Use `HierarchicalShapeStyle.secondary` instead.") | |
public static let secondaryFill: _SystemShapeStyle | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "Use `HierarchicalShapeStyle.tertiary` instead.") | |
public static let tertiaryFill: _SystemShapeStyle | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "Use `HierarchicalShapeStyle.quaternary` instead.") | |
public static let quaternaryFill: _SystemShapeStyle | |
public static func _makeView<S>(view: _GraphValue<_ShapeView<S, _SystemShapeStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
public typealias Resolved = Never | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableRow<Value> : TableRowContent where Value : Identifiable { | |
public typealias TableRowValue = Value | |
public typealias TableRowBody = Never | |
public init(_ value: Value) | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
public static func _makeRows(content: _GraphValue<TableRow<Value>>, inputs: _TableRowInputs) -> _TableRowOutputs | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
} | |
@available(*, unavailable) | |
extension TableRow : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal struct TypeSelectEquivalentKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Text? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Text? | |
} | |
@available(*, unavailable) | |
extension TypeSelectEquivalentKey : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
@inlinable public func typeSelectEquivalent(_ text: Text?) -> some View { | |
_trait(TypeSelectEquivalentKey.self, text) | |
} | |
@_alwaysEmitIntoClient public func typeSelectEquivalent(_ stringKey: LocalizedStringKey) -> some View { | |
typeSelectEquivalent(Text(stringKey)) | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public func typeSelectEquivalent<S>(_ string: S) -> some View where S : StringProtocol { | |
typeSelectEquivalent(Text(string)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _TypeSelectEquivalentTableRowModifier : _TableRowContentModifier { | |
public var body: some _TableRowContentModifier { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI37_TypeSelectEquivalentTableRowModifierV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension _TypeSelectEquivalentTableRowModifier : Sendable { | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
@inlinable public func onHover(perform action: @escaping (Bool) -> Void) -> some View { | |
modifier(_HoverRegionModifier(action)) | |
} | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@frozen public struct _HoverRegionModifier : ViewModifier { | |
public let callback: (Bool) -> Void | |
@inlinable public init(_ callback: @escaping (Bool) -> Void) { | |
self.callback = callback | |
} | |
public static func _makeView(modifier: _GraphValue<_HoverRegionModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _HoverRegionModifier : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityValue(_ valueDescription: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
public func accessibilityValue(_ valueKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload public func accessibilityValue<S>(_ value: S) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityValue(_ valueDescription: Text) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityValue(_ valueKey: LocalizedStringKey) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityValue<S>(_ value: S) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
public func accessibility(value: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityValue(_:)") | |
public func accessibility(value: Text) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityHint(_ hint: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
public func accessibilityInputLabels(_ inputLabels: [Text]) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityHint(_ hint: Text) -> ModifiedContent<Content, Modifier> | |
public func accessibilityInputLabels(_ inputLabels: [Text]) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityHint(_ hintKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload public func accessibilityHint<S>(_ hint: S) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
public func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey]) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload public func accessibilityInputLabels<S>(_ inputLabels: [S]) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityHint(_ hintKey: LocalizedStringKey) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityHint<S>(_ hint: S) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
public func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey]) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityInputLabels<S>(_ inputLabels: [S]) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
public func accessibility(hidden: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
public func accessibility(label: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
public func accessibility(hint: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
public func accessibility(inputLabels: [Text]) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
public func accessibility(identifier: String) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, deprecated, introduced: 13.0) | |
@available(macOS, deprecated, introduced: 10.15) | |
@available(tvOS, deprecated, introduced: 13.0) | |
@available(watchOS, deprecated, introduced: 6) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
public func accessibility(selectionIdentifier: AnyHashable) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
public func accessibility(sortPriority: Double) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
public func accessibility(activationPoint: CGPoint) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
public func accessibility(activationPoint: UnitPoint) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityHidden(_:)") | |
public func accessibility(hidden: Bool) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityLabel(_:)") | |
public func accessibility(label: Text) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityHint(_:)") | |
public func accessibility(hint: Text) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityInputLabels(_:)") | |
public func accessibility(inputLabels: [Text]) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityIdentifier(_:)") | |
public func accessibility(identifier: String) -> ModifiedContent<Content, Modifier> | |
@available(iOS, deprecated, introduced: 13.0) | |
@available(macOS, deprecated, introduced: 10.15) | |
@available(tvOS, deprecated, introduced: 13.0) | |
@available(watchOS, deprecated, introduced: 6) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
public func accessibility(selectionIdentifier: AnyHashable) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilitySortPriority(_:)") | |
public func accessibility(sortPriority: Double) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
public func accessibility(activationPoint: CGPoint) -> ModifiedContent<Content, Modifier> | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(watchOS, introduced: 6, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "accessibilityActivationPoint(_:)") | |
public func accessibility(activationPoint: UnitPoint) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Color { | |
public enum RGBColorSpace : Sendable { | |
case sRGB | |
case sRGBLinear | |
case displayP3 | |
public static func == (a: Color.RGBColorSpace, b: Color.RGBColorSpace) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public init(_ colorSpace: Color.RGBColorSpace = .sRGB, red: Double, green: Double, blue: Double, opacity: Double = 1) | |
public init(_ colorSpace: Color.RGBColorSpace = .sRGB, white: Double, opacity: Double = 1) | |
public init(hue: Double, saturation: Double, brightness: Double, opacity: Double = 1) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor(unsafe) public struct List<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View { | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init(selection: Binding<Set<SelectionValue>>?, @ViewBuilder content: () -> Content) | |
@available(watchOS 10.0, *) | |
@MainActor(unsafe) public init(selection: Binding<SelectionValue?>?, @ViewBuilder content: () -> Content) | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init(selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI4ListV4bodyQrvp", 0) __<SelectionValue, Content> | |
} | |
@available(*, unavailable) | |
extension List : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension List { | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, RowContent>(_ data: Data, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable { | |
self.init(selection: selection) { | |
ForEach(data) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, RowContent>(_ data: Data, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, RowContent>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, RowContent>, Data : RandomAccessCollection, ID : Hashable, RowContent : View { | |
self.init(selection: selection) { | |
ForEach(data, id: id) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, RowContent>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, children: KeyPath<Data.Element, Data?>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, children: KeyPath<Data.Element, Data?>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(watchOS, unavailable) | |
@_semantics("swiftui.requires_constant_range") @MainActor(unsafe) public init<RowContent>(_ data: Range<Int>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_semantics("swiftui.requires_constant_range") @_disfavoredOverload @MainActor(unsafe) public init<RowContent>(_ data: Range<Int>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
@available(watchOS 10.0, *) | |
@_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, RowContent>(_ data: Data, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable { | |
self.init(selection: selection) { | |
ForEach(data) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Data, children: KeyPath<Data.Element, Data?>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(watchOS 10.0, *) | |
@_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, RowContent>, Data : RandomAccessCollection, ID : Hashable, RowContent : View { | |
self.init(selection: selection) { | |
ForEach(data, id: id) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, children: KeyPath<Data.Element, Data?>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient @_semantics("swiftui.requires_constant_range") @MainActor(unsafe) public init<RowContent>(_ data: Range<Int>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, RowContent>, RowContent : View { | |
self.init(selection: selection) { | |
ForEach(data) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @MainActor(unsafe) internal init<Data, RowContent>(_ data: Data, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, HStack<RowContent>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @MainActor(unsafe) internal init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, HStack<RowContent>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @MainActor(unsafe) internal init<Data, RowContent>(_ data: Data, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, HStack<RowContent>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @MainActor(unsafe) internal init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, HStack<RowContent>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @_semantics("swiftui.requires_constant_range") @MainActor(unsafe) internal init<RowContent>(_ data: Range<Int>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension List where SelectionValue == Never { | |
@MainActor(unsafe) public init(@ViewBuilder content: () -> Content) | |
@_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable { | |
self.init { | |
ForEach(data) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Data, children: KeyPath<Data.Element, Data?>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, RowContent>, Data : RandomAccessCollection, ID : Hashable, RowContent : View { | |
self.init { | |
ForEach(data, id: id) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, children: KeyPath<Data.Element, Data?>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == OutlineGroup<Data, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@_semantics("swiftui.requires_constant_range") @_alwaysEmitIntoClient @MainActor(unsafe) public init<RowContent>(_ data: Range<Int>, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, RowContent>, RowContent : View { | |
self.init { | |
ForEach(data) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, introduced: 6.0, deprecated: 8.0) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @MainActor(unsafe) internal init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, HStack<RowContent>>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, introduced: 6.0, deprecated: 8.0) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_disfavoredOverload @MainActor(unsafe) internal init<Data, ID, RowContent>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, ID, HStack<RowContent>>, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(iOS, introduced: 13.0, deprecated: 15.0) | |
@available(macOS, introduced: 10.15, deprecated: 12.0) | |
@available(tvOS, introduced: 13.0, deprecated: 15.0) | |
@available(watchOS, introduced: 6.0, deprecated: 8.0) | |
@available(visionOS, introduced: 1.0, deprecated: 1.0) | |
@usableFromInline | |
@_semantics("swiftui.requires_constant_range") @_disfavoredOverload @MainActor(unsafe) internal init<RowContent>(_ data: Range<Int>, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension List { | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<LazyMapSequence<Data.Indices, (Data.Index, Data.Element.ID)>, Data.Element.ID, RowContent>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable { | |
self.init(data, id: \.id, selection: selection, rowContent: rowContent) | |
} | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<LazyMapSequence<Data.Indices, (Data.Index, ID)>, ID, RowContent>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable { | |
self.init(selection: selection) { | |
ForEach(data, id: id) { item in | |
rowContent(item) | |
} | |
} | |
} | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<LazyMapSequence<Data.Indices, (Data.Index, Data.Element.ID)>, Data.Element.ID, RowContent>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable { | |
self.init(data, id: \.id, selection: selection, rowContent: rowContent) | |
} | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<LazyMapSequence<Data.Indices, (Data.Index, ID)>, ID, RowContent>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable { | |
self.init(selection: selection) { | |
ForEach(data, id: id) { item in | |
rowContent(item) | |
} | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension List where SelectionValue == Never { | |
@_disfavoredOverload @_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<LazyMapSequence<Data.Indices, (Data.Index, Data.Element.ID)>, Data.Element.ID, RowContent>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable { | |
self.init(data, id: \.id, rowContent: rowContent) | |
} | |
@_disfavoredOverload @_alwaysEmitIntoClient @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<LazyMapSequence<Data.Indices, (Data.Index, ID)>, ID, RowContent>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable { | |
self.init { | |
ForEach(data, id: id) { item in | |
rowContent(item) | |
} | |
} | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension List { | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, children: WritableKeyPath<Data.Element, Data?>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, children: WritableKeyPath<Data.Element, Data?>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, children: WritableKeyPath<Data.Element, Data?>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, children: WritableKeyPath<Data.Element, Data?>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, children: WritableKeyPath<Data.Element, Data?>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, children: WritableKeyPath<Data.Element, Data?>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension List where SelectionValue == Never { | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, children: WritableKeyPath<Data.Element, Data?>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, Data.Element.ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, children: WritableKeyPath<Data.Element, Data?>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == OutlineGroup<Binding<Data>, ID, RowContent, RowContent, DisclosureGroup<RowContent, OutlineSubgroupChildren>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View | |
} | |
@available(iOS 15.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func listRowSeparator(_ visibility: Visibility, edges: VerticalEdge.Set = .all) -> some View | |
public func listRowSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View | |
} | |
@available(iOS 15.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func listSectionSeparator(_ visibility: Visibility, edges: VerticalEdge.Set = .all) -> some View | |
public func listSectionSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension HorizontalAlignment { | |
public static let listRowSeparatorLeading: HorizontalAlignment | |
public static let listRowSeparatorTrailing: HorizontalAlignment | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func onPreferenceChange<K>(_ key: K.Type = K.self, perform action: @escaping (K.Value) -> Void) -> some View where K : PreferenceKey, K.Value : Equatable { | |
return modifier(_PreferenceActionModifier<K>(action: action)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _PreferenceActionModifier<Key> : ViewModifier where Key : PreferenceKey, Key.Value : Equatable { | |
public var action: (Key.Value) -> Void | |
@inlinable public init(action: @escaping (Key.Value) -> Void) { | |
self.action = action | |
} | |
public static func _makeView(modifier: _GraphValue<_PreferenceActionModifier<Key>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _PreferenceActionModifier : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ToolbarItem<ID, Content> : ToolbarContent where Content : View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func _makeToolbar(content: _GraphValue<ToolbarItem<ID, Content>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
public static func _makeContent(content: _GraphValue<ToolbarItem<ID, Content>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension ToolbarItem : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ToolbarItem where ID == () { | |
public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ToolbarItem : CustomizableToolbarContent where ID == String { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_alwaysEmitIntoClient public init(id: String, placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content) { | |
self.init( | |
id: id, placement: placement, | |
showsByDefault: true, content: content) | |
} | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use the CustomizableToolbarContent/defaultCustomization(_:options) modifier with a value of .hidden") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use the CustomizableToolbarContent/defaultCustomization(_:options) modifier with a value of .hidden") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "Use the CustomizableToolbarContent/defaultCustomization(_:options) modifier with a value of .hidden") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use the CustomizableToolbarContent/defaultCustomization(_:options) modifier with a value of .hidden") | |
public init(id: String, placement: ToolbarItemPlacement = .automatic, showsByDefault: Bool, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ToolbarItem : Identifiable where ID : Hashable { | |
public var id: ID { | |
get | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ListStyle where Self == GroupedListStyle { | |
@_alwaysEmitIntoClient public static var grouped: GroupedListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct GroupedListStyle : ListStyle { | |
public init() | |
@available(iOS, deprecated: 16.0, message: "Use listPadding instead.") | |
@available(visionOS, deprecated: 1.0, message: "Use listPadding instead.") | |
public static func _sectionInset(_ sectionInset: EdgeInsets) -> GroupedListStyle | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<GroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<GroupedListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension GroupedListStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilitySortPriority(_ sortPriority: Double) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilitySortPriority(_ sortPriority: Double) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol DynamicViewContent : View { | |
associatedtype Data : Collection | |
var data: Self.Data { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ForEach : DynamicViewContent where Content : View { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ModifiedContent : DynamicViewContent where Content : DynamicViewContent, Modifier : ViewModifier { | |
public var data: Content.Data { | |
get | |
} | |
public typealias Data = Content.Data | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct SymbolVariants : Hashable, Sendable { | |
public static let none: SymbolVariants | |
public static let circle: SymbolVariants | |
public static let square: SymbolVariants | |
public static let rectangle: SymbolVariants | |
public var circle: SymbolVariants { | |
get | |
} | |
public var square: SymbolVariants { | |
get | |
} | |
public var rectangle: SymbolVariants { | |
get | |
} | |
public static let fill: SymbolVariants | |
public var fill: SymbolVariants { | |
get | |
} | |
public static let slash: SymbolVariants | |
public var slash: SymbolVariants { | |
get | |
} | |
public func contains(_ other: SymbolVariants) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: SymbolVariants, b: SymbolVariants) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func symbolVariant(_ variant: SymbolVariants) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var symbolVariants: SymbolVariants { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func accessibilityScrollAction(_ handler: @escaping (Edge) -> Void) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityScrollAction(_ handler: @escaping (Edge) -> Void) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func fileDialogDefaultDirectory(_ defaultDirectory: URL?) -> some View | |
public func fileDialogCustomizationID(_ id: String) -> some View | |
public func fileDialogMessage(_ message: Text?) -> some View | |
public func fileDialogMessage(_ messageKey: LocalizedStringKey) -> some View | |
@_disfavoredOverload public func fileDialogMessage<S>(_ message: S) -> some View where S : StringProtocol | |
@_disfavoredOverload public func fileDialogConfirmationLabel<S>(_ label: S) -> some View where S : StringProtocol | |
public func fileDialogConfirmationLabel(_ label: Text?) -> some View | |
public func fileDialogConfirmationLabel(_ labelKey: LocalizedStringKey) -> some View | |
public func fileExporterFilenameLabel(_ label: Text?) -> some View | |
public func fileExporterFilenameLabel(_ labelKey: LocalizedStringKey) -> some View | |
@_disfavoredOverload public func fileExporterFilenameLabel<S>(_ label: S) -> some View where S : StringProtocol | |
#if compiler(>=5.3) && $ParameterPacks | |
public func fileDialogURLEnabled(_ predicate: Predicate<URL>) -> some View | |
#endif | |
public func fileDialogImportsUnresolvedAliases(_ imports: Bool) -> some View | |
public func fileDialogBrowserOptions(_ options: FileDialogBrowserOptions) -> some View | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct FileDialogBrowserOptions : OptionSet { | |
public let rawValue: Int | |
public init(rawValue: Int) | |
public static let enumeratePackages: FileDialogBrowserOptions | |
public static let includeHiddenFiles: FileDialogBrowserOptions | |
public static let displayFileExtensions: FileDialogBrowserOptions | |
public typealias ArrayLiteralElement = FileDialogBrowserOptions | |
public typealias Element = FileDialogBrowserOptions | |
public typealias RawValue = Int | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension FileDialogBrowserOptions : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @propertyWrapper public struct SceneStorage<Value> : DynamicProperty { | |
@usableFromInline | |
internal var _key: String | |
@usableFromInline | |
internal var _domain: String? | |
@usableFromInline | |
internal var _value: Value | |
@usableFromInline | |
internal var _location: AnyLocation<Value>? | |
@usableFromInline | |
internal var _transformBox: SceneStorageTransformBox | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: Binding<Value> { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension SceneStorage : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SceneStorage { | |
public init(wrappedValue: Value, _ key: String) where Value == Bool | |
public init(wrappedValue: Value, _ key: String) where Value == Int | |
public init(wrappedValue: Value, _ key: String) where Value == Double | |
public init(wrappedValue: Value, _ key: String) where Value == String | |
public init(wrappedValue: Value, _ key: String) where Value == URL | |
public init(wrappedValue: Value, _ key: String) where Value == Data | |
public init(wrappedValue: Value, _ key: String) where Value : RawRepresentable, Value.RawValue == Int | |
public init(wrappedValue: Value, _ key: String) where Value : RawRepresentable, Value.RawValue == String | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SceneStorage where Value : ExpressibleByNilLiteral { | |
public init(_ key: String) where Value == Bool? | |
public init(_ key: String) where Value == Int? | |
public init(_ key: String) where Value == Double? | |
public init(_ key: String) where Value == String? | |
public init(_ key: String) where Value == URL? | |
public init(_ key: String) where Value == Data? | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SceneStorage { | |
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == String | |
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == Int | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal class SceneStorageTransformBox { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension SceneStorageTransformBox : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct Menu<Label, Content> : View where Label : View, Content : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI4MenuV4bodyQrvp", 0) __<Label, Content> | |
} | |
@available(*, unavailable) | |
extension Menu : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Menu { | |
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where Label == Text, S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Menu { | |
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label, primaryAction: @escaping () -> Void) | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content, primaryAction: @escaping () -> Void) where Label == Text | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content, primaryAction: @escaping () -> Void) where Label == Text, S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Menu where Label == Label<Text, Image> { | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content) { | |
self.init { | |
content() | |
} label: { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<S>(_ title: S, systemImage: String, @ViewBuilder content: () -> Content) where S : StringProtocol { | |
self.init { | |
content() | |
} label: { | |
Label(title, systemImage: systemImage) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content, primaryAction: @escaping () -> Void) { | |
self.init { | |
content() | |
} label: { | |
Label(titleKey, systemImage: systemImage) | |
} primaryAction: { | |
primaryAction() | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Menu where Label == Label<Text, Image> { | |
public init(_ titleKey: LocalizedStringKey, image: ImageResource, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, image: ImageResource, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public init(_ titleKey: LocalizedStringKey, image: ImageResource, @ViewBuilder content: () -> Content, primaryAction: @escaping () -> Void) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension Menu where Label == MenuStyleConfiguration.Label, Content == MenuStyleConfiguration.Content { | |
public init(_ configuration: MenuStyleConfiguration) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension PickerStyle where Self == InlinePickerStyle { | |
@_alwaysEmitIntoClient public static var inline: InlinePickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct InlinePickerStyle : PickerStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<InlinePickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<InlinePickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension InlinePickerStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct PinnedScrollableViews : OptionSet, Sendable { | |
public let rawValue: UInt32 | |
public init(rawValue: UInt32) | |
public static let sectionHeaders: PinnedScrollableViews | |
public static let sectionFooters: PinnedScrollableViews | |
public typealias ArrayLiteralElement = PinnedScrollableViews | |
public typealias Element = PinnedScrollableViews | |
public typealias RawValue = UInt32 | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct _WidgetOutputs { | |
} | |
@available(*, unavailable) | |
extension _WidgetOutputs : Sendable { | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableRowContent { | |
public func onHover(perform action: @escaping (Bool) -> Void) -> some TableRowContent<Self.TableRowValue> | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _HoverTableRowModifier : _TableRowContentModifier { | |
public var body: some _TableRowContentModifier { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22_HoverTableRowModifierV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension _HoverTableRowModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func gesture<T>(_ gesture: T, including mask: GestureMask = .all) -> some View where T : Gesture | |
public func highPriorityGesture<T>(_ gesture: T, including mask: GestureMask = .all) -> some View where T : Gesture | |
public func simultaneousGesture<T>(_ gesture: T, including mask: GestureMask = .all) -> some View where T : Gesture | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct GestureMask : OptionSet { | |
public let rawValue: UInt32 | |
public init(rawValue: UInt32) | |
public static let none: GestureMask | |
public static let gesture: GestureMask | |
public static let subviews: GestureMask | |
public static let all: GestureMask | |
public typealias ArrayLiteralElement = GestureMask | |
public typealias Element = GestureMask | |
public typealias RawValue = UInt32 | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func dialogSuppressionToggle(_ titleKey: LocalizedStringKey, isSuppressed: Binding<Bool>) -> some View | |
@_disfavoredOverload public func dialogSuppressionToggle<S>(_ title: S, isSuppressed: Binding<Bool>) -> some View where S : StringProtocol | |
public func dialogSuppressionToggle(_ label: Text, isSuppressed: Binding<Bool>) -> some View | |
public func dialogSuppressionToggle(isSuppressed: Binding<Bool>) -> some View | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public enum DigitalCrownRotationalSensitivity : Sendable { | |
case low | |
case medium | |
case high | |
public static func == (a: DigitalCrownRotationalSensitivity, b: DigitalCrownRotationalSensitivity) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload public func digitalCrownRotation<V>(_ binding: Binding<V>, from minValue: V, through maxValue: V, by stride: V.Stride? = nil, sensitivity: DigitalCrownRotationalSensitivity = .high, isContinuous: Bool = false, isHapticFeedbackEnabled: Bool = true) -> some View where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload public func digitalCrownRotation<V>(_ binding: Binding<V>) -> some View where V : BinaryFloatingPoint | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct DigitalCrownEvent : Sendable { | |
public var offset: Double | |
public var velocity: Double | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func digitalCrownRotation<V>(detent: Binding<V>, from minValue: V, through maxValue: V, by stride: V.Stride, sensitivity: DigitalCrownRotationalSensitivity = .high, isContinuous: Bool = false, isHapticFeedbackEnabled: Bool = true, onChange: @escaping (DigitalCrownEvent) -> Void = { _ in }, onIdle: @escaping () -> Void = { }) -> some View where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
public func digitalCrownRotation<V>(detent: Binding<V>, from minValue: V, through maxValue: V, by stride: V.Stride, sensitivity: DigitalCrownRotationalSensitivity = .high, isContinuous: Bool = false, isHapticFeedbackEnabled: Bool = true, onChange: @escaping (DigitalCrownEvent) -> Void = { _ in }, onIdle: @escaping () -> Void = { }) -> some View where V : BinaryInteger, V.Stride : BinaryInteger | |
public func digitalCrownRotation<V>(_ binding: Binding<V>, from minValue: V, through maxValue: V, sensitivity: DigitalCrownRotationalSensitivity = .high, isContinuous: Bool = false, isHapticFeedbackEnabled: Bool = true, onChange: @escaping (DigitalCrownEvent) -> Void = { _ in }, onIdle: @escaping () -> Void = { }) -> some View where V : BinaryFloatingPoint | |
public func digitalCrownRotation<V>(_ binding: Binding<V>, onChange: @escaping (DigitalCrownEvent) -> Void = { _ in }, onIdle: @escaping () -> Void = { }) -> some View where V : BinaryFloatingPoint | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], onCompletion: @escaping (_ result: Result<URL, any Error>) -> Void) -> some View | |
public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void) -> some View | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void, onCancellation: @escaping () -> Void) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func mask<Mask>(alignment: Alignment = .center, @ViewBuilder _ mask: () -> Mask) -> some View where Mask : View { | |
return modifier(_MaskAlignmentEffect( | |
alignment: alignment, mask: mask())) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _MaskAlignmentEffect<Mask> : ViewModifier where Mask : View { | |
public var alignment: Alignment | |
public var mask: Mask | |
@inlinable public init(alignment: Alignment, mask: Mask) { | |
self.mask = mask | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: _GraphValue<_MaskAlignmentEffect<Mask>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _MaskAlignmentEffect : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _MaskEffect : Equatable where Mask : Equatable { | |
public static func == (a: _MaskEffect<Mask>, b: _MaskEffect<Mask>) -> Bool | |
} | |
@available(*, unavailable) | |
extension _MaskEffect : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, deprecated: 100000.0, message: "Use overload where mask accepts a @ViewBuilder instead.") | |
@available(macOS, deprecated: 100000.0, message: "Use overload where mask accepts a @ViewBuilder instead.") | |
@available(tvOS, deprecated: 100000.0, message: "Use overload where mask accepts a @ViewBuilder instead.") | |
@available(watchOS, deprecated: 100000.0, message: "Use overload where mask accepts a @ViewBuilder instead.") | |
@available(visionOS, deprecated: 100000.0, message: "Use overload where mask accepts a @ViewBuilder instead.") | |
@inlinable public func mask<Mask>(_ mask: Mask) -> some View where Mask : View { | |
return modifier(_MaskEffect(mask: mask)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _MaskEffect<Mask> : ViewModifier where Mask : View { | |
public var mask: Mask | |
@inlinable public init(mask: Mask) { | |
self.mask = mask | |
} | |
public static func _makeView(modifier: _GraphValue<_MaskEffect<Mask>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _LayoutTraits : Equatable { | |
public static func == (a: _LayoutTraits, b: _LayoutTraits) -> Bool | |
} | |
@available(*, unavailable) | |
extension _LayoutTraits : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _LayoutTraits : CustomStringConvertible { | |
public var description: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum LayoutDirection : Hashable, CaseIterable, Sendable { | |
case leftToRight | |
case rightToLeft | |
public static func == (a: LayoutDirection, b: LayoutDirection) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [LayoutDirection] | |
public static var allCases: [LayoutDirection] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var layoutDirection: LayoutDirection { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _BackgroundModifier<Background> : ViewModifier where Background : View { | |
public var background: Background | |
public var alignment: Alignment | |
@inlinable public init(background: Background, alignment: Alignment = .center) { | |
self.background = background | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: _GraphValue<_BackgroundModifier<Background>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BackgroundModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _BackgroundModifier : Equatable where Background : Equatable { | |
public static func == (a: _BackgroundModifier<Background>, b: _BackgroundModifier<Background>) -> Bool | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _BackgroundStyleModifier<Style> : ViewModifier where Style : ShapeStyle { | |
public var style: Style | |
public var ignoresSafeAreaEdges: Edge.Set | |
@inlinable public init(style: Style, ignoresSafeAreaEdges: Edge.Set) { | |
self.style = style | |
self.ignoresSafeAreaEdges = ignoresSafeAreaEdges | |
} | |
public static func _makeView(modifier: _GraphValue<_BackgroundStyleModifier<Style>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BackgroundStyleModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _BackgroundShapeModifier<Style, Bounds> : ViewModifier where Style : ShapeStyle, Bounds : Shape { | |
public var style: Style | |
public var shape: Bounds | |
public var fillStyle: FillStyle | |
@inlinable public init(style: Style, shape: Bounds, fillStyle: FillStyle) { | |
self.style = style | |
self.shape = shape | |
self.fillStyle = fillStyle | |
} | |
public static func _makeView(modifier: _GraphValue<_BackgroundShapeModifier<Style, Bounds>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BackgroundShapeModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _InsettableBackgroundShapeModifier<Style, Bounds> : ViewModifier where Style : ShapeStyle, Bounds : InsettableShape { | |
public var style: Style | |
public var shape: Bounds | |
public var fillStyle: FillStyle | |
@inlinable public init(style: Style, shape: Bounds, fillStyle: FillStyle) { | |
self.style = style | |
self.shape = shape | |
self.fillStyle = fillStyle | |
} | |
public static func _makeView(modifier: _GraphValue<_InsettableBackgroundShapeModifier<Style, Bounds>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _InsettableBackgroundShapeModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `background(alignment:content:)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `background(alignment:content:)` instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use `background(alignment:content:)` instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `background(alignment:content:)` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `background(alignment:content:)` instead.") | |
@inlinable @_disfavoredOverload public func background<Background>(_ background: Background, alignment: Alignment = .center) -> some View where Background : View { | |
return modifier( | |
_BackgroundModifier(background: background, alignment: alignment)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func background<V>(alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View { | |
modifier( | |
_BackgroundModifier(background: content(), alignment: alignment)) | |
} | |
@inlinable public func background(ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View { | |
modifier(_BackgroundStyleModifier( | |
style: .background, ignoresSafeAreaEdges: edges)) | |
} | |
@inlinable public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle { | |
modifier(_BackgroundStyleModifier( | |
style: style, ignoresSafeAreaEdges: edges)) | |
} | |
@inlinable public func background<S>(in shape: S, fillStyle: FillStyle = FillStyle()) -> some View where S : Shape { | |
modifier(_BackgroundShapeModifier( | |
style: .background, shape: shape, fillStyle: fillStyle)) | |
} | |
@inlinable public func background<S, T>(_ style: S, in shape: T, fillStyle: FillStyle = FillStyle()) -> some View where S : ShapeStyle, T : Shape { | |
modifier(_BackgroundShapeModifier( | |
style: style, shape: shape, fillStyle: fillStyle)) | |
} | |
@inlinable public func background<S>(in shape: S, fillStyle: FillStyle = FillStyle()) -> some View where S : InsettableShape { | |
modifier(_InsettableBackgroundShapeModifier( | |
style: .background, shape: shape, fillStyle: fillStyle)) | |
} | |
@inlinable public func background<S, T>(_ style: S, in shape: T, fillStyle: FillStyle = FillStyle()) -> some View where S : ShapeStyle, T : InsettableShape { | |
modifier(_InsettableBackgroundShapeModifier( | |
style: style, shape: shape, fillStyle: fillStyle)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _OverlayModifier<Overlay> : ViewModifier where Overlay : View { | |
public var overlay: Overlay | |
public var alignment: Alignment | |
@inlinable public init(overlay: Overlay, alignment: Alignment = .center) { | |
self.overlay = overlay | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: _GraphValue<_OverlayModifier<Overlay>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _OverlayModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _OverlayModifier : Equatable where Overlay : Equatable { | |
public static func == (a: _OverlayModifier<Overlay>, b: _OverlayModifier<Overlay>) -> Bool | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _OverlayStyleModifier<Style> : ViewModifier where Style : ShapeStyle { | |
public var style: Style | |
public var ignoresSafeAreaEdges: Edge.Set | |
@inlinable public init(style: Style, ignoresSafeAreaEdges: Edge.Set) { | |
self.style = style | |
self.ignoresSafeAreaEdges = ignoresSafeAreaEdges | |
} | |
public static func _makeView(modifier: _GraphValue<_OverlayStyleModifier<Style>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _OverlayStyleModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _OverlayShapeModifier<Style, Bounds> : ViewModifier where Style : ShapeStyle, Bounds : Shape { | |
public var style: Style | |
public var shape: Bounds | |
public var fillStyle: FillStyle | |
@inlinable public init(style: Style, shape: Bounds, fillStyle: FillStyle) { | |
self.style = style | |
self.shape = shape | |
self.fillStyle = fillStyle | |
} | |
public static func _makeView(modifier: _GraphValue<_OverlayShapeModifier<Style, Bounds>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _OverlayShapeModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.") | |
@inlinable @_disfavoredOverload public func overlay<Overlay>(_ overlay: Overlay, alignment: Alignment = .center) -> some View where Overlay : View { | |
return modifier(_OverlayModifier( | |
overlay: overlay, alignment: alignment)) | |
} | |
@inlinable public func border<S>(_ content: S, width: CGFloat = 1) -> some View where S : ShapeStyle { | |
return overlay(Rectangle().strokeBorder(content, lineWidth: width)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func overlay<V>(alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View { | |
modifier(_OverlayModifier(overlay: content(), alignment: alignment)) | |
} | |
@inlinable public func overlay<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle { | |
modifier(_OverlayStyleModifier( | |
style: style, ignoresSafeAreaEdges: edges)) | |
} | |
@inlinable public func overlay<S, T>(_ style: S, in shape: T, fillStyle: FillStyle = FillStyle()) -> some View where S : ShapeStyle, T : Shape { | |
modifier(_OverlayShapeModifier( | |
style: style, shape: shape, fillStyle: fillStyle)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape where Self == Rectangle { | |
@_alwaysEmitIntoClient public static var rect: Rectangle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Rectangle : Shape { | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
@inlinable public init() {} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<Rectangle, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape where Self == RoundedRectangle { | |
@_alwaysEmitIntoClient public static func rect(cornerSize: CGSize, style: RoundedCornerStyle = .continuous) -> Self { .init(cornerSize: cornerSize, style: style) } | |
@_alwaysEmitIntoClient public static func rect(cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous) -> Self { .init(cornerRadius: cornerRadius, style: style) } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct RoundedRectangle : Shape { | |
public var cornerSize: CGSize | |
public var style: RoundedCornerStyle | |
@inlinable public init(cornerSize: CGSize, style: RoundedCornerStyle = .continuous) { | |
self.cornerSize = cornerSize | |
self.style = style | |
} | |
@inlinable public init(cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous) { | |
let cornerSize = CGSize(width: cornerRadius, height: cornerRadius) | |
self.init(cornerSize: cornerSize, style: style) | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public var animatableData: CGSize.AnimatableData { | |
get | |
set | |
} | |
public typealias AnimatableData = CGSize.AnimatableData | |
public typealias Body = _ShapeView<RoundedRectangle, ForegroundStyle> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Shape where Self == UnevenRoundedRectangle { | |
@_alwaysEmitIntoClient public static func rect(cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = .continuous) -> Self { .init(cornerRadii: cornerRadii, style: style) } | |
@_alwaysEmitIntoClient public static func rect(topLeadingRadius: CGFloat = 0, bottomLeadingRadius: CGFloat = 0, bottomTrailingRadius: CGFloat = 0, topTrailingRadius: CGFloat = 0, style: RoundedCornerStyle = .continuous) -> Self { | |
.init( | |
topLeadingRadius: topLeadingRadius, | |
bottomLeadingRadius: bottomLeadingRadius, | |
bottomTrailingRadius: bottomTrailingRadius, | |
topTrailingRadius: topTrailingRadius, style: style) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct UnevenRoundedRectangle : Shape { | |
public var cornerRadii: RectangleCornerRadii | |
public var style: RoundedCornerStyle | |
@inlinable public init(cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = .continuous) { | |
self.cornerRadii = cornerRadii | |
self.style = style | |
} | |
@_alwaysEmitIntoClient public init(topLeadingRadius: CGFloat = 0, bottomLeadingRadius: CGFloat = 0, bottomTrailingRadius: CGFloat = 0, topTrailingRadius: CGFloat = 0, style: RoundedCornerStyle = .continuous) { | |
self.init( | |
cornerRadii: .init( | |
topLeading: topLeadingRadius, | |
bottomLeading: bottomLeadingRadius, | |
bottomTrailing: bottomTrailingRadius, | |
topTrailing: topTrailingRadius), | |
style: style) | |
} | |
public func path(in rect: CGRect) -> Path | |
public var animatableData: RectangleCornerRadii.AnimatableData { | |
get | |
set | |
} | |
public typealias AnimatableData = RectangleCornerRadii.AnimatableData | |
public typealias Body = _ShapeView<UnevenRoundedRectangle, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape where Self == Capsule { | |
@_alwaysEmitIntoClient public static var capsule: Capsule { | |
get { .init() } | |
} | |
@_alwaysEmitIntoClient public static func capsule(style: RoundedCornerStyle) -> Self { | |
.init(style: style) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Capsule : Shape { | |
public var style: RoundedCornerStyle | |
@inlinable public init(style: RoundedCornerStyle = .continuous) { | |
self.style = style | |
} | |
public func path(in r: CGRect) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<Capsule, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape where Self == Ellipse { | |
@_alwaysEmitIntoClient public static var ellipse: Ellipse { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Ellipse : Shape { | |
public func path(in rect: CGRect) -> Path | |
@inlinable public init() {} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<Ellipse, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape where Self == Circle { | |
@_alwaysEmitIntoClient public static var circle: Circle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Circle : Shape { | |
public func path(in rect: CGRect) -> Path | |
@inlinable public init() {} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<Circle, ForegroundStyle> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Circle { | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Optional : Gesture where Wrapped : Gesture { | |
public typealias Value = Wrapped.Value | |
public static func _makeGesture(gesture: _GraphValue<Optional<Wrapped>>, inputs: _GestureInputs) -> _GestureOutputs<Wrapped.Value> | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Transaction { | |
public var isContinuous: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == PaletteControlGroupStyle { | |
@_alwaysEmitIntoClient public static var palette: PaletteControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PaletteControlGroupStyle : ControlGroupStyle { | |
public init() | |
@MainActor(unsafe) public func makeBody(configuration: PaletteControlGroupStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24PaletteControlGroupStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PaletteControlGroupStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func sheet<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
public func sheet<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *) | |
@available(macOS, unavailable) | |
extension View { | |
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
@available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)") | |
public func _cover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
@available(*, deprecated, renamed: "fullScreenCover(isPresented:onDismiss:content:)") | |
public func _cover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _ColorMonochromeEffect : EnvironmentalModifier { | |
public var color: Color | |
public var amount: Double | |
public var bias: Double | |
@inlinable public init(color: Color, amount: Double = 1, bias: Double = 0) { | |
self.color = color | |
self.bias = bias | |
self.amount = amount | |
} | |
public func resolve(in environment: EnvironmentValues) -> _ColorMonochromeEffect._Resolved | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static var _requiresMainThread: Bool { | |
get | |
} | |
@usableFromInline | |
internal var _requiresMainThread: Bool { | |
get | |
} | |
public struct _Resolved { | |
public typealias AnimatableData = AnimatablePair<Float, AnimatablePair<Float, AnimatablePair<Float, AnimatablePair<Float, AnimatablePair<Float, Float>>>>> | |
public var animatableData: _ColorMonochromeEffect._Resolved.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = Never | |
} | |
public typealias Body = Never | |
public typealias ResolvedModifier = _ColorMonochromeEffect._Resolved | |
} | |
@available(*, unavailable) | |
extension _ColorMonochromeEffect._Resolved : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ColorMonochromeEffect : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
@inlinable public func _colorMonochrome(_ color: Color, amount: Double = 1, bias: Double = 0) -> some View { | |
return modifier(_ColorMonochromeEffect( | |
color: color, amount: amount, bias: bias)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ViewInputs { | |
} | |
@available(*, unavailable) | |
extension _ViewInputs : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public enum ContentMode : Hashable, CaseIterable { | |
case fit | |
case fill | |
public static func == (a: ContentMode, b: ContentMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [ContentMode] | |
public static var allCases: [ContentMode] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AspectRatioLayout { | |
public var aspectRatio: CGFloat? | |
public var contentMode: ContentMode | |
@inlinable public init(aspectRatio: CGFloat? = nil, contentMode: ContentMode) { | |
self.aspectRatio = aspectRatio | |
self.contentMode = contentMode | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func aspectRatio(_ aspectRatio: CGFloat? = nil, contentMode: ContentMode) -> some View { | |
return modifier(_AspectRatioLayout( | |
aspectRatio: aspectRatio, contentMode: contentMode)) | |
} | |
@inlinable public func aspectRatio(_ aspectRatio: CGSize, contentMode: ContentMode) -> some View { | |
return self.aspectRatio( | |
aspectRatio.width / aspectRatio.height, contentMode: contentMode) | |
} | |
@inlinable public func scaledToFit() -> some View { | |
return aspectRatio(contentMode: .fit) | |
} | |
@inlinable public func scaledToFill() -> some View { | |
return aspectRatio(contentMode: .fill) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _CALayerView<LayerType> : View where LayerType : QuartzCore.CALayer { | |
public var update: (LayerType) -> Void | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _CALayerView : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _CALayerView { | |
public init(type: LayerType.Type, onUpdate update: @escaping (LayerType) -> Void) | |
public static func _makeView(view: _GraphValue<_CALayerView<LayerType>>, inputs: _ViewInputs) -> _ViewOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _CALayerView where LayerType == QuartzCore.CALayer { | |
public init(onUpdate update: @escaping (LayerType) -> Void) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @propertyWrapper public struct AppStorage<Value> : DynamicProperty { | |
@usableFromInline | |
internal var location: UserDefaultLocation<Value> | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: Binding<Value> { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension AppStorage : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension AppStorage { | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Bool | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Int | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Double | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == String | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == URL | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Data | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == Int | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == String | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension AppStorage where Value : ExpressibleByNilLiteral { | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Bool? | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Int? | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Double? | |
public init(_ key: String, store: UserDefaults? = nil) where Value == String? | |
public init(_ key: String, store: UserDefaults? = nil) where Value == URL? | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Data? | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension AppStorage { | |
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == String | |
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == Int | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func defaultAppStorage(_ store: UserDefaults) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Scene { | |
public func defaultAppStorage(_ store: UserDefaults) -> some Scene | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var defaultAppStorageDefaults: UserDefaults { | |
get | |
set | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal class UserDefaultLocation<Value> { | |
@usableFromInline | |
internal static func == (lhs: UserDefaultLocation<Value>, rhs: UserDefaultLocation<Value>) -> Bool | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension UserDefaultLocation : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct _NavigationDestinationCollection { | |
} | |
@available(*, unavailable) | |
extension _NavigationDestinationCollection : Sendable { | |
} | |
@available(iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1, *) | |
@usableFromInline | |
@frozen internal struct LimitedAvailabilityScene : Scene, _LimitedAvailabilitySceneMarker { | |
@usableFromInline | |
internal var storage: LimitedAvailabilitySceneStorageBase | |
@usableFromInline | |
internal init<S>(_ scene: S) where S : Scene | |
@usableFromInline | |
@MainActor(unsafe) internal var body: Never { | |
get | |
} | |
@usableFromInline | |
internal static func _makeScene(scene: _GraphValue<LimitedAvailabilityScene>, inputs: _SceneInputs) -> _SceneOutputs | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityScene : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1, *) | |
@usableFromInline | |
internal class LimitedAvailabilitySceneStorageBase { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilitySceneStorageBase : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol ReferenceFileDocument : ObservableObject { | |
associatedtype Snapshot | |
static var readableContentTypes: [UTType] { get } | |
static var writableContentTypes: [UTType] { get } | |
init(configuration: Self.ReadConfiguration) throws | |
typealias ReadConfiguration = FileDocumentReadConfiguration | |
func snapshot(contentType: UTType) throws -> Self.Snapshot | |
func fileWrapper(snapshot: Self.Snapshot, configuration: Self.WriteConfiguration) throws -> FileWrapper | |
typealias WriteConfiguration = FileDocumentWriteConfiguration | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ReferenceFileDocument { | |
public static var writableContentTypes: [UTType] { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DocumentGroup where Document : ReferenceFileDocument { | |
public init(newDocument: @escaping () -> Document, @ViewBuilder editor: @escaping (ReferenceFileDocumentConfiguration<Document>) -> Content) | |
public init(viewing documentType: Document.Type, @ViewBuilder viewer: @escaping (ReferenceFileDocumentConfiguration<Document>) -> Content) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public struct ReferenceFileDocumentConfiguration<Document> where Document : ReferenceFileDocument { | |
@ObservedObject @_projectedValueProperty($document) @MainActor(unsafe) public var document: Document { | |
get | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
set | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
_modify | |
} | |
@MainActor(unsafe) public var $document: ObservedObject<Document>.Wrapper { | |
get | |
} | |
@MainActor(unsafe) public var fileURL: URL? | |
@MainActor(unsafe) public var isEditable: Bool | |
} | |
@available(*, unavailable) | |
extension ReferenceFileDocumentConfiguration : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func onSubmit(of triggers: SubmitTriggers = .text, _ action: @escaping (() -> Void)) -> some View | |
public func submitScope(_ isBlocking: Bool = true) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextFieldStyle where Self == RoundedBorderTextFieldStyle { | |
@_alwaysEmitIntoClient public static var roundedBorder: RoundedBorderTextFieldStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct RoundedBorderTextFieldStyle : TextFieldStyle { | |
public init() | |
public func _body(configuration: TextField<RoundedBorderTextFieldStyle._Label>) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI27RoundedBorderTextFieldStyleV5_body13configurationQrAA0eF0VyAA01_efG5LabelVG_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension RoundedBorderTextFieldStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct _StackLayoutCache { | |
} | |
@available(*, unavailable) | |
extension _StackLayoutCache : Sendable { | |
} | |
@available(iOS 13.0, macOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(.hidden)") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(.hidden)") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use toolbar(.hidden)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use toolbar(.hidden)") | |
public func navigationBarHidden(_ hidden: Bool) -> some View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
public func navigationBarTitle(_ title: Text) -> some View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
public func navigationBarTitle(_ titleKey: LocalizedStringKey) -> some View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)") | |
@_disfavoredOverload public func navigationBarTitle<S>(_ title: S) -> some View where S : StringProtocol | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
public func navigationBarTitle(_ title: Text, displayMode: NavigationBarItem.TitleDisplayMode) -> some View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
public func navigationBarTitle(_ titleKey: LocalizedStringKey, displayMode: NavigationBarItem.TitleDisplayMode) -> some View | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@_disfavoredOverload public func navigationBarTitle<S>(_ title: S, displayMode: NavigationBarItem.TitleDisplayMode) -> some View where S : StringProtocol | |
public func navigationBarBackButtonHidden(_ hidesBackButton: Bool = true) -> some View | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
public struct NavigationBarItem : Sendable { | |
public enum TitleDisplayMode : Sendable { | |
case automatic | |
case inline | |
@available(watchOS 8.0, *) | |
@available(tvOS, unavailable) | |
case large | |
public static func == (a: NavigationBarItem.TitleDisplayMode, b: NavigationBarItem.TitleDisplayMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _ViewTest : _Test { | |
associatedtype RootView : View | |
associatedtype RootStateType = Void | |
func initRootView() -> Self.RootView | |
func initSize() -> CGSize | |
func setTestView<V>(_ view: V) where V : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ViewTest { | |
public func setUpTest() | |
public func tearDownTest() | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public func tearDownTestWithError() throws | |
public func setTestView<V>(_ view: V) where V : View | |
public var rootView: Self.RootView { | |
get | |
} | |
public func viewForIdentifier<V, I>(_ identifier: I, _ type: V.Type = V.self) -> V? where V : View, I : Hashable | |
public func stateForIdentifier<I, S, V>(_ id: I, type _: S.Type = S.self, in _: V.Type = V.self) -> Binding<S>? where I : Hashable, V : View | |
public func render(seconds: Double = 1.0 / 60.0) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func renderAsync(seconds: Double = 1.0 / 60.0) -> Bool | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func renderRecursively(seconds: Double = 1.0 / 60.0) | |
public func initSize() -> CGSize | |
public func setSize(_ size: CGSize) | |
public func setEnvironment(_ environment: EnvironmentValues?) | |
public func updateEnvironment(_ body: (inout EnvironmentValues) -> Void) | |
public func resetEvents() | |
public func loop() | |
public func turnRunloop(times: Int = 1) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ViewTest { | |
public func rootState<S>(type _: S.Type = S.self) -> Binding<S> | |
public func rootState<S, V>(type _: S.Type = S.self, in _: V.Type) -> Binding<S> where V : View | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
extension _ViewTest { | |
public func set<V>(_ keyPath: WritableKeyPath<Self.RootStateType, V>, to value: V) | |
public func get<V>(_ keyPath: KeyPath<Self.RootStateType, V>) -> V | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _SizedShape<S> : Shape where S : Shape { | |
public var shape: S | |
public var size: CGSize | |
@inlinable public init(shape: S, size: CGSize) { | |
self.shape = shape | |
self.size = size | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<S.AnimatableData, CGSize.AnimatableData> | |
public var animatableData: _SizedShape<S>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = _ShapeView<_SizedShape<S>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape { | |
@inlinable public func size(_ size: CGSize) -> some Shape { | |
return _SizedShape(shape: self, size: size) | |
} | |
@inlinable public func size(width: CGFloat, height: CGFloat) -> some Shape { | |
return size(.init(width: width, height: height)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol _SceneModifier { | |
associatedtype Body : Scene | |
@SceneBuilder func body(content: Self.SceneContent) -> Self.Body | |
typealias SceneContent = _SceneModifier_Content<Self> | |
static func _makeScene(modifier: _GraphValue<Self>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _SceneModifier where Self.Body == Never { | |
public func body(content: Self.SceneContent) -> Self.Body | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _SceneModifier where Self : _GraphInputsModifier, Self.Body == Never { | |
public static func _makeScene(modifier: _GraphValue<Self>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension EmptyModifier : _SceneModifier { | |
public static func _makeScene(modifier: _GraphValue<EmptyModifier>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Scene { | |
@inlinable internal func modifier<T>(_ modifier: T) -> ModifiedContent<Self, T> { | |
return .init(content: self, modifier: modifier) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent : Scene where Content : Scene, Modifier : _SceneModifier { | |
public static func _makeScene(scene: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _SceneInputs) -> _SceneOutputs | |
@MainActor(unsafe) public var body: ModifiedContent<Content, Modifier>.Body { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent : _SceneModifier where Content : _SceneModifier, Modifier : _SceneModifier { | |
public static func _makeScene(modifier: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _SceneModifier { | |
@inlinable internal func concat<T>(_ modifier: T) -> ModifiedContent<Self, T> { | |
return .init(content: self, modifier: modifier) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _SceneModifier_Content<Modifier> : Scene where Modifier : _SceneModifier { | |
public static func _makeScene(scene: _GraphValue<_SceneModifier_Content<Modifier>>, inputs: _SceneInputs) -> _SceneOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _SceneModifier_Content : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _SceneModifier { | |
public static func _makeScene(modifier: _GraphValue<Self>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _PaddingLayout { | |
public var edges: Edge.Set | |
public var insets: EdgeInsets? | |
@inlinable public init(edges: Edge.Set = .all, insets: EdgeInsets?) { | |
self.edges = edges | |
self.insets = insets | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func padding(_ insets: EdgeInsets) -> some View { | |
return modifier(_PaddingLayout(insets: insets)) | |
} | |
@inlinable public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View { | |
let insets = length.map { EdgeInsets(_all: $0) } | |
return modifier(_PaddingLayout(edges: edges, insets: insets)) | |
} | |
@inlinable public func padding(_ length: CGFloat) -> some View { | |
return padding(.all, length) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _tightPadding() -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ScenePadding : Equatable, Sendable { | |
public static let minimum: ScenePadding | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let navigationBar: ScenePadding | |
public static func == (a: ScenePadding, b: ScenePadding) -> Bool | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func scenePadding(_ edges: Edge.Set = .all) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func scenePadding(_ padding: ScenePadding, edges: Edge.Set = .all) -> some View | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct OpenImmersiveSpaceAction : Sendable { | |
public enum Result : Sendable { | |
case opened | |
case userCancelled | |
case error | |
public static func == (a: OpenImmersiveSpaceAction.Result, b: OpenImmersiveSpaceAction.Result) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
#if compiler(>=5.3) && $AsyncAwait | |
@discardableResult | |
@MainActor public func callAsFunction(id: String) async -> OpenImmersiveSpaceAction.Result | |
#endif | |
#if compiler(>=5.3) && $AsyncAwait | |
@discardableResult | |
@MainActor public func callAsFunction<D>(value: D) async -> OpenImmersiveSpaceAction.Result where D : Decodable, D : Encodable, D : Hashable | |
#endif | |
#if compiler(>=5.3) && $AsyncAwait | |
@discardableResult | |
public func callAsFunction<D>(id: String, value: D) async -> OpenImmersiveSpaceAction.Result where D : Decodable, D : Encodable, D : Hashable | |
#endif | |
} | |
@available(*, unavailable) | |
extension OpenImmersiveSpaceAction : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var openImmersiveSpace: OpenImmersiveSpaceAction { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func accessibilityRespondsToUserInteraction(_ respondsToUserInteraction: Bool = true) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityRespondsToUserInteraction(_ respondsToUserInteraction: Bool = true) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct TupleWidget<T> : Widget { | |
@usableFromInline | |
internal init() | |
@usableFromInline | |
internal init(_ value: T) | |
@usableFromInline | |
internal var body: some WidgetConfiguration { | |
get | |
} | |
@usableFromInline | |
internal typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11TupleWidgetV4bodyQrvp", 0) __<T> | |
} | |
@available(*, unavailable) | |
extension TupleWidget : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct TupleWidgetConfiguration<T> : WidgetConfiguration { | |
@usableFromInline | |
internal var body: Never { | |
get | |
} | |
@usableFromInline | |
internal static func _makeWidgetConfiguration(widget: _GraphValue<TupleWidgetConfiguration<T>>, inputs: _WidgetInputs) -> _WidgetOutputs | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension TupleWidgetConfiguration : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableColumnCustomizationBehavior : SetAlgebra, Sendable { | |
public typealias Element = TableColumnCustomizationBehavior | |
public init() | |
public static var all: TableColumnCustomizationBehavior { | |
get | |
} | |
public static let reorder: TableColumnCustomizationBehavior | |
public static let resize: TableColumnCustomizationBehavior | |
public static let visibility: TableColumnCustomizationBehavior | |
public func contains(_ member: TableColumnCustomizationBehavior.Element) -> Bool | |
public func union(_ other: TableColumnCustomizationBehavior) -> TableColumnCustomizationBehavior | |
public func intersection(_ other: TableColumnCustomizationBehavior) -> TableColumnCustomizationBehavior | |
public func symmetricDifference(_ other: TableColumnCustomizationBehavior) -> TableColumnCustomizationBehavior | |
public mutating func insert(_ newMember: TableColumnCustomizationBehavior.Element) -> (inserted: Bool, memberAfterInsert: TableColumnCustomizationBehavior.Element) | |
public mutating func remove(_ member: TableColumnCustomizationBehavior.Element) -> TableColumnCustomizationBehavior.Element? | |
public mutating func update(with newMember: TableColumnCustomizationBehavior.Element) -> TableColumnCustomizationBehavior.Element? | |
public mutating func formUnion(_ other: TableColumnCustomizationBehavior) | |
public mutating func formIntersection(_ other: TableColumnCustomizationBehavior) | |
public mutating func formSymmetricDifference(_ other: TableColumnCustomizationBehavior) | |
public static func == (a: TableColumnCustomizationBehavior, b: TableColumnCustomizationBehavior) -> Bool | |
public typealias ArrayLiteralElement = TableColumnCustomizationBehavior.Element | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumnContent { | |
public func defaultVisibility(_ visibility: Visibility) -> some TableColumnContent<Self.TableRowValue, Self.TableColumnSortComparator> | |
public func customizationID(_ id: String) -> some TableColumnContent<Self.TableRowValue, Self.TableColumnSortComparator> | |
public func disabledCustomizationBehavior(_ behavior: TableColumnCustomizationBehavior) -> some TableColumnContent<Self.TableRowValue, Self.TableColumnSortComparator> | |
} | |
@available(iOS 14.0, tvOS 14.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) @propertyWrapper public struct UIApplicationDelegateAdaptor<DelegateType> : DynamicProperty where DelegateType : ObjectiveC.NSObject, DelegateType : UIApplicationDelegate { | |
@MainActor(unsafe) public var wrappedValue: DelegateType { | |
get | |
} | |
@MainActor(unsafe) public init(_ delegateType: DelegateType.Type = DelegateType.self) | |
} | |
@available(iOS 14.0, tvOS 14.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension UIApplicationDelegateAdaptor where DelegateType : ObservableObject { | |
@MainActor(unsafe) public init(_ delegateType: DelegateType.Type = DelegateType.self) | |
@MainActor(unsafe) public var projectedValue: ObservedObject<DelegateType>.Wrapper { | |
get | |
} | |
} | |
@available(iOS 17.0, tvOS 17.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension UIApplicationDelegateAdaptor where DelegateType : Observable { | |
@MainActor(unsafe) public init(_ delegateType: DelegateType.Type = DelegateType.self) | |
} | |
extension Transaction { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var scrollTargetAnchor: UnitPoint? { | |
get | |
set | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @propertyWrapper public struct StateObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject { | |
@usableFromInline | |
@frozen internal enum Storage { | |
case initially(() -> ObjectType) | |
case object(ObservedObject<ObjectType>) | |
} | |
@usableFromInline | |
internal var storage: StateObject<ObjectType>.Storage | |
@inlinable public init(wrappedValue thunk: @autoclosure @escaping () -> ObjectType) { | |
storage = .initially(thunk) | |
} | |
@MainActor(unsafe) public var wrappedValue: ObjectType { | |
get | |
} | |
@MainActor(unsafe) public var projectedValue: ObservedObject<ObjectType>.Wrapper { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension StateObject : Sendable { | |
} | |
@available(*, unavailable) | |
extension StateObject.Storage : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension StateObject { | |
public static var _propertyBehaviors: UInt32 { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableRowContent { | |
public func contextMenu<M>(@ViewBuilder menuItems: () -> M) -> ModifiedContent<Self, _ContextMenuTableRowModifier<M>> where M : View | |
public func contextMenu<M, P>(@ViewBuilder menuItems: () -> M, @ViewBuilder preview: () -> P) -> ModifiedContent<Self, _ContextMenuPreviewTableRowModifier<M, P>> where M : View, P : View | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _ContextMenuTableRowModifier<MenuItems> : _TableRowContentModifier where MenuItems : View { | |
public var body: some _TableRowContentModifier { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI28_ContextMenuTableRowModifierV4bodyQrvp", 0) __<MenuItems> | |
} | |
@available(*, unavailable) | |
extension _ContextMenuTableRowModifier : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _ContextMenuPreviewTableRowModifier<MenuItems, Preview> : _TableRowContentModifier where MenuItems : View, Preview : View { | |
public var body: some _TableRowContentModifier { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI35_ContextMenuPreviewTableRowModifierV4bodyQrvp", 0) __<MenuItems, Preview> | |
} | |
@available(*, unavailable) | |
extension _ContextMenuPreviewTableRowModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public protocol AccessibilityRotorContent { | |
static func _makeEntries(content: _GraphValue<Self>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
associatedtype Body : AccessibilityRotorContent | |
@AccessibilityRotorContentBuilder var body: Self.Body { get } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension AccessibilityRotorContent { | |
public static func _makeEntries(content: _GraphValue<Self>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Never : AccessibilityRotorContent { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct _AccessibilityRotorEntryInputs { | |
} | |
@available(*, unavailable) | |
extension _AccessibilityRotorEntryInputs : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct _AccessibilityRotorEntryOutputs { | |
} | |
@available(*, unavailable) | |
extension _AccessibilityRotorEntryOutputs : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_functionBuilder public struct AccessibilityRotorContentBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildBlock<Content>(_ content: Content) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildIf<Content>(_ content: Content?) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent { | |
AccessibilityOptionalRotorContent(content) | |
} | |
} | |
@available(*, unavailable) | |
extension AccessibilityRotorContentBuilder : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@usableFromInline | |
@frozen internal struct AccessibilityTupleRotorContent<T> : AccessibilityRotorContent { | |
@usableFromInline | |
internal var value: T | |
@inlinable internal init(_ value: T) { self.value = value } | |
@usableFromInline | |
internal var body: Never { | |
get | |
} | |
@usableFromInline | |
internal static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
@usableFromInline | |
internal static func _makeEntries(content: _GraphValue<AccessibilityTupleRotorContent<T>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension AccessibilityTupleRotorContent : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ForEach : AccessibilityRotorContent where Content : AccessibilityRotorContent { | |
public var body: Never { | |
get | |
} | |
public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
public static func _makeEntries(content: _GraphValue<ForEach<Data, ID, Content>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ForEach where ID == Data.Element.ID, Content : AccessibilityRotorContent, Data.Element : Identifiable { | |
public init(_ data: Data, @AccessibilityRotorContentBuilder content: @escaping (Data.Element) -> Content) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ForEach where Content : AccessibilityRotorContent { | |
public init(_ data: Data, id: KeyPath<Data.Element, ID>, @AccessibilityRotorContentBuilder content: @escaping (Data.Element) -> Content) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension AccessibilityRotorEntry : AccessibilityRotorContent { | |
public var body: Never { | |
get | |
} | |
public static func _makeEntries(content: _GraphValue<AccessibilityRotorEntry<ID>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@usableFromInline | |
@frozen internal struct AccessibilityOptionalRotorContent<Content> where Content : AccessibilityRotorContent { | |
@usableFromInline | |
internal var content: Content? | |
@inlinable internal init(_ content: Content?) { | |
self.content = content | |
} | |
@usableFromInline | |
internal var body: Never { | |
get | |
} | |
@usableFromInline | |
internal static func _makeEntries(content: _GraphValue<AccessibilityOptionalRotorContent<Content>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension AccessibilityOptionalRotorContent : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Group : AccessibilityRotorContent where Content : AccessibilityRotorContent { | |
public var body: Never { | |
get | |
} | |
public init(@AccessibilityRotorContentBuilder content: () -> Content) | |
public static func _makeEntries(content: _GraphValue<Group<Content>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public enum _VAlignment { | |
case top | |
case center | |
case bottom | |
public static func == (a: _VAlignment, b: _VAlignment) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AlignmentLayout { | |
public var horizontal: TextAlignment? | |
public var vertical: _VAlignment? | |
@inlinable public init(horizontal: TextAlignment? = nil, vertical: _VAlignment? = nil) { | |
self.horizontal = horizontal | |
self.vertical = vertical | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use EnvironmentValues.isPresented or EnvironmentValues.dismiss") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use EnvironmentValues.isPresented or EnvironmentValues.dismiss") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use EnvironmentValues.isPresented or EnvironmentValues.dismiss") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use EnvironmentValues.isPresented or EnvironmentValues.dismiss") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use EnvironmentValues.isPresented or EnvironmentValues.dismiss") | |
public struct PresentationMode { | |
public var isPresented: Bool { | |
get | |
} | |
public mutating func dismiss() | |
} | |
@available(*, unavailable) | |
extension PresentationMode : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use isPresented or dismiss") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use isPresented or dismiss") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use isPresented or dismiss") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use isPresented or dismiss") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use isPresented or dismiss") | |
public var presentationMode: Binding<PresentationMode> { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol PrimitiveButtonStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = PrimitiveButtonStyleConfiguration | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct PrimitiveButtonStyleConfiguration { | |
public struct Label : View { | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public let role: ButtonRole? | |
public let label: PrimitiveButtonStyleConfiguration.Label | |
public func trigger() | |
} | |
@available(*, unavailable) | |
extension PrimitiveButtonStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension PrimitiveButtonStyleConfiguration.Label : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func buttonStyle<S>(_ style: S) -> some View where S : PrimitiveButtonStyle | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == AutomaticControlGroupStyle { | |
@_alwaysEmitIntoClient public static var automatic: AutomaticControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct AutomaticControlGroupStyle : ControlGroupStyle { | |
@usableFromInline | |
internal init() | |
@MainActor(unsafe) public func makeBody(configuration: AutomaticControlGroupStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI26AutomaticControlGroupStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticControlGroupStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBoxStyle where Self == DefaultGroupBoxStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultGroupBoxStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DefaultGroupBoxStyle : GroupBoxStyle { | |
public init() | |
public func makeBody(configuration: DefaultGroupBoxStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI20DefaultGroupBoxStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultGroupBoxStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol App { | |
associatedtype Body : Scene | |
@SceneBuilder @MainActor(unsafe) var body: Self.Body { get } | |
@MainActor(unsafe) init() | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension App { | |
@MainActor(unsafe) public static func main() | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct Spring : Hashable, Sendable { | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: Spring, b: Spring) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
public init(duration: TimeInterval = 0.5, bounce: Double = 0.0) | |
public var duration: TimeInterval { | |
get | |
} | |
public var bounce: Double { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
public init(response: Double, dampingRatio: Double) | |
public var response: Double { | |
get | |
} | |
public var dampingRatio: Double { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
public init(mass: Double = 1.0, stiffness: Double, damping: Double, allowOverDamping: Bool = false) | |
public var mass: Double { | |
get | |
} | |
public var stiffness: Double { | |
get | |
} | |
public var damping: Double { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
public init(settlingDuration: TimeInterval, dampingRatio: Double, epsilon: Double = 0.001) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
public var settlingDuration: TimeInterval { | |
get | |
} | |
public func settlingDuration<V>(target: V, initialVelocity: V = .zero, epsilon: Double) -> TimeInterval where V : VectorArithmetic | |
public func value<V>(target: V, initialVelocity: V = .zero, time: TimeInterval) -> V where V : VectorArithmetic | |
public func velocity<V>(target: V, initialVelocity: V = .zero, time: TimeInterval) -> V where V : VectorArithmetic | |
public func update<V>(value: inout V, velocity: inout V, target: V, deltaTime: TimeInterval) where V : VectorArithmetic | |
public func force<V>(target: V, position: V, velocity: V) -> V where V : VectorArithmetic | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
public func settlingDuration<V>(fromValue: V, toValue: V, initialVelocity: V, epsilon: Double) -> TimeInterval where V : Animatable | |
public func value<V>(fromValue: V, toValue: V, initialVelocity: V, time: TimeInterval) -> V where V : Animatable | |
public func velocity<V>(fromValue: V, toValue: V, initialVelocity: V, time: TimeInterval) -> V where V : Animatable | |
public func force<V>(fromValue: V, toValue: V, position: V, velocity: V) -> V where V : Animatable | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Spring { | |
@_alwaysEmitIntoClient public static var smooth: Spring { | |
get { smooth() } | |
} | |
@_alwaysEmitIntoClient public static func smooth(duration: TimeInterval = 0.5, extraBounce: Double = 0.0) -> Spring { | |
Self(duration: duration, bounce: extraBounce) | |
} | |
@_alwaysEmitIntoClient public static var snappy: Spring { | |
get { snappy() } | |
} | |
@_alwaysEmitIntoClient public static func snappy(duration: TimeInterval = 0.5, extraBounce: Double = 0.0) -> Spring { | |
Self(duration: duration, bounce: 0.15 + extraBounce) | |
} | |
@_alwaysEmitIntoClient public static var bouncy: Spring { | |
get { bouncy() } | |
} | |
@_alwaysEmitIntoClient public static func bouncy(duration: TimeInterval = 0.5, extraBounce: Double = 0.0) -> Spring { | |
Self(duration: duration, bounce: 0.3 + extraBounce) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Animation { | |
public static func spring(_ spring: Spring, blendDuration: TimeInterval = 0.0) -> Animation | |
public static func interpolatingSpring(_ spring: Spring, initialVelocity: Double = 0.0) -> Animation | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen @propertyWrapper public struct FocusState<Value> : DynamicProperty where Value : Hashable { | |
@frozen @propertyWrapper public struct Binding { | |
private var _binding: Binding<Value> | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: FocusState<Value>.Binding { | |
get | |
} | |
} | |
internal var value: Value | |
internal var location: AnyLocation<Value>? | |
internal var resetValue: Value | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: FocusState<Value>.Binding { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
public init() where Value == Bool | |
public init<T>() where Value == T?, T : Hashable | |
} | |
@available(*, unavailable) | |
extension FocusState : Sendable { | |
} | |
@available(*, unavailable) | |
extension FocusState.Binding : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func focused<Value>(_ binding: FocusState<Value>.Binding, equals value: Value) -> some View where Value : Hashable | |
public func focused(_ condition: FocusState<Bool>.Binding) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _OffsetEffect : GeometryEffect, Equatable { | |
public var offset: CGSize | |
@inlinable public init(offset: CGSize) { | |
self.offset = offset | |
} | |
public func effectValue(size: CGSize) -> ProjectionTransform | |
public var animatableData: CGSize.AnimatableData { | |
get | |
set | |
} | |
public static func _makeView(modifier: _GraphValue<_OffsetEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func == (a: _OffsetEffect, b: _OffsetEffect) -> Bool | |
public typealias AnimatableData = CGSize.AnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func offset(_ offset: CGSize) -> some View { | |
return modifier(_OffsetEffect(offset: offset)) | |
} | |
@inlinable public func offset(x: CGFloat = 0, y: CGFloat = 0) -> some View { | |
return offset(CGSize(width: x, height: y)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnyTransition { | |
public static func offset(_ offset: CGSize) -> AnyTransition | |
public static func offset(x: CGFloat = 0, y: CGFloat = 0) -> AnyTransition | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == OffsetTransition { | |
@_alwaysEmitIntoClient public static func offset(_ offset: CGSize) -> Self { Self(offset) } | |
@_alwaysEmitIntoClient public static func offset(x: CGFloat = 0, y: CGFloat = 0) -> Self { | |
offset(CGSize(width: x, height: y)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct OffsetTransition : Transition { | |
public var offset: CGSize | |
public init(_ offset: CGSize) | |
public func body(content: OffsetTransition.Content, phase: TransitionPhase) -> some View | |
public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16OffsetTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0D5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension OffsetTransition : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func offset(_ offset: CGSize) -> some VisualEffect | |
public func offset(x: CGFloat = 0, y: CGFloat = 0) -> some VisualEffect | |
} | |
extension Text { | |
@available(iOS 16.0, macOS 13, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload public init(_ resource: LocalizedStringResource) | |
} | |
extension LocalizedStringKey.StringInterpolation { | |
@available(iOS 16.0, macOS 13, tvOS 16.0, watchOS 9.0, *) | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation(_ resource: LocalizedStringResource) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _PositionLayout { | |
public var position: CGPoint | |
@inlinable public init(position: CGPoint) { | |
self.position = position | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func position(_ position: CGPoint) -> some View { | |
return modifier(_PositionLayout(position: position)) | |
} | |
@inlinable public func position(x: CGFloat = 0, y: CGFloat = 0) -> some View { | |
return position(CGPoint(x: x, y: y)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct AutomaticTextEditorStyle : TextEditorStyle { | |
public func makeBody(configuration: AutomaticTextEditorStyle.Configuration) -> AutomaticTextEditorStyle.Body | |
public init() | |
public struct Body : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24AutomaticTextEditorStyleV4BodyV4bodyQrvp", 0) __ | |
} | |
} | |
@available(*, unavailable) | |
extension AutomaticTextEditorStyle : Sendable { | |
} | |
@available(*, unavailable) | |
extension AutomaticTextEditorStyle.Body : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextEditorStyle where Self == AutomaticTextEditorStyle { | |
@_alwaysEmitIntoClient public static var automatic: AutomaticTextEditorStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension TimelineSchedule where Self == AnimationTimelineSchedule { | |
@_alwaysEmitIntoClient public static var animation: AnimationTimelineSchedule { | |
get { .init() } | |
} | |
@_alwaysEmitIntoClient public static func animation(minimumInterval: Double? = nil, paused: Bool = false) -> AnimationTimelineSchedule { | |
.init(minimumInterval: minimumInterval, paused: paused) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AnimationTimelineSchedule : TimelineSchedule, Sendable { | |
public init(minimumInterval: Double? = nil, paused: Bool = false) | |
public func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries | |
public struct Entries : Sequence, IteratorProtocol, Sendable { | |
public mutating func next() -> Date? | |
public typealias Element = Date | |
public typealias Iterator = AnimationTimelineSchedule.Entries | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PrimitiveButtonStyle where Self == PlainButtonStyle { | |
@_alwaysEmitIntoClient public static var plain: PlainButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct PlainButtonStyle : PrimitiveButtonStyle { | |
public init() | |
public func makeBody(configuration: PlainButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16PlainButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PlainButtonStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where ID == Data.Element.ID, Parent : TableRowContent, Parent == Leaf, Leaf == Subgroup, Data.Element == Parent.TableRowValue { | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>) where ID == DataElement.ID, Parent == TableRow<DataElement>, Leaf == TableRow<DataElement>, Subgroup == TableRow<DataElement>, DataElement : Identifiable, DataElement == Data.Element | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>) where ID == DataElement.ID, Parent == TableRow<DataElement>, Leaf == TableRow<DataElement>, Subgroup == TableRow<DataElement>, DataElement : Identifiable, DataElement == Data.Element | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
public init<DataElement>(_ root: DataElement, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
public init<DataElement>(_ data: Data, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup : TableRowContent where ID == Data.Element.ID, Parent : TableRowContent, Parent == Leaf, Leaf == Subgroup, Data.Element == Parent.TableRowValue { | |
public typealias TableRowValue = Leaf.TableRowValue | |
public var tableRowBody: some TableRowContent { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
public typealias TableRowBody = @_opaqueReturnTypeOf("$s7SwiftUI12OutlineGroupVAA7ElementST_2IDs12IdentifiablePQZRs_AA15TableRowContentR0_q1_Rs0_q2_Rs1_0hI5ValueAaIPQy0_ADSTRtzrlE05tableI4BodyQrvp", 0) __<Data, ID, Parent, Parent, Parent> | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct SubmitLabel : Sendable { | |
public static var done: SubmitLabel { | |
get | |
} | |
public static var go: SubmitLabel { | |
get | |
} | |
public static var send: SubmitLabel { | |
get | |
} | |
public static var join: SubmitLabel { | |
get | |
} | |
public static var route: SubmitLabel { | |
get | |
} | |
public static var search: SubmitLabel { | |
get | |
} | |
public static var `return`: SubmitLabel { | |
get | |
} | |
public static var next: SubmitLabel { | |
get | |
} | |
public static var `continue`: SubmitLabel { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func submitLabel(_ submitLabel: SubmitLabel) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct Divider : View { | |
public init() | |
public static func _makeView(view: _GraphValue<Divider>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension Divider : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension MenuStyle where Self == ButtonMenuStyle { | |
@_alwaysEmitIntoClient public static var button: ButtonMenuStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct ButtonMenuStyle : MenuStyle { | |
public init() | |
public func makeBody(configuration: ButtonMenuStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15ButtonMenuStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ButtonMenuStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Image : Equatable, Sendable { | |
internal var provider: AnyImageProviderBox | |
public static func == (lhs: Image, rhs: Image) -> Bool | |
} | |
@available(*, unavailable) | |
extension Image : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image : View { | |
public static func _makeView(view: _GraphValue<Image>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyImageProviderBox : @unchecked Sendable { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyImageProviderBox : Sendable { | |
} | |
@available(tvOS 16.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func onLongTouchGesture(minimumDuration: Double = 0.5, perform action: @escaping () -> Void, onTouchingChanged: ((Bool) -> Void)? = nil) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ToolbarCustomizationBehavior : Sendable { | |
public static var `default`: ToolbarCustomizationBehavior { | |
get | |
} | |
public static var reorderable: ToolbarCustomizationBehavior { | |
get | |
} | |
public static var disabled: ToolbarCustomizationBehavior { | |
get | |
} | |
} | |
extension CustomizableToolbarContent { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func customizationBehavior(_ behavior: ToolbarCustomizationBehavior) -> some CustomizableToolbarContent | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct TextFieldLink<Label> : View where Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI13TextFieldLinkV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension TextFieldLink : Sendable { | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension TextFieldLink { | |
public init(prompt: Text? = nil, @ViewBuilder label: () -> Label, onSubmit: @escaping (String) -> Void) | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension TextFieldLink where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, prompt: Text? = nil, onSubmit: @escaping (String) -> Void) | |
@_disfavoredOverload public init<S>(_ title: S, prompt: Text? = nil, onSubmit: @escaping (String) -> Void) where S : StringProtocol | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @propertyWrapper public struct State<Value> : DynamicProperty { | |
@usableFromInline | |
internal var _value: Value | |
@usableFromInline | |
internal var _location: AnyLocation<Value>? | |
public init(wrappedValue value: Value) | |
@_alwaysEmitIntoClient public init(initialValue value: Value) { | |
_value = value | |
} | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: Binding<Value> { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension State : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension State where Value : ExpressibleByNilLiteral { | |
@inlinable public init() { | |
self.init(wrappedValue: nil) | |
} | |
} | |
@available(iOS 16.1, macOS 13.0, watchOS 9.1, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
@frozen internal struct LimitedAvailabilityWidget : Widget, _LimitedAvailabilityWidgetMarker { | |
@usableFromInline | |
internal var configuration: LimitedAvailabilityConfiguration | |
public init() | |
@usableFromInline | |
internal init<W>(_ widget: W) where W : Widget | |
public var body: some WidgetConfiguration { | |
get | |
} | |
@usableFromInline | |
internal typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25LimitedAvailabilityWidgetV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityWidget : Sendable { | |
} | |
@available(iOS 16.1, macOS 13.0, watchOS 9.1, *) | |
@available(tvOS, unavailable) | |
@frozen public struct LimitedAvailabilityConfiguration : WidgetConfiguration { | |
@usableFromInline | |
internal var storage: LimitedAvailabilityConfigurationBase | |
@usableFromInline | |
internal init<W>(_ configuration: W) where W : WidgetConfiguration | |
public static func _makeWidgetConfiguration(widget: _GraphValue<LimitedAvailabilityConfiguration>, inputs: _WidgetInputs) -> _WidgetOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityConfiguration : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 16.1, macOS 13.0, watchOS 9.1, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal class LimitedAvailabilityConfigurationBase { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityConfigurationBase : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ProposedSize { | |
} | |
@available(*, unavailable) | |
extension _ProposedSize : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ProposedSize : Hashable { | |
public static func == (a: _ProposedSize, b: _ProposedSize) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
#if compiler(>=5.3) && $AsyncAwait && $Sendable && $InheritActorContext | |
public func refreshable(@_inheritActorContext action: @escaping @Sendable () async -> Void) -> some View | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var refresh: RefreshAction? { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct RefreshAction : Sendable { | |
#if compiler(>=5.3) && $AsyncAwait | |
public func callAsFunction() async | |
#endif | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol ImmersiveSpaceContent { | |
associatedtype Body : ImmersiveSpaceContent | |
@ImmersiveSpaceContentBuilder var body: Self.Body { get } | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_functionBuilder public struct ImmersiveSpaceContentBuilder { | |
public static func buildBlock<Content>(_ content: Content) -> Content where Content : ImmersiveSpaceContent | |
} | |
@available(*, unavailable) | |
extension ImmersiveSpaceContentBuilder : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Never : ImmersiveSpaceContent { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationSplitViewStyle where Self == ProminentDetailNavigationSplitViewStyle { | |
public static var prominentDetail: ProminentDetailNavigationSplitViewStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ProminentDetailNavigationSplitViewStyle : NavigationSplitViewStyle { | |
public init() | |
public func makeBody(configuration: ProminentDetailNavigationSplitViewStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI39ProminentDetailNavigationSplitViewStyleV8makeBody13configurationQrAA0efgH13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ProminentDetailNavigationSplitViewStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct SearchFieldPlacement : Sendable { | |
public static let automatic: SearchFieldPlacement | |
@available(tvOS, unavailable) | |
public static let toolbar: SearchFieldPlacement | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let sidebar: SearchFieldPlacement | |
@available(iOS 15.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let navigationBarDrawer: SearchFieldPlacement | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func navigationBarDrawer(displayMode: SearchFieldPlacement.NavigationBarDrawerDisplayMode) -> SearchFieldPlacement | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SearchFieldPlacement { | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct NavigationBarDrawerDisplayMode : Sendable { | |
public static let automatic: SearchFieldPlacement.NavigationBarDrawerDisplayMode | |
public static let always: SearchFieldPlacement.NavigationBarDrawerDisplayMode | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct _GeometryGroupEffect : Equatable { | |
@_alwaysEmitIntoClient public init() {} | |
public static func == (a: _GeometryGroupEffect, b: _GeometryGroupEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@_alwaysEmitIntoClient public func geometryGroup() -> some View { | |
return modifier(_GeometryGroupEffect()) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ProjectionEffect : GeometryEffect, Equatable { | |
public var transform: ProjectionTransform | |
@inlinable public init(transform: ProjectionTransform) { | |
self.transform = transform | |
} | |
public func effectValue(size: CGSize) -> ProjectionTransform | |
public static func == (a: _ProjectionEffect, b: _ProjectionEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func projectionEffect(_ transform: ProjectionTransform) -> some View { | |
return modifier(_ProjectionEffect(transform: transform)) | |
} | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct SettingsLink<Label> : View where Label : View { | |
public init() where Label == DefaultSettingsLinkLabel | |
public init(@ViewBuilder label: () -> Label) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI12SettingsLinkV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension SettingsLink : Sendable { | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct DefaultSettingsLinkLabel : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24DefaultSettingsLinkLabelV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultSettingsLinkLabel : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _TransformEffect : GeometryEffect, Equatable { | |
public var transform: CGAffineTransform | |
@inlinable public init(transform: CGAffineTransform) { | |
self.transform = transform | |
} | |
public func effectValue(size: CGSize) -> ProjectionTransform | |
public static func == (a: _TransformEffect, b: _TransformEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func transformEffect(_ transform: CGAffineTransform) -> some View { | |
return modifier(_TransformEffect(transform: transform)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func transformEffect(_ transform: ProjectionTransform) -> some VisualEffect | |
public func transformEffect(_ transform: CGAffineTransform) -> some VisualEffect | |
} | |
@available(iOS 13.4, tvOS 16.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
@available(iOS 13.4, tvOS 16.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public func hoverEffect(_ effect: HoverEffect = .automatic) -> some View | |
} | |
@available(iOS 17.0, tvOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func hoverEffect(_ effect: HoverEffect = .automatic, isEnabled: Bool = true) -> some View | |
public func defaultHoverEffect(_ effect: HoverEffect?) -> some View | |
public func hoverEffectDisabled(_ disabled: Bool = true) -> some View | |
} | |
@available(iOS 13.4, tvOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct HoverEffect { | |
public static let automatic: HoverEffect | |
@available(tvOS 17.0, *) | |
public static let highlight: HoverEffect | |
public static let lift: HoverEffect | |
} | |
@available(*, unavailable) | |
extension HoverEffect : Sendable { | |
} | |
@available(iOS 17.0, tvOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var isHoverEffectEnabled: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _RotationEffect : GeometryEffect, Equatable { | |
public var angle: Angle | |
public var anchor: UnitPoint | |
@inlinable public init(angle: Angle, anchor: UnitPoint = .center) { | |
self.angle = angle | |
self.anchor = anchor | |
} | |
public func effectValue(size: CGSize) -> ProjectionTransform | |
public typealias AnimatableData = AnimatablePair<Angle.AnimatableData, UnitPoint.AnimatableData> | |
public var animatableData: _RotationEffect.AnimatableData { | |
get | |
set | |
} | |
public static func == (a: _RotationEffect, b: _RotationEffect) -> Bool | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func rotationEffect(_ angle: Angle, anchor: UnitPoint = .center) -> some View { | |
return modifier(_RotationEffect(angle: angle, anchor: anchor)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func rotationEffect(_ angle: Angle, anchor: UnitPoint = .center) -> some VisualEffect | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension PrimitiveButtonStyle where Self == AccessoryBarButtonStyle { | |
public static var accessoryBar: AccessoryBarButtonStyle { | |
get | |
} | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct AccessoryBarButtonStyle : PrimitiveButtonStyle { | |
public init() | |
public func makeBody(configuration: AccessoryBarButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI23AccessoryBarButtonStyleV8makeBody13configurationQrAA09PrimitiveeF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AccessoryBarButtonStyle : Sendable { | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension PrimitiveButtonStyle where Self == AccessoryBarActionButtonStyle { | |
public static var accessoryBarAction: AccessoryBarActionButtonStyle { | |
get | |
} | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct AccessoryBarActionButtonStyle : PrimitiveButtonStyle { | |
public init() | |
public func makeBody(configuration: AccessoryBarActionButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI29AccessoryBarActionButtonStyleV8makeBody13configurationQrAA09PrimitivefG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AccessoryBarActionButtonStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ScaleEffect : GeometryEffect, Equatable { | |
public var scale: CGSize | |
public var anchor: UnitPoint | |
@inlinable public init(scale: CGSize, anchor: UnitPoint = .center) { | |
self.scale = scale | |
self.anchor = anchor | |
} | |
public func effectValue(size: CGSize) -> ProjectionTransform | |
public typealias AnimatableData = AnimatablePair<CGSize.AnimatableData, UnitPoint.AnimatableData> | |
public var animatableData: _ScaleEffect.AnimatableData { | |
get | |
set | |
} | |
public static func _makeView(modifier: _GraphValue<_ScaleEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func == (a: _ScaleEffect, b: _ScaleEffect) -> Bool | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func scaleEffect(_ scale: CGSize, anchor: UnitPoint = .center) -> some View { | |
return modifier(_ScaleEffect(scale: scale, anchor: anchor)) | |
} | |
@inlinable public func scaleEffect(_ s: CGFloat, anchor: UnitPoint = .center) -> some View { | |
return scaleEffect(CGSize(width: s, height: s), anchor: anchor) | |
} | |
@inlinable public func scaleEffect(x: CGFloat = 1.0, y: CGFloat = 1.0, anchor: UnitPoint = .center) -> some View { | |
return scaleEffect(CGSize(width: x, height: y), anchor: anchor) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnyTransition { | |
public static var scale: AnyTransition { | |
get | |
} | |
public static func scale(scale: CGFloat, anchor: UnitPoint = .center) -> AnyTransition | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == ScaleTransition { | |
@_alwaysEmitIntoClient public static var scale: ScaleTransition { | |
get { Self(1e-5) } | |
} | |
@_alwaysEmitIntoClient public static func scale(_ scale: Double, anchor: UnitPoint = .center) -> Self { | |
Self(scale, anchor: anchor) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ScaleTransition : Transition { | |
public var scale: Double | |
public var anchor: UnitPoint | |
public init(_ scale: Double, anchor: UnitPoint = .center) | |
public func body(content: ScaleTransition.Content, phase: TransitionPhase) -> some View | |
public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15ScaleTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0D5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ScaleTransition : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func scaleEffect(_ scale: CGSize, anchor: UnitPoint = .center) -> some VisualEffect | |
public func scaleEffect(_ scale: CGFloat, anchor: UnitPoint = .center) -> some VisualEffect | |
public func scaleEffect(x: CGFloat = 1.0, y: CGFloat = 1.0, anchor: UnitPoint = .center) -> some VisualEffect | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct ButtonRole : Equatable, Sendable { | |
public static let destructive: ButtonRole | |
public static let cancel: ButtonRole | |
public static func == (a: ButtonRole, b: ButtonRole) -> Bool | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _BackdropEffect<Backdrop> where Backdrop : View { | |
@usableFromInline | |
internal var backdrop: Backdrop | |
@inlinable internal init(backdrop: Backdrop) { | |
self.backdrop = backdrop | |
} | |
public static func _makeView(modifier: _GraphValue<_BackdropEffect<Backdrop>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BackdropEffect : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _BackdropEffectPlaceholder { | |
@inlinable internal init() {} | |
public static func _makeView(view: _GraphValue<_BackdropEffectPlaceholder>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _BlurEffect : Equatable { | |
public var radius: CGFloat | |
public var isOpaque: Bool | |
@inlinable public init(radius: CGFloat, opaque: Bool) { | |
self.radius = radius | |
self.isOpaque = opaque | |
} | |
public var animatableData: CGFloat { | |
get | |
set | |
} | |
public static func == (a: _BlurEffect, b: _BlurEffect) -> Bool | |
public typealias AnimatableData = CGFloat | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func blur(radius: CGFloat, opaque: Bool = false) -> some View { | |
return modifier(_BlurEffect(radius: radius, opaque: opaque)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func blur(radius: CGFloat, opaque: Bool = false) -> some VisualEffect | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _BrightnessEffect : Equatable { | |
public var amount: Double | |
@inlinable public init(amount: Double) { | |
self.amount = amount | |
} | |
public var animatableData: Double { | |
get | |
set | |
} | |
public static func == (a: _BrightnessEffect, b: _BrightnessEffect) -> Bool | |
public typealias AnimatableData = Double | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func brightness(_ amount: Double) -> some View { | |
return modifier(_BrightnessEffect(amount: amount)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func brightness(_ amount: Double) -> some VisualEffect | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AppearanceActionModifier : ViewModifier { | |
public var appear: (() -> Void)? | |
public var disappear: (() -> Void)? | |
@inlinable public init(appear: (() -> Void)? = nil, disappear: (() -> Void)? = nil) { | |
self.appear = appear | |
self.disappear = disappear | |
} | |
public static func _makeView(modifier: _GraphValue<_AppearanceActionModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<_AppearanceActionModifier>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
} | |
@available(*, unavailable) | |
extension _AppearanceActionModifier : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension _AppearanceActionModifier : _SceneModifier { | |
public static func _makeScene(modifier: _GraphValue<_AppearanceActionModifier>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func onAppear(perform action: (() -> Void)? = nil) -> some View { | |
return modifier( | |
_AppearanceActionModifier(appear: action, disappear: nil)) | |
} | |
@inlinable public func onDisappear(perform action: (() -> Void)? = nil) -> some View { | |
return modifier( | |
_AppearanceActionModifier(appear: nil, disappear: action)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct UnitCurve { | |
public static func bezier(startControlPoint: UnitPoint, endControlPoint: UnitPoint) -> UnitCurve | |
public func value(at progress: Double) -> Double | |
public func velocity(at progress: Double) -> Double | |
public var inverse: UnitCurve { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension UnitCurve : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension UnitCurve : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: UnitCurve, b: UnitCurve) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension UnitCurve { | |
@available(*, deprecated, message: "Use easeInOut instead") | |
public static let easeInEaseOut: UnitCurve | |
public static let easeInOut: UnitCurve | |
public static let easeIn: UnitCurve | |
public static let easeOut: UnitCurve | |
public static let circularEaseIn: UnitCurve | |
public static let circularEaseOut: UnitCurve | |
public static let circularEaseInOut: UnitCurve | |
public static let linear: UnitCurve | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Animation { | |
public static func timingCurve(_ curve: UnitCurve, duration: TimeInterval) -> Animation | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ColorInvertEffect : Equatable { | |
@inlinable public init() {} | |
public static func == (a: _ColorInvertEffect, b: _ColorInvertEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func colorInvert() -> some View { | |
return modifier(_ColorInvertEffect()) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _ColorMatrixEffect { | |
public var matrix: _ColorMatrix | |
@inlinable public init(matrix: _ColorMatrix) { | |
self.matrix = matrix | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func _colorMatrix(_ matrix: _ColorMatrix) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ColorMultiplyEffect : EnvironmentalModifier, Equatable { | |
public var color: Color | |
@inlinable public init(color: Color) { | |
self.color = color | |
} | |
public func resolve(in environment: EnvironmentValues) -> _ColorMultiplyEffect._Resolved | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static var _requiresMainThread: Bool { | |
get | |
} | |
@usableFromInline | |
internal var _requiresMainThread: Bool { | |
get | |
} | |
public struct _Resolved { | |
public typealias AnimatableData = AnimatablePair<Float, AnimatablePair<Float, AnimatablePair<Float, Float>>> | |
public var animatableData: _ColorMultiplyEffect._Resolved.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = Never | |
} | |
public static func == (a: _ColorMultiplyEffect, b: _ColorMultiplyEffect) -> Bool | |
public typealias Body = Never | |
public typealias ResolvedModifier = _ColorMultiplyEffect._Resolved | |
} | |
@available(*, unavailable) | |
extension _ColorMultiplyEffect : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ColorMultiplyEffect._Resolved : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func colorMultiply(_ color: Color) -> some View { | |
return modifier(_ColorMultiplyEffect(color: color)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ContrastEffect : Equatable { | |
public var amount: Double | |
@inlinable public init(amount: Double) { | |
self.amount = amount | |
} | |
public var animatableData: Double { | |
get | |
set | |
} | |
public static func == (a: _ContrastEffect, b: _ContrastEffect) -> Bool | |
public typealias AnimatableData = Double | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func contrast(_ amount: Double) -> some View { | |
return modifier(_ContrastEffect(amount: amount)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func contrast(_ amount: Double) -> some VisualEffect | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol ToolbarContent { | |
associatedtype Body : ToolbarContent | |
@ToolbarContentBuilder var body: Self.Body { get } | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
static func _makeToolbar(content: _GraphValue<Self>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
static func _makeContent(content: _GraphValue<Self>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol CustomizableToolbarContent : ToolbarContent where Self.Body : CustomizableToolbarContent { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ToolbarContent { | |
public static func _makeContent(content: _GraphValue<Self>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ToolbarContent { | |
public static func _makeToolbar(content: _GraphValue<Self>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Never : ToolbarContent, CustomizableToolbarContent { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct _ToolbarInputs { | |
} | |
@available(*, unavailable) | |
extension _ToolbarInputs : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct _ToolbarOutputs { | |
} | |
@available(*, unavailable) | |
extension _ToolbarOutputs : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _ToolbarItemList { | |
} | |
@available(*, unavailable) | |
extension _ToolbarItemList : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_functionBuilder public struct ToolbarContentBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : ToolbarContent { | |
content | |
} | |
public static func buildBlock<Content>(_ content: Content) -> some ToolbarContent where Content : ToolbarContent | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : CustomizableToolbarContent { | |
content | |
} | |
public static func buildBlock<Content>(_ content: Content) -> some CustomizableToolbarContent where Content : CustomizableToolbarContent | |
} | |
@available(*, unavailable) | |
extension ToolbarContentBuilder : Sendable { | |
} | |
extension ToolbarContentBuilder { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : ToolbarContent | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : CustomizableToolbarContent | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : ToolbarContent, FalseContent : ToolbarContent | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : CustomizableToolbarContent, FalseContent : CustomizableToolbarContent | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : ToolbarContent, FalseContent : ToolbarContent | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : CustomizableToolbarContent, FalseContent : CustomizableToolbarContent | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability<Content>(_ content: Content) -> some ToolbarContent where Content : ToolbarContent { | |
content | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability<Content>(_ content: Content) -> some CustomizableToolbarContent where Content : CustomizableToolbarContent { | |
content | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _GrayscaleEffect : Equatable { | |
public var amount: Double | |
@inlinable public init(amount: Double) { | |
self.amount = amount | |
} | |
public var animatableData: Double { | |
get | |
set | |
} | |
public static func == (a: _GrayscaleEffect, b: _GrayscaleEffect) -> Bool | |
public typealias AnimatableData = Double | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func grayscale(_ amount: Double) -> some View { | |
return modifier(_GrayscaleEffect(amount: amount)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func grayscale(_ amount: Double) -> some VisualEffect | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _HueRotationEffect : Equatable { | |
public var angle: Angle | |
@inlinable public init(angle: Angle) { | |
self.angle = angle | |
} | |
public var animatableData: Angle.AnimatableData { | |
get | |
set | |
} | |
public static func == (a: _HueRotationEffect, b: _HueRotationEffect) -> Bool | |
public typealias AnimatableData = Angle.AnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func hueRotation(_ angle: Angle) -> some View { | |
return modifier(_HueRotationEffect(angle: angle)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func hueRotation(_ angle: Angle) -> some VisualEffect | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct KeyframeTimeline<Value> { | |
public init(initialValue: Value, @KeyframesBuilder<Value> content: () -> some Keyframes<Value>) | |
public var duration: TimeInterval { | |
get | |
} | |
public func value(time: Double) -> Value | |
public func value(progress: Double) -> Value | |
} | |
@available(*, unavailable) | |
extension KeyframeTimeline : Sendable { | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension WindowStyle where Self == HiddenTitleBarWindowStyle { | |
@_alwaysEmitIntoClient public static var hiddenTitleBar: HiddenTitleBarWindowStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct HiddenTitleBarWindowStyle : WindowStyle { | |
public typealias _Body = Never | |
public init() | |
} | |
@available(*, unavailable) | |
extension HiddenTitleBarWindowStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension LabelStyle where Self == IconOnlyLabelStyle { | |
@_alwaysEmitIntoClient public static var iconOnly: IconOnlyLabelStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct IconOnlyLabelStyle : LabelStyle { | |
public init() | |
public func makeBody(configuration: IconOnlyLabelStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI18IconOnlyLabelStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension IconOnlyLabelStyle : Sendable { | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
public protocol NavigationViewStyle { | |
associatedtype _Body : View | |
@ViewBuilder func _body(configuration: _NavigationViewStyleConfiguration) -> Self._Body | |
associatedtype _Body2 : View = EmptyView | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@ViewBuilder func _columnBasedBody(configuration: _NavigationViewStyleConfiguration) -> Self._Body2 | |
} | |
extension NavigationViewStyle { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _columnBasedBody(configuration: _NavigationViewStyleConfiguration) -> Self._Body2 | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
public struct _NavigationViewStyleConfiguration { | |
public struct Content : View { | |
public typealias Body = Never | |
} | |
public let content: _NavigationViewStyleConfiguration.Content | |
} | |
@available(*, unavailable) | |
extension _NavigationViewStyleConfiguration.Content : Sendable { | |
} | |
@available(*, unavailable) | |
extension _NavigationViewStyleConfiguration : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
public func navigationViewStyle<S>(_ style: S) -> some View where S : NavigationViewStyle | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct ContainerRelativeShape : Shape { | |
public func path(in rect: CGRect) -> Path | |
@inlinable public init() {} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<ContainerRelativeShape, ForegroundStyle> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Shape where Self == ContainerRelativeShape { | |
@_alwaysEmitIntoClient public static var containerRelative: ContainerRelativeShape { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ContainerRelativeShape : InsettableShape { | |
@inlinable public func inset(by amount: CGFloat) -> some InsettableShape { | |
return _Inset(amount: amount) | |
} | |
@usableFromInline | |
@frozen internal struct _Inset : InsettableShape { | |
@usableFromInline | |
internal var amount: CGFloat | |
@inlinable internal init(amount: CGFloat) { | |
self.amount = amount | |
} | |
@usableFromInline | |
internal func path(in rect: CGRect) -> Path | |
@usableFromInline | |
internal var animatableData: CGFloat { | |
get | |
set | |
} | |
@inlinable internal func inset(by amount: CGFloat) -> ContainerRelativeShape._Inset { | |
var copy = self | |
copy.amount += amount | |
return copy | |
} | |
@usableFromInline | |
internal typealias AnimatableData = CGFloat | |
@usableFromInline | |
internal typealias Body = _ShapeView<ContainerRelativeShape._Inset, ForegroundStyle> | |
@usableFromInline | |
internal typealias InsetShape = ContainerRelativeShape._Inset | |
} | |
public typealias InsetShape = @_opaqueReturnTypeOf("$s7SwiftUI22ContainerRelativeShapeV5inset2byQr12CoreGraphics7CGFloatV_tF", 0) __ | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ShapeStyle { | |
public func _fillingContainerShape() -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func containerShape<T>(_ shape: T) -> some View where T : InsettableShape { | |
modifier(_ContainerShapeModifier(shape: shape)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func _containerShape<T>(_ shape: T) -> some View where T : InsettableShape | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ContainerShapeModifier<Shape> where Shape : InsettableShape { | |
public var shape: Shape | |
@inlinable public init(shape: Shape) { self.shape = shape } | |
public static func _makeView(modifier: _GraphValue<_ContainerShapeModifier<Shape>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ContainerShapeModifier : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
public func handlesExternalEvents(matching conditions: Set<String>) -> some Scene | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AccessibilityTechnologies : SetAlgebra, Sendable { | |
public static var voiceOver: AccessibilityTechnologies | |
public static var switchControl: AccessibilityTechnologies | |
public init() | |
public func union(_ other: AccessibilityTechnologies) -> AccessibilityTechnologies | |
public mutating func formUnion(_ other: AccessibilityTechnologies) | |
public func intersection(_ other: AccessibilityTechnologies) -> AccessibilityTechnologies | |
public mutating func formIntersection(_ other: AccessibilityTechnologies) | |
public func symmetricDifference(_ other: AccessibilityTechnologies) -> AccessibilityTechnologies | |
public mutating func formSymmetricDifference(_ other: AccessibilityTechnologies) | |
public func contains(_ member: AccessibilityTechnologies) -> Bool | |
public mutating func insert(_ newMember: AccessibilityTechnologies) -> (inserted: Bool, memberAfterInsert: AccessibilityTechnologies) | |
public mutating func remove(_ member: AccessibilityTechnologies) -> AccessibilityTechnologies? | |
public mutating func update(with newMember: AccessibilityTechnologies) -> AccessibilityTechnologies? | |
public static func == (a: AccessibilityTechnologies, b: AccessibilityTechnologies) -> Bool | |
public typealias ArrayLiteralElement = AccessibilityTechnologies | |
public typealias Element = AccessibilityTechnologies | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func persistentSystemOverlays(_ visibility: Visibility) -> some View | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "MagnifyGesture") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "MagnifyGesture") | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "MagnifyGesture") | |
public struct MagnificationGesture : Gesture { | |
public var minimumScaleDelta: CGFloat | |
public init(minimumScaleDelta: CGFloat = 0.01) | |
public static func _makeGesture(gesture: _GraphValue<MagnificationGesture>, inputs: _GestureInputs) -> _GestureOutputs<MagnificationGesture.Value> | |
public typealias Value = CGFloat | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension MagnificationGesture : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct MagnifyGesture : Gesture { | |
public struct Value : Equatable, Sendable { | |
public var time: Date | |
public var magnification: CGFloat | |
public var velocity: CGFloat | |
public var startAnchor: UnitPoint | |
public var startLocation: CGPoint | |
public static func == (a: MagnifyGesture.Value, b: MagnifyGesture.Value) -> Bool | |
} | |
public var minimumScaleDelta: CGFloat | |
public init(minimumScaleDelta: CGFloat = 0.01) | |
public static func _makeGesture(gesture: _GraphValue<MagnifyGesture>, inputs: _GestureInputs) -> _GestureOutputs<MagnifyGesture.Value> | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension MagnifyGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 14.0, *) | |
@available(watchOS, introduced: 6.0, deprecated: 7.0) | |
extension View { | |
public func contextMenu<MenuItems>(@ViewBuilder menuItems: () -> MenuItems) -> some View where MenuItems : View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, *) | |
@available(watchOS, unavailable) | |
extension View { | |
public func contextMenu<M, P>(@ViewBuilder menuItems: () -> M, @ViewBuilder preview: () -> P) -> some View where M : View, P : View | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `contextMenu(menuItems:)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `contextMenu(menuItems:)` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 7.0) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `contextMenu(menuItems:)` instead.") | |
extension View { | |
public func contextMenu<MenuItems>(_ contextMenu: ContextMenu<MenuItems>?) -> some View where MenuItems : View | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `contextMenu(menuItems:)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `contextMenu(menuItems:)` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 7.0) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `contextMenu(menuItems:)` instead.") | |
public struct ContextMenu<MenuItems> where MenuItems : View { | |
public init(@ViewBuilder menuItems: () -> MenuItems) | |
} | |
@available(*, unavailable) | |
extension ContextMenu : Sendable { | |
} | |
extension DynamicViewContent { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping ([T], Int) -> Void) -> some DynamicViewContent where T : Transferable | |
@available(*, unavailable, message: "Unavailable for DynamicViewContent, use `dropDestination(for:action:)` instead.") | |
public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping (_ items: [T], _ location: CGPoint) -> Bool, isTargeted: (Bool) -> Void = { _ in }) -> some View where T : Transferable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension DynamicViewContent { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func onInsert(of supportedContentTypes: [UTType], perform action: @escaping (Int, [NSItemProvider]) -> Void) -> some DynamicViewContent | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
public func onInsert(of acceptedTypeIdentifiers: [String], perform action: @escaping (Int, [NSItemProvider]) -> Void) -> some DynamicViewContent | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _LuminanceToAlphaEffect : Equatable { | |
@inlinable public init() {} | |
public static func == (a: _LuminanceToAlphaEffect, b: _LuminanceToAlphaEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func luminanceToAlpha() -> some View { | |
return modifier(_LuminanceToAlphaEffect()) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _SaturationEffect : Equatable { | |
public var amount: Double | |
@inlinable public init(amount: Double) { | |
self.amount = amount | |
} | |
public var animatableData: Double { | |
get | |
set | |
} | |
public static func == (a: _SaturationEffect, b: _SaturationEffect) -> Bool | |
public typealias AnimatableData = Double | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func saturation(_ amount: Double) -> some View { | |
return modifier(_SaturationEffect(amount: amount)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func saturation(_ amount: Double) -> some VisualEffect | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Text { | |
public init<Subject>(_ subject: Subject, formatter: Formatter) where Subject : ReferenceConvertible | |
public init<Subject>(_ subject: Subject, formatter: Formatter) where Subject : ObjectiveC.NSObject | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Text { | |
public init<F>(_ input: F.FormatInput, format: F) where F : FormatStyle, F.FormatInput : Equatable, F.FormatOutput == String | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct SubmitTriggers : OptionSet, Sendable { | |
public typealias RawValue = Int | |
public let rawValue: SubmitTriggers.RawValue | |
public init(rawValue: SubmitTriggers.RawValue) | |
public static let text: SubmitTriggers | |
public static let search: SubmitTriggers | |
public typealias ArrayLiteralElement = SubmitTriggers | |
public typealias Element = SubmitTriggers | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _OpacityEffect : Equatable { | |
public var opacity: Double | |
@inlinable public init(opacity: Double) { | |
self.opacity = opacity | |
} | |
public var animatableData: Double { | |
get | |
set | |
} | |
public static func _makeView(modifier: _GraphValue<_OpacityEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func == (a: _OpacityEffect, b: _OpacityEffect) -> Bool | |
public typealias AnimatableData = Double | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func opacity(_ opacity: Double) -> some View { | |
return modifier(_OpacityEffect(opacity: opacity)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func opacity(_ opacity: Double) -> some VisualEffect | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnyTransition { | |
public static let opacity: AnyTransition | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == OpacityTransition { | |
@_alwaysEmitIntoClient public static var opacity: OpacityTransition { | |
get { Self() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ShapeStyle { | |
@inlinable public func opacity(_ opacity: Double) -> some ShapeStyle { | |
_OpacityShapeStyle(style: self, opacity: Float(opacity)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == AnyShapeStyle { | |
@_alwaysEmitIntoClient public static func opacity(_ opacity: Double) -> some ShapeStyle { | |
return _OpacityShapeStyle( | |
style: _ImplicitShapeStyle(), opacity: Float(opacity)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _OpacityShapeStyle<Style> : ShapeStyle where Style : ShapeStyle { | |
public var style: Style | |
public var opacity: Float | |
@inlinable public init(style: Style, opacity: Float) { | |
self.style = style | |
self.opacity = opacity | |
} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public typealias Resolved = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct OpacityTransition : Transition { | |
public init() | |
public func body(content: OpacityTransition.Content, phase: TransitionPhase) -> some View | |
public static let properties: TransitionProperties | |
public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17OpacityTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0D5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension OpacityTransition : Sendable { | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func toolbarBackground<S>(_ style: S, for bars: ToolbarPlacement...) -> some View where S : ShapeStyle | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func toolbarBackground(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func toolbarColorScheme(_ colorScheme: ColorScheme?, for bars: ToolbarPlacement...) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func toolbar(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct ItemProviderTraitKey : _ViewTraitKey { | |
@usableFromInline | |
internal typealias Value = Optional<() -> NSItemProvider?> | |
@inlinable internal static var defaultValue: ItemProviderTraitKey.Value { | |
get { nil } | |
} | |
} | |
@available(*, unavailable) | |
extension ItemProviderTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func itemProvider(_ action: Optional<() -> NSItemProvider?>) -> some View { | |
return _trait(ItemProviderTraitKey.self, action) | |
} | |
} | |
@available(iOS 14.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ListStyle where Self == InsetGroupedListStyle { | |
@_alwaysEmitIntoClient public static var insetGrouped: InsetGroupedListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct InsetGroupedListStyle : ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension InsetGroupedListStyle : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyLocationBase { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyLocationBase : Sendable { | |
} | |
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyLocation<Value> : AnyLocationBase { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension AnyLocation : Equatable { | |
public static func == (lhs: AnyLocation<Value>, rhs: AnyLocation<Value>) -> Bool | |
} | |
@available(*, unavailable) | |
extension AnyLocation : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AnimationModifier<Value> : ViewModifier where Value : Equatable { | |
public var animation: Animation? | |
public var value: Value | |
@inlinable public init(animation: Animation?, value: Value) { | |
self.animation = animation | |
self.value = value | |
} | |
public static func _makeView(modifier: _GraphValue<_AnimationModifier<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<_AnimationModifier<Value>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _AnimationModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _AnimationView<Content> : View where Content : Equatable, Content : View { | |
public var content: Content | |
public var animation: Animation? | |
@inlinable public init(content: Content, animation: Animation?) { | |
self.content = content | |
self.animation = animation | |
} | |
public static func _makeView(view: _GraphValue<_AnimationView<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<_AnimationView<Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _AnimationView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _AnimationModifier : Equatable { | |
public static func == (a: _AnimationModifier<Value>, b: _AnimationModifier<Value>) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func animation<V>(_ animation: Animation?, value: V) -> some View where V : Equatable { | |
return modifier(_AnimationModifier(animation: animation, value: value)) | |
} | |
} | |
extension View where Self : Equatable { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@inlinable public func animation(_ animation: Animation?) -> some View { | |
return _AnimationView(content: self, animation: animation) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public enum ResizingMode : Sendable { | |
case tile | |
case stretch | |
public static func == (a: Image.ResizingMode, b: Image.ResizingMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public func resizable(capInsets: EdgeInsets = EdgeInsets(), resizingMode: Image.ResizingMode = .stretch) -> Image | |
} | |
@available(iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1, *) | |
public struct _PlatformViewRepresentableLayoutOptions : OptionSet { | |
public let rawValue: Int | |
public init(rawValue: Int) | |
public typealias ArrayLiteralElement = _PlatformViewRepresentableLayoutOptions | |
public typealias Element = _PlatformViewRepresentableLayoutOptions | |
public typealias RawValue = Int | |
} | |
@available(*, unavailable) | |
extension _PlatformViewRepresentableLayoutOptions : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct OrnamentAttachmentAnchor : Sendable { | |
public static func scene(_ anchor: UnitPoint) -> OrnamentAttachmentAnchor | |
} | |
extension View { | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public func ornament<Content>(visibility: Visibility = .automatic, attachmentAnchor: OrnamentAttachmentAnchor, contentAlignment: Alignment = .center, @ViewBuilder ornament: () -> Content) -> some View where Content : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _BlendModeEffect : Equatable { | |
public var blendMode: BlendMode | |
@inlinable public init(blendMode: BlendMode) { | |
self.blendMode = blendMode | |
} | |
public static func == (a: _BlendModeEffect, b: _BlendModeEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BlendModeEffect : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func blendMode(_ blendMode: BlendMode) -> some View { | |
return modifier(_BlendModeEffect(blendMode: blendMode)) | |
} | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *) | |
@available(macOS, unavailable) | |
extension TabViewStyle where Self == PageTabViewStyle { | |
@_alwaysEmitIntoClient public static var page: PageTabViewStyle { | |
get { .init() } | |
} | |
@_alwaysEmitIntoClient public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle { | |
.init(indexDisplayMode: indexDisplayMode) | |
} | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *) | |
@available(macOS, unavailable) | |
public struct PageTabViewStyle : TabViewStyle { | |
public struct IndexDisplayMode : Sendable { | |
public static let automatic: PageTabViewStyle.IndexDisplayMode | |
@available(watchOS 8.0, *) | |
public static let always: PageTabViewStyle.IndexDisplayMode | |
@available(watchOS 8.0, *) | |
public static let never: PageTabViewStyle.IndexDisplayMode | |
} | |
public init(indexDisplayMode: PageTabViewStyle.IndexDisplayMode = .automatic) | |
public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<PageTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<PageTabViewStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension PageTabViewStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PaletteSelectionEffect : Sendable, Equatable { | |
public static func == (lhs: PaletteSelectionEffect, rhs: PaletteSelectionEffect) -> Bool | |
public static var automatic: PaletteSelectionEffect | |
public static func symbolVariant(_ variant: SymbolVariants) -> PaletteSelectionEffect | |
public static var custom: PaletteSelectionEffect | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
public func paletteSelectionEffect(_ effect: PaletteSelectionEffect) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public enum SidebarRowSize : Sendable { | |
case small | |
case medium | |
case large | |
public static func == (a: SidebarRowSize, b: SidebarRowSize) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension SidebarRowSize : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension EnvironmentValues { | |
public var sidebarRowSize: SidebarRowSize { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ContentMarginPlacement { | |
public static var automatic: ContentMarginPlacement { | |
get | |
} | |
public static var scrollContent: ContentMarginPlacement { | |
get | |
} | |
public static var scrollIndicators: ContentMarginPlacement { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ContentMarginPlacement : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct AccessoryCircularCapacityGaugeStyle : GaugeStyle { | |
public init() | |
public func makeBody(configuration: AccessoryCircularCapacityGaugeStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI35AccessoryCircularCapacityGaugeStyleV8makeBody13configurationQrAA0fG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AccessoryCircularCapacityGaugeStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension GaugeStyle where Self == AccessoryCircularCapacityGaugeStyle { | |
@_alwaysEmitIntoClient public static var accessoryCircularCapacity: AccessoryCircularCapacityGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol ButtonStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = ButtonStyleConfiguration | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct ButtonStyleConfiguration { | |
public struct Label : View { | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public let role: ButtonRole? | |
public let label: ButtonStyleConfiguration.Label | |
public let isPressed: Bool | |
} | |
@available(*, unavailable) | |
extension ButtonStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension ButtonStyleConfiguration.Label : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func buttonStyle<S>(_ style: S) -> some View where S : ButtonStyle | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension GaugeStyle where Self == CircularGaugeStyle { | |
@_alwaysEmitIntoClient public static var circular: CircularGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct CircularGaugeStyle : GaugeStyle { | |
public init() | |
public init(tint: Color) | |
public init(tint: Gradient) | |
public func makeBody(configuration: CircularGaugeStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI18CircularGaugeStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension CircularGaugeStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol TextFieldStyle { | |
associatedtype _Body : View | |
@ViewBuilder func _body(configuration: TextField<Self._Label>) -> Self._Body | |
typealias _Label = _TextFieldStyleLabel | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _TextFieldStyleLabel : View { | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _TextFieldStyleLabel : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func textFieldStyle<S>(_ style: S) -> some View where S : TextFieldStyle | |
} | |
@available(iOS 16.0, tvOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct UIHostingConfiguration<Content, Background> : UIContentConfiguration where Content : View, Background : View { | |
public func background<B>(@ViewBuilder content: () -> B) -> UIHostingConfiguration<Content, B> where B : View | |
public func background<S>(_ style: S) -> UIHostingConfiguration<Content, _UIHostingConfigurationBackgroundView<S>> where S : ShapeStyle | |
public func margins(_ edges: Edge.Set = .all, _ length: CGFloat) -> UIHostingConfiguration<Content, Background> | |
public func margins(_ edges: Edge.Set = .all, _ insets: EdgeInsets) -> UIHostingConfiguration<Content, Background> | |
public func minSize(width: CGFloat? = nil, height: CGFloat? = nil) -> UIHostingConfiguration<Content, Background> | |
@available(*, deprecated, message: "Please pass one or more parameters.") | |
@_alwaysEmitIntoClient public func minSize() -> UIHostingConfiguration<Content, Background> { self } | |
@MainActor public func makeContentView() -> any UIView & UIContentView | |
public func updated(for state: any UIConfigurationState) -> UIHostingConfiguration<Content, Background> | |
} | |
@available(*, unavailable) | |
extension UIHostingConfiguration : Sendable { | |
} | |
@available(iOS 16.0, tvOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension UIHostingConfiguration where Background == EmptyView { | |
public init(@ViewBuilder content: () -> Content) | |
} | |
@available(iOS 16.0, tvOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _UIHostingConfigurationBackgroundView<Style> : View where Style : ShapeStyle { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI37_UIHostingConfigurationBackgroundViewV4bodyQrvp", 0) __<Style> | |
} | |
@available(*, unavailable) | |
extension _UIHostingConfigurationBackgroundView : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct SharePreview<Image, Icon> where Image : Transferable, Icon : Transferable { | |
public init(_ titleKey: LocalizedStringKey, image: Image, icon: Icon) | |
@_disfavoredOverload public init<S>(_ title: S, image: Image, icon: Icon) where S : StringProtocol | |
public init(_ title: Text, image: Image, icon: Icon) | |
} | |
@available(*, unavailable) | |
extension SharePreview : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension SharePreview where Image == Never { | |
public init(_ titleKey: LocalizedStringKey, icon: Icon) | |
@_disfavoredOverload public init<S>(_ title: S, icon: Icon) where S : StringProtocol | |
public init(_ title: Text, icon: Icon) | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension SharePreview where Icon == Never { | |
public init(_ titleKey: LocalizedStringKey, image: Image) | |
@_disfavoredOverload public init<S>(_ title: S, image: Image) where S : StringProtocol | |
public init(_ title: Text, image: Image) | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension SharePreview where Image == Never, Icon == Never { | |
public init(_ titleKey: LocalizedStringKey) | |
@_disfavoredOverload public init<S>(_ title: S) where S : StringProtocol | |
public init(_ title: Text) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationLink where Destination == Never { | |
public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Hashable | |
public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Hashable | |
@_disfavoredOverload public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Hashable | |
public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Decodable, P : Encodable, P : Hashable | |
public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Decodable, P : Encodable, P : Hashable | |
@_disfavoredOverload public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Decodable, P : Encodable, P : Hashable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum ColorRenderingMode : Sendable { | |
case nonLinear | |
case linear | |
case extendedLinear | |
public static func == (a: ColorRenderingMode, b: ColorRenderingMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _DrawingGroupEffect : ViewModifier, Equatable { | |
public var isOpaque: Bool { | |
get | |
set | |
} | |
public var colorMode: ColorRenderingMode { | |
get | |
set | |
} | |
public init(opaque: Bool = false, colorMode: ColorRenderingMode = .nonLinear) | |
public static func _makeView(modifier: _GraphValue<_DrawingGroupEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func == (a: _DrawingGroupEffect, b: _DrawingGroupEffect) -> Bool | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _DrawingGroupEffect : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func drawingGroup(opaque: Bool = false, colorMode: ColorRenderingMode = .nonLinear) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func alert<A>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A) -> some View where A : View | |
@_disfavoredOverload public func alert<S, A>(_ title: S, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A) -> some View where S : StringProtocol, A : View | |
public func alert<A>(_ title: Text, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A) -> some View where A : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func alert<A, M>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
@_disfavoredOverload public func alert<S, A, M>(_ title: S, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where S : StringProtocol, A : View, M : View | |
public func alert<A, M>(_ title: Text, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func alert<A, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
@_disfavoredOverload public func alert<S, A, T>(_ title: S, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where S : StringProtocol, A : View | |
public func alert<A, T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func alert<A, M, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where A : View, M : View | |
@_disfavoredOverload public func alert<S, A, M, T>(_ title: S, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where S : StringProtocol, A : View, M : View | |
public func alert<A, M, T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where A : View, M : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func alert<E, A>(isPresented: Binding<Bool>, error: E?, @ViewBuilder actions: () -> A) -> some View where E : LocalizedError, A : View | |
public func alert<E, A, M>(isPresented: Binding<Bool>, error: E?, @ViewBuilder actions: (E) -> A, @ViewBuilder message: (E) -> M) -> some View where E : LocalizedError, A : View, M : View | |
} | |
@available(iOS 17.0, macOS 13.0, tvOS 17.0, watchOS 10.0, *) | |
@available(visionOS, unavailable) | |
extension View { | |
public func dialogIcon(_ icon: Image?) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _CompositingGroupEffect : Equatable { | |
@inlinable public init() {} | |
public static func == (a: _CompositingGroupEffect, b: _CompositingGroupEffect) -> Bool | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func compositingGroup() -> some View { | |
return modifier(_CompositingGroupEffect()) | |
} | |
} | |
extension View { | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func pasteDestination<T>(for payloadType: T.Type = T.self, action: @escaping ([T]) -> Void, validator: @escaping ([T]) -> [T] = { $0 }) -> some View where T : Transferable | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func cuttable<T>(for payloadType: T.Type = T.self, action: @escaping () -> [T]) -> some View where T : Transferable | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func copyable<T>(_ payload: @autoclosure @escaping () -> [T]) -> some View where T : Transferable | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onCommand(_ selector: ObjectiveC.Selector, perform action: (() -> Void)?) -> some View | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onPasteCommand(of supportedContentTypes: [UTType], perform payloadAction: @escaping ([NSItemProvider]) -> Void) -> some View | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onPasteCommand<Payload>(of supportedContentTypes: [UTType], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onCopyCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onCutCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Provide `UTType`s as the `supportedContentTypes` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func onPasteCommand(of supportedTypes: [String], perform payloadAction: @escaping ([NSItemProvider]) -> Void) -> some View | |
public func onPasteCommand<Payload>(of supportedTypes: [String], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ShadowEffect : EnvironmentalModifier, Equatable { | |
public var color: Color | |
public var radius: CGFloat | |
public var offset: CGSize | |
@inlinable public init(color: Color, radius: CGFloat, offset: CGSize) { | |
self.color = color | |
self.radius = radius | |
self.offset = offset | |
} | |
public func resolve(in environment: EnvironmentValues) -> _ShadowEffect._Resolved | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static var _requiresMainThread: Bool { | |
get | |
} | |
@usableFromInline | |
internal var _requiresMainThread: Bool { | |
get | |
} | |
public struct _Resolved { | |
public typealias AnimatableData = AnimatablePair<AnimatablePair<Float, AnimatablePair<Float, AnimatablePair<Float, Float>>>, AnimatablePair<CGFloat, CGSize.AnimatableData>> | |
public var animatableData: _ShadowEffect._Resolved.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = Never | |
} | |
public static func == (a: _ShadowEffect, b: _ShadowEffect) -> Bool | |
public typealias Body = Never | |
public typealias ResolvedModifier = _ShadowEffect._Resolved | |
} | |
@available(*, unavailable) | |
extension _ShadowEffect : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ShadowEffect._Resolved : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some View { | |
return modifier( | |
_ShadowEffect( | |
color: color, | |
radius: radius, | |
offset: CGSize(width: x, height: y) | |
)) | |
} | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func searchSuggestions<S>(@ViewBuilder _ suggestions: () -> S) -> some View where S : View | |
} | |
extension View { | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(tvOS, introduced: 15.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(watchOS, introduced: 8.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
public func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder suggestions: () -> S) -> some View where S : View | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(tvOS, introduced: 15.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(watchOS, introduced: 8.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
public func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder suggestions: () -> S) -> some View where S : View | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(tvOS, introduced: 15.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@available(watchOS, introduced: 8.0, deprecated: 100000.0, message: "Use the searchable modifier with the searchSuggestions modifier") | |
@_disfavoredOverload public func searchable<V, S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder suggestions: () -> V) -> some View where V : View, S : StringProtocol | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
extension View { | |
public func tabItem<V>(@ViewBuilder _ label: () -> V) -> some View where V : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ProjectionTransform { | |
public var m11: CGFloat = 1.0, m12: CGFloat = 0.0, m13: CGFloat = 0.0 | |
public var m21: CGFloat = 0.0, m22: CGFloat = 1.0, m23: CGFloat = 0.0 | |
public var m31: CGFloat = 0.0, m32: CGFloat = 0.0, m33: CGFloat = 1.0 | |
@inlinable public init() {} | |
@inlinable public init(_ m: CGAffineTransform) { | |
m11 = m.a | |
m12 = m.b | |
m21 = m.c | |
m22 = m.d | |
m31 = m.tx | |
m32 = m.ty | |
} | |
@inlinable public init(_ m: QuartzCore.CATransform3D) { | |
m11 = m.m11 | |
m12 = m.m12 | |
m13 = m.m14 | |
m21 = m.m21 | |
m22 = m.m22 | |
m23 = m.m24 | |
m31 = m.m41 | |
m32 = m.m42 | |
m33 = m.m44 | |
} | |
@inlinable public var isIdentity: Bool { | |
get { | |
return self == ProjectionTransform() | |
} | |
} | |
@inlinable public var isAffine: Bool { | |
get { | |
return m13 == 0 && m23 == 0 && m33 == 1 | |
} | |
} | |
public mutating func invert() -> Bool | |
public func inverted() -> ProjectionTransform | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ProjectionTransform : Equatable { | |
public static func == (a: ProjectionTransform, b: ProjectionTransform) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ProjectionTransform { | |
@inline(__always) @inlinable internal func dot(_ a: (CGFloat, CGFloat, CGFloat), _ b: (CGFloat, CGFloat, CGFloat)) -> CGFloat { | |
return a.0 * b.0 + a.1 * b.1 + a.2 * b.2 | |
} | |
@inlinable public func concatenating(_ rhs: ProjectionTransform) -> ProjectionTransform { | |
var m = ProjectionTransform() | |
m.m11 = dot((m11, m12, m13), (rhs.m11, rhs.m21, rhs.m31)) | |
m.m12 = dot((m11, m12, m13), (rhs.m12, rhs.m22, rhs.m32)) | |
m.m13 = dot((m11, m12, m13), (rhs.m13, rhs.m23, rhs.m33)) | |
m.m21 = dot((m21, m22, m23), (rhs.m11, rhs.m21, rhs.m31)) | |
m.m22 = dot((m21, m22, m23), (rhs.m12, rhs.m22, rhs.m32)) | |
m.m23 = dot((m21, m22, m23), (rhs.m13, rhs.m23, rhs.m33)) | |
m.m31 = dot((m31, m32, m33), (rhs.m11, rhs.m21, rhs.m31)) | |
m.m32 = dot((m31, m32, m33), (rhs.m12, rhs.m22, rhs.m32)) | |
m.m33 = dot((m31, m32, m33), (rhs.m13, rhs.m23, rhs.m33)) | |
return m | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension CGPoint { | |
public func applying(_ m: ProjectionTransform) -> CGPoint | |
} | |
#if compiler(>=5.3) && $PrimaryAssociatedTypes2 | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol ShapeView<Content> : View { | |
associatedtype Content : Shape | |
var shape: Self.Content { get } | |
} | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol ShapeView : View { | |
associatedtype Content : Shape | |
var shape: Self.Content { get } | |
} | |
#endif | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Shape { | |
@_alwaysEmitIntoClient public func fill<S>(_ content: S = .foreground, style: FillStyle = FillStyle()) -> _ShapeView<Self, S> where S : ShapeStyle { | |
_ShapeView(shape: self, style: content, fillStyle: style) | |
} | |
@_alwaysEmitIntoClient public func stroke<S>(_ content: S, style: StrokeStyle, antialiased: Bool = true) -> StrokeShapeView<Self, S, EmptyView> where S : ShapeStyle { | |
StrokeShapeView( | |
shape: self, style: content, strokeStyle: style, | |
isAntialiased: antialiased, background: EmptyView()) | |
} | |
@_alwaysEmitIntoClient public func stroke<S>(_ content: S, lineWidth: CGFloat = 1, antialiased: Bool = true) -> StrokeShapeView<Self, S, EmptyView> where S : ShapeStyle { | |
stroke( | |
content, style: StrokeStyle(lineWidth: lineWidth), | |
antialiased: antialiased) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension InsettableShape { | |
@_alwaysEmitIntoClient public func strokeBorder<S>(_ content: S = .foreground, style: StrokeStyle, antialiased: Bool = true) -> StrokeBorderShapeView<Self, S, EmptyView> where S : ShapeStyle { | |
StrokeBorderShapeView( | |
shape: self, style: content, strokeStyle: style, | |
isAntialiased: antialiased, background: EmptyView()) | |
} | |
@_alwaysEmitIntoClient public func strokeBorder<S>(_ content: S = .foreground, lineWidth: CGFloat = 1, antialiased: Bool = true) -> StrokeBorderShapeView<Self, S, EmptyView> where S : ShapeStyle { | |
strokeBorder(content, style: StrokeStyle(lineWidth: lineWidth), | |
antialiased: antialiased) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension _ShapeView : ShapeView { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct FillShapeView<Content, Style, Background> : ShapeView where Content : Shape, Style : ShapeStyle, Background : View { | |
@usableFromInline | |
internal typealias ViewType = ModifiedContent<_ShapeView<Content, Style>, _BackgroundModifier<Background>> | |
@usableFromInline | |
internal var view: FillShapeView<Content, Style, Background>.ViewType | |
@_alwaysEmitIntoClient public var shape: Content { | |
get { view.content.shape } | |
set { view.content.shape = newValue } | |
} | |
@_alwaysEmitIntoClient public var style: Style { | |
get { view.content.style } | |
set { view.content.style = newValue } | |
} | |
@_alwaysEmitIntoClient public var fillStyle: FillStyle { | |
get { view.content.fillStyle } | |
set { view.content.fillStyle = newValue } | |
} | |
@_alwaysEmitIntoClient public var background: Background { | |
get { view.modifier.background } | |
set { view.modifier.background = newValue } | |
} | |
@_alwaysEmitIntoClient public init(shape: Content, style: Style, fillStyle: FillStyle, background: Background) { | |
view = .init(content: _ShapeView( | |
shape: shape, style: style, fillStyle: fillStyle), | |
modifier: .init(background: background)) | |
} | |
public static func _makeView(view: _GraphValue<FillShapeView<Content, Style, Background>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension FillShapeView : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct StrokeShapeView<Content, Style, Background> : ShapeView where Content : Shape, Style : ShapeStyle, Background : View { | |
@usableFromInline | |
internal typealias ViewType = ModifiedContent<_ShapeView<_StrokedShape<Content>, Style>, _BackgroundModifier<Background>> | |
@usableFromInline | |
internal var view: StrokeShapeView<Content, Style, Background>.ViewType | |
@_alwaysEmitIntoClient public var shape: Content { | |
get { view.content.shape.shape } | |
set { view.content.shape.shape = newValue } | |
} | |
@_alwaysEmitIntoClient public var style: Style { | |
get { view.content.style } | |
set { view.content.style = newValue } | |
} | |
@_alwaysEmitIntoClient public var strokeStyle: StrokeStyle { | |
get { view.content.shape.style } | |
set { view.content.shape.style = newValue } | |
} | |
@_alwaysEmitIntoClient public var isAntialiased: Bool { | |
get { view.content.fillStyle.isAntialiased } | |
set { view.content.fillStyle.isAntialiased = newValue } | |
} | |
@_alwaysEmitIntoClient public var background: Background { | |
get { view.modifier.background } | |
set { view.modifier.background = newValue } | |
} | |
@_alwaysEmitIntoClient public init(shape: Content, style: Style, strokeStyle: StrokeStyle, isAntialiased: Bool, background: Background) { | |
view = .init(content: _ShapeView( | |
shape: _StrokedShape(shape: shape, style: strokeStyle), | |
style: style, fillStyle: .init(antialiased: isAntialiased)), | |
modifier: .init(background: background)) | |
} | |
public static func _makeView(view: _GraphValue<StrokeShapeView<Content, Style, Background>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension StrokeShapeView : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct StrokeBorderShapeView<Content, Style, Background> : ShapeView where Content : InsettableShape, Style : ShapeStyle, Background : View { | |
@usableFromInline | |
internal typealias ViewType = ModifiedContent<_ShapeView<_StrokedShape<Content.InsetShape>, Style>, _BackgroundModifier<Background>> | |
public var shape: Content | |
@usableFromInline | |
internal var view: StrokeBorderShapeView<Content, Style, Background>.ViewType | |
@_alwaysEmitIntoClient public var style: Style { | |
get { view.content.style } | |
set { view.content.style = newValue } | |
} | |
@_alwaysEmitIntoClient public var strokeStyle: StrokeStyle { | |
get { view.content.shape.style } | |
set { view.content.shape.style = newValue } | |
} | |
@_alwaysEmitIntoClient public var isAntialiased: Bool { | |
get { view.content.fillStyle.isAntialiased } | |
set { view.content.fillStyle.isAntialiased = newValue } | |
} | |
@_alwaysEmitIntoClient public var background: Background { | |
get { view.modifier.background } | |
set { view.modifier.background = newValue } | |
} | |
@_alwaysEmitIntoClient public init(shape: Content, style: Style, strokeStyle: StrokeStyle, isAntialiased: Bool, background: Background) { | |
self.shape = shape | |
view = .init(content: _ShapeView( | |
shape: _StrokedShape( | |
shape: shape.inset(by: strokeStyle.lineWidth * 0.5), | |
style: strokeStyle), | |
style: style, fillStyle: .init(antialiased: isAntialiased)), | |
modifier: .init(background: background)) | |
} | |
public static func _makeView(view: _GraphValue<StrokeBorderShapeView<Content, Style, Background>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension StrokeBorderShapeView : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeView { | |
@_alwaysEmitIntoClient public func fill<S>(_ content: S = .foreground, style: FillStyle = FillStyle()) -> FillShapeView<Self.Content, S, Self> where S : ShapeStyle { | |
FillShapeView( | |
shape: shape, style: content, fillStyle: style, background: self) | |
} | |
@_alwaysEmitIntoClient public func stroke<S>(_ content: S, style: StrokeStyle, antialiased: Bool = true) -> StrokeShapeView<Self.Content, S, Self> where S : ShapeStyle { | |
StrokeShapeView( | |
shape: shape, style: content, strokeStyle: style, | |
isAntialiased: antialiased, background: self) | |
} | |
@_alwaysEmitIntoClient public func stroke<S>(_ content: S, lineWidth: CGFloat = 1, antialiased: Bool = true) -> StrokeShapeView<Self.Content, S, Self> where S : ShapeStyle { | |
stroke( | |
content, style: StrokeStyle(lineWidth: lineWidth), | |
antialiased: antialiased) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeView where Self.Content : InsettableShape { | |
@_alwaysEmitIntoClient public func strokeBorder<S>(_ content: S = .foreground, style: StrokeStyle, antialiased: Bool = true) -> StrokeBorderShapeView<Self.Content, S, Self> where S : ShapeStyle { | |
StrokeBorderShapeView( | |
shape: shape, style: content, strokeStyle: style, | |
isAntialiased: antialiased, background: self) | |
} | |
@_alwaysEmitIntoClient public func strokeBorder<S>(_ content: S = .foreground, lineWidth: CGFloat = 1, antialiased: Bool = true) -> StrokeBorderShapeView<Self.Content, S, Self> where S : ShapeStyle { | |
strokeBorder(content, style: StrokeStyle(lineWidth: lineWidth), | |
antialiased: antialiased) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal struct KeyboardShortcutPickerOptionTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: KeyboardShortcut? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = KeyboardShortcut? | |
} | |
@available(*, unavailable) | |
extension KeyboardShortcutPickerOptionTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public enum Edge : Int8, CaseIterable { | |
case top, leading, bottom, trailing | |
@frozen public struct Set : OptionSet { | |
public typealias Element = Edge.Set | |
public let rawValue: Int8 | |
public init(rawValue: Int8) | |
public static let top: Edge.Set | |
public static let leading: Edge.Set | |
public static let bottom: Edge.Set | |
public static let trailing: Edge.Set | |
public static let all: Edge.Set | |
public static let horizontal: Edge.Set | |
public static let vertical: Edge.Set | |
public init(_ e: Edge) | |
public typealias ArrayLiteralElement = Edge.Set.Element | |
public typealias RawValue = Int8 | |
} | |
public init?(rawValue: Int8) | |
public typealias AllCases = [Edge] | |
public typealias RawValue = Int8 | |
public static var allCases: [Edge] { | |
get | |
} | |
public var rawValue: Int8 { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Edge { | |
@_alwaysEmitIntoClient internal init(vertical edge: VerticalEdge) { | |
self = Edge(rawValue: edge.rawValue << 1).unsafelyUnwrapped | |
} | |
@_alwaysEmitIntoClient internal init(horizontal edge: HorizontalEdge) { | |
self = Edge(rawValue: 1 &+ (edge.rawValue << 1)).unsafelyUnwrapped | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum HorizontalEdge : Int8, CaseIterable, Codable { | |
case leading | |
case trailing | |
@frozen public struct Set : OptionSet { | |
public typealias Element = HorizontalEdge.Set | |
public let rawValue: Int8 | |
public init(rawValue: Int8) | |
public static let leading: HorizontalEdge.Set | |
public static let trailing: HorizontalEdge.Set | |
public static let all: HorizontalEdge.Set | |
public init(_ edge: HorizontalEdge) | |
public typealias ArrayLiteralElement = HorizontalEdge.Set.Element | |
public typealias RawValue = Int8 | |
} | |
public init?(rawValue: Int8) | |
public typealias AllCases = [HorizontalEdge] | |
public typealias RawValue = Int8 | |
public static var allCases: [HorizontalEdge] { | |
get | |
} | |
public var rawValue: Int8 { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum VerticalEdge : Int8, CaseIterable, Codable { | |
case top | |
case bottom | |
@frozen public struct Set : OptionSet { | |
public typealias Element = VerticalEdge.Set | |
public let rawValue: Int8 | |
public init(rawValue: Int8) | |
public static let top: VerticalEdge.Set | |
public static let bottom: VerticalEdge.Set | |
public static let all: VerticalEdge.Set | |
public init(_ e: VerticalEdge) | |
public typealias ArrayLiteralElement = VerticalEdge.Set.Element | |
public typealias RawValue = Int8 | |
} | |
public init?(rawValue: Int8) | |
public typealias AllCases = [VerticalEdge] | |
public typealias RawValue = Int8 | |
public static var allCases: [VerticalEdge] { | |
get | |
} | |
public var rawValue: Int8 { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func anchorPreference<A, K>(key _: K.Type = K.self, value: Anchor<A>.Source, transform: @escaping (Anchor<A>) -> K.Value) -> some View where K : PreferenceKey { | |
return modifier(_AnchorWritingModifier<A, K>( | |
anchor: value, transform: transform)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AnchorWritingModifier<AnchorValue, Key> : ViewModifier where Key : PreferenceKey { | |
public var anchor: Anchor<AnchorValue>.Source | |
public var transform: (Anchor<AnchorValue>) -> Key.Value | |
@inlinable public init(anchor: Anchor<AnchorValue>.Source, transform: @escaping (Anchor<AnchorValue>) -> Key.Value) { | |
self.anchor = anchor | |
self.transform = transform | |
} | |
public static func _makeView(modifier: _GraphValue<_AnchorWritingModifier<AnchorValue, Key>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _AnchorWritingModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct OnMoveTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Optional<(IndexSet, Int) -> Void> { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Optional<(IndexSet, Int) -> Void> | |
} | |
@available(*, unavailable) | |
extension OnMoveTraitKey : Sendable { | |
} | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct OnMoveClipBackgroundTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension OnMoveClipBackgroundTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension DynamicViewContent { | |
@inlinable public func onMove(perform action: Optional<(IndexSet, Int) -> Void>) -> some DynamicViewContent { | |
modifier(_TraitWritingModifier<OnMoveTraitKey>(value: action)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsMoveDisabledTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsMoveDisabledTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func moveDisabled(_ isDisabled: Bool) -> some View { | |
return _trait(IsMoveDisabledTraitKey.self, isDisabled) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Group<Content> { | |
public typealias Body = Never | |
@usableFromInline | |
internal var content: Content | |
} | |
@available(*, unavailable) | |
extension Group : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Group : View where Content : View { | |
@inlinable public init(@ViewBuilder content: () -> Content) { | |
self.content = content() | |
} | |
public static func _makeViewList(view: _GraphValue<Group<Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct DepthTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Int { | |
get { 0 } | |
} | |
@usableFromInline | |
internal typealias Value = Int | |
} | |
@available(*, unavailable) | |
extension DepthTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsSectionedTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsSectionedTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsEmptyViewTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsEmptyViewTraitKey : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal struct IsSectionHeaderTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsSectionHeaderTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsSectionFooterTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsSectionFooterTraitKey : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension View { | |
public func scrollContentBackground(_ visibility: Visibility) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public protocol WidgetBundle { | |
associatedtype Body : Widget | |
init() | |
@WidgetBundleBuilder var body: Self.Body { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PickerStyle where Self == DefaultPickerStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultPickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct DefaultPickerStyle : PickerStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<DefaultPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<DefaultPickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension DefaultPickerStyle : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DismissImmersiveSpaceAction { | |
#if compiler(>=5.3) && $AsyncAwait | |
@MainActor public func callAsFunction() async | |
#endif | |
} | |
@available(*, unavailable) | |
extension DismissImmersiveSpaceAction : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var dismissImmersiveSpace: DismissImmersiveSpaceAction { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol _TableRowContentModifier { | |
associatedtype Body : _TableRowContentModifier | |
var body: Self.Body { get } | |
static func _makeRows(modifier: _GraphValue<Self>, inputs: _TableRowInputs, body: @escaping (_Graph, _TableRowInputs) -> _TableRowOutputs) -> _TableRowOutputs | |
static func _tableRowCount(inputs: _TableRowInputs, body: @escaping (_TableRowInputs) -> Int?) -> Int? | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension _TableRowContentModifier { | |
public static func _makeRows(modifier: _GraphValue<Self>, inputs: _TableRowInputs, body: @escaping (_Graph, _TableRowInputs) -> _TableRowOutputs) -> _TableRowOutputs | |
public static func _tableRowCount(inputs: _TableRowInputs, body: @escaping (_TableRowInputs) -> Int?) -> Int? | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Never : _TableRowContentModifier { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ModifiedContent : TableRowContent where Content : TableRowContent, Modifier : _TableRowContentModifier { | |
public typealias TableRowValue = Content.TableRowValue | |
public typealias TableRowBody = Never | |
public static func _makeRows(content: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _TableRowInputs) -> _TableRowOutputs | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
public var tableRowBody: Never { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ModifiedContent : DynamicTableRowContent where Content : DynamicTableRowContent, Modifier : _TableRowContentModifier { | |
public var data: Content.Data { | |
get | |
} | |
public typealias Data = Content.Data | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol UIViewControllerRepresentable : View where Self.Body == Never { | |
associatedtype UIViewControllerType : UIViewController | |
@MainActor(unsafe) func makeUIViewController(context: Self.Context) -> Self.UIViewControllerType | |
@MainActor(unsafe) func updateUIViewController(_ uiViewController: Self.UIViewControllerType, context: Self.Context) | |
@MainActor(unsafe) static func dismantleUIViewController(_ uiViewController: Self.UIViewControllerType, coordinator: Self.Coordinator) | |
associatedtype Coordinator = Void | |
@MainActor(unsafe) func makeCoordinator() -> Self.Coordinator | |
@available(iOS 16.0, tvOS 16.0, *) | |
@MainActor(unsafe) func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize? | |
@MainActor(unsafe) func _identifiedViewTree(in uiViewController: Self.UIViewControllerType) -> _IdentifiedViewTree | |
@available(iOS 17.0, tvOS 17.0, *) | |
@MainActor(unsafe) static func _layoutOptions(_ provider: Self.UIViewControllerType) -> Self.LayoutOptions | |
typealias Context = UIViewControllerRepresentableContext<Self> | |
@available(iOS 17.0, tvOS 17.0, *) | |
typealias LayoutOptions = _PlatformViewRepresentableLayoutOptions | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
extension UIViewControllerRepresentable where Self.Coordinator == () { | |
public func makeCoordinator() -> Self.Coordinator | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
extension UIViewControllerRepresentable { | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
public func _resetUIViewController(_ uiViewController: Self.UIViewControllerType, coordinator: Self.Coordinator, destroy: () -> Void) | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, *) | |
public func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize? | |
public static func dismantleUIViewController(_ uiViewController: Self.UIViewControllerType, coordinator: Self.Coordinator) | |
public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<Self>, inputs: _ViewListInputs) -> _ViewListOutputs | |
public func _identifiedViewTree(in uiViewController: Self.UIViewControllerType) -> _IdentifiedViewTree | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) | |
public static func _layoutOptions(_ provider: Self.UIViewControllerType) -> Self.LayoutOptions | |
public var body: Never { | |
get | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public struct UIViewControllerRepresentableContext<Representable> where Representable : UIViewControllerRepresentable { | |
@MainActor(unsafe) public let coordinator: Representable.Coordinator | |
@MainActor(unsafe) public var transaction: Transaction { | |
get | |
} | |
@MainActor(unsafe) public var environment: EnvironmentValues { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct Section<Parent, Content, Footer> { | |
} | |
@available(*, unavailable) | |
extension Section : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section : View where Parent : View, Content : View, Footer : View { | |
public typealias Body = Never | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent : View, Content : View, Footer : View { | |
@_alwaysEmitIntoClient public init(@ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent, @ViewBuilder footer: () -> Footer) { | |
self.init(header: header(), footer: footer(), content: content) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent == EmptyView, Content : View, Footer : View { | |
@_alwaysEmitIntoClient public init(@ViewBuilder content: () -> Content, @ViewBuilder footer: () -> Footer) { | |
self.init(footer: footer(), content: content) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent : View, Content : View, Footer == EmptyView { | |
@_alwaysEmitIntoClient public init(@ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent) { | |
self.init(header: header(), content: content) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent == EmptyView, Content : View, Footer == EmptyView { | |
public init(@ViewBuilder content: () -> Content) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Section where Parent == Text, Content : View, Footer == EmptyView { | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, visionOS 1.0, *) | |
extension Section where Parent == Text, Content : View, Footer == EmptyView { | |
public init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, isExpanded: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsCollapsibleTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { true } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsCollapsibleTraitKey : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, visionOS 1.0, *) | |
extension Section where Parent : View, Content : View, Footer == EmptyView { | |
public init(isExpanded: Binding<Bool>, @ViewBuilder content: () -> Content, @ViewBuilder header: () -> Parent) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent : View, Content : View, Footer : View { | |
@available(iOS, deprecated: 100000.0, renamed: "Section(content:header:footer:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Section(content:header:footer:)") | |
@available(tvOS, deprecated: 100000.0, renamed: "Section(content:header:footer:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Section(content:header:footer:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Section(content:header:footer:)") | |
public init(header: Parent, footer: Footer, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent == EmptyView, Content : View, Footer : View { | |
@available(iOS, deprecated: 100000.0, renamed: "Section(content:footer:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Section(content:footer:)") | |
@available(tvOS, deprecated: 100000.0, renamed: "Section(content:footer:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Section(content:footer:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Section(content:footer:)") | |
public init(footer: Footer, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Section where Parent : View, Content : View, Footer == EmptyView { | |
@available(iOS, deprecated: 100000.0, renamed: "Section(content:header:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Section(content:header:)") | |
@available(tvOS, deprecated: 100000.0, renamed: "Section(content:header:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Section(content:header:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Section(content:header:)") | |
public init(header: Parent, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct NavigationLink<Label, Destination> : View where Label : View, Destination : View { | |
@_alwaysEmitIntoClient public init(@ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label) { | |
self.init(destination: destination(), label: label) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_alwaysEmitIntoClient public init(isActive: Binding<Bool>, @ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label) { | |
self.init(destination: destination(), isActive: isActive, label: label) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_alwaysEmitIntoClient public init<V>(tag: V, selection: Binding<V?>, @ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label) where V : Hashable { | |
self.init( | |
destination: destination(), | |
tag: tag, | |
selection: selection, | |
label: label) | |
} | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
public init(destination: Destination, @ViewBuilder label: () -> Label) | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
public init(destination: Destination, isActive: Binding<Bool>, @ViewBuilder label: () -> Label) | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
public init<V>(destination: Destination, tag: V, selection: Binding<V?>, @ViewBuilder label: () -> Label) where V : Hashable | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI14NavigationLinkV4bodyQrvp", 0) __<Label, Destination> | |
} | |
@available(*, unavailable) | |
extension NavigationLink : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension NavigationLink where Label == Text { | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, @ViewBuilder destination: () -> Destination) { | |
self.init(titleKey, destination: destination()) | |
} | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S>(_ title: S, @ViewBuilder destination: () -> Destination) where S : StringProtocol { | |
self.init(title, destination: destination()) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, isActive: Binding<Bool>, @ViewBuilder destination: () -> Destination) { | |
self.init(titleKey, destination: destination(), isActive: isActive) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S>(_ title: S, isActive: Binding<Bool>, @ViewBuilder destination: () -> Destination) where S : StringProtocol { | |
self.init(title, destination: destination(), isActive: isActive) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_alwaysEmitIntoClient public init<V>(_ titleKey: LocalizedStringKey, tag: V, selection: Binding<V?>, @ViewBuilder destination: () -> Destination) where V : Hashable { | |
self.init( | |
titleKey, | |
destination: destination(), | |
tag: tag, selection: selection) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<S, V>(_ title: S, tag: V, selection: Binding<V?>, @ViewBuilder destination: () -> Destination) where S : StringProtocol, V : Hashable { | |
self.init( | |
title, | |
destination: destination(), | |
tag: tag, selection: selection) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
public init(_ titleKey: LocalizedStringKey, destination: Destination) | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Pass a closure as the destination") | |
@_disfavoredOverload public init<S>(_ title: S, destination: Destination) where S : StringProtocol | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
public init(_ titleKey: LocalizedStringKey, destination: Destination, isActive: Binding<Bool>) | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_disfavoredOverload public init<S>(_ title: S, destination: Destination, isActive: Binding<Bool>) where S : StringProtocol | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
public init<V>(_ titleKey: LocalizedStringKey, destination: Destination, tag: V, selection: Binding<V?>) where V : Hashable | |
@available(iOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(macOS, introduced: 10.15, deprecated: 13.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(tvOS, introduced: 13.0, deprecated: 16.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(watchOS, introduced: 6.0, deprecated: 9.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@available(visionOS, introduced: 1.0, deprecated: 1.0, message: "use NavigationLink(value:label:), or navigationDestination(isPresented:destination:), inside a NavigationStack or NavigationSplitView") | |
@_disfavoredOverload public init<S, V>(_ title: S, destination: Destination, tag: V, selection: Binding<V?>) where S : StringProtocol, V : Hashable | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension NavigationLink where Destination == _WKStoryboardContent { | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use NavigationLink(value:label:)") | |
public init(destinationName: String, @ViewBuilder label: () -> Label) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use NavigationLink(value:label:)") | |
public init(destinationName: String, isActive: Binding<Bool>, @ViewBuilder label: () -> Label) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use NavigationLink(value:label:)") | |
public init<V>(destinationName: String, tag: V, selection: Binding<V?>, @ViewBuilder label: () -> Label) where V : Hashable | |
} | |
@available(iOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension NavigationLink { | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func isDetailLink(_ isDetailLink: Bool) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _Test { | |
func setUpTest() | |
func tearDownTest() | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
func tearDownTestWithError() throws | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Test { | |
public func setUpTest() | |
public func tearDownTest() | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public func tearDownTestWithError() throws | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _Rotation3DEffect : GeometryEffect, Equatable { | |
public var angle: Angle | |
public var axis: (x: CGFloat, y: CGFloat, z: CGFloat) | |
public var anchor: UnitPoint | |
public var anchorZ: CGFloat | |
public var perspective: CGFloat | |
@_alwaysEmitIntoClient public init(angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) { | |
self.angle = angle | |
self.axis = axis | |
self.anchor = anchor | |
self.anchorZ = anchorZ | |
self.perspective = perspective | |
} | |
public func effectValue(size: CGSize) -> ProjectionTransform | |
public typealias AnimatableData = AnimatablePair<Angle.AnimatableData, AnimatablePair<CGFloat, AnimatablePair<CGFloat, AnimatablePair<CGFloat, AnimatablePair<UnitPoint.AnimatableData, AnimatablePair<CGFloat, CGFloat>>>>>> | |
public var animatableData: _Rotation3DEffect.AnimatableData { | |
get | |
set | |
} | |
public static func == (lhs: _Rotation3DEffect, rhs: _Rotation3DEffect) -> Bool | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func rotation3DEffect(_ angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) -> some View { | |
return modifier(_Rotation3DEffect( | |
angle: angle, axis: axis, anchor: anchor, anchorZ: anchorZ, | |
perspective: perspective | |
)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func rotation3DEffect(_ angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) -> some VisualEffect | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct ViewThatFits<Content> : View where Content : View { | |
@usableFromInline | |
internal var _tree: _VariadicView.Tree<_SizeFittingRoot, Content> | |
@inlinable public init(in axes: Axis.Set = [.horizontal, .vertical], @ViewBuilder content: () -> Content) { | |
_tree = .init(root: _SizeFittingRoot(axes: axes), content: content()) | |
} | |
public static func _makeView(view: _GraphValue<ViewThatFits<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension ViewThatFits : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _SizeFittingRoot : _VariadicView.UnaryViewRoot { | |
@usableFromInline | |
internal var axes: Axis.Set | |
@inlinable internal init(axes: Axis.Set) { self.axes = axes } | |
public static func _makeView(root: _GraphValue<_SizeFittingRoot>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func layoutPriority(_ value: Double) -> some View { | |
return _trait(LayoutPriorityTraitKey.self, value) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct LayoutPriorityTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Double { | |
get { 0.0 } | |
} | |
@usableFromInline | |
internal typealias Value = Double | |
} | |
@available(*, unavailable) | |
extension LayoutPriorityTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _ScrollableContentProvider { | |
associatedtype ScrollableContent : View | |
var scrollableContent: Self.ScrollableContent { get } | |
associatedtype Root : View | |
func root(scrollView: _ScrollView<Self>.Main) -> Self.Root | |
func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ScrollableContentProvider { | |
public func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _ScrollViewGestureProvider { | |
func scrollableDirections(proxy: _ScrollViewProxy) -> _EventDirections | |
func gestureMask(proxy: _ScrollViewProxy) -> GestureMask | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ScrollViewGestureProvider { | |
public func defaultScrollableDirections(proxy: _ScrollViewProxy) -> _EventDirections | |
public func defaultGestureMask(proxy: _ScrollViewProxy) -> GestureMask | |
public func scrollableDirections(proxy: _ScrollViewProxy) -> _EventDirections | |
public func gestureMask(proxy: _ScrollViewProxy) -> GestureMask | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ScrollLayout : Equatable { | |
public var contentOffset: CGPoint | |
public var size: CGSize | |
public var visibleRect: CGRect | |
public init(contentOffset: CGPoint, size: CGSize, visibleRect: CGRect) | |
public static func == (a: _ScrollLayout, b: _ScrollLayout) -> Bool | |
} | |
@available(*, unavailable) | |
extension _ScrollLayout : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ScrollViewConfig { | |
public static let decelerationRateNormal: Double | |
public static let decelerationRateFast: Double | |
public enum ContentOffset { | |
case initially(CGPoint) | |
case binding(Binding<CGPoint>) | |
} | |
public var contentOffset: _ScrollViewConfig.ContentOffset | |
public var contentInsets: EdgeInsets | |
public var decelerationRate: Double | |
public var alwaysBounceVertical: Bool | |
public var alwaysBounceHorizontal: Bool | |
public var gestureProvider: any _ScrollViewGestureProvider | |
public var stopDraggingImmediately: Bool | |
public var isScrollEnabled: Bool | |
public var showsHorizontalIndicator: Bool | |
public var showsVerticalIndicator: Bool | |
public var indicatorInsets: EdgeInsets | |
public init() | |
} | |
@available(*, unavailable) | |
extension _ScrollViewConfig.ContentOffset : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ScrollViewConfig : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ScrollView<Provider> : View where Provider : _ScrollableContentProvider { | |
public var contentProvider: Provider | |
public var config: _ScrollViewConfig | |
public init(contentProvider: Provider, config: _ScrollViewConfig = _ScrollViewConfig()) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public struct Main : View { | |
public typealias Body = Never | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11_ScrollViewV4bodyQrvp", 0) __<Provider> | |
} | |
@available(*, unavailable) | |
extension _ScrollView.Main : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ScrollView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func _scrollable(stretchChildrenToMaxHeight: Bool = false, horizontal: TextAlignment? = .center, vertical: _VAlignment? = .center) -> _ScrollView<_AligningContentProvider<Self>> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _AligningContentProvider<Content> : _ScrollableContentProvider where Content : View { | |
public var content: Content | |
public var horizontal: TextAlignment? | |
public var vertical: _VAlignment? | |
public init(content: Content, horizontal: TextAlignment? = nil, vertical: _VAlignment? = nil) | |
public var scrollableContent: ModifiedContent<Content, _AligningContentProvider<Content>.AligningContentProviderLayout> { | |
get | |
} | |
public struct AligningContentProviderLayout { | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
public typealias Root = _ScrollViewRoot<_AligningContentProvider<Content>> | |
public typealias ScrollableContent = ModifiedContent<Content, _AligningContentProvider<Content>.AligningContentProviderLayout> | |
} | |
@available(*, unavailable) | |
extension _AligningContentProvider.AligningContentProviderLayout : Sendable { | |
} | |
@available(*, unavailable) | |
extension _AligningContentProvider : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct Link<Label> : View where Label : View { | |
public init(destination: URL, @ViewBuilder label: () -> Label) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI4LinkV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension Link : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Link where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, destination: URL) | |
@_disfavoredOverload public init<S>(_ title: S, destination: URL) where S : StringProtocol | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func inspector<V>(isPresented: Binding<Bool>, @ViewBuilder content: () -> V) -> some View where V : View | |
public func inspectorColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View | |
public func inspectorColumnWidth(_ width: CGFloat) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _PagingViewConfig : Equatable { | |
public enum Direction { | |
case vertical | |
case horizontal | |
public static func == (a: _PagingViewConfig.Direction, b: _PagingViewConfig.Direction) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public var direction: _PagingViewConfig.Direction | |
public var size: CGFloat? | |
public var margin: CGFloat | |
public var spacing: CGFloat | |
public var constrainedDeceleration: Bool | |
public init(direction: _PagingViewConfig.Direction = .horizontal, size: CGFloat? = nil, margin: CGFloat = 0, spacing: CGFloat = 0, constrainedDeceleration: Bool = true) | |
public static func == (a: _PagingViewConfig, b: _PagingViewConfig) -> Bool | |
} | |
@available(*, unavailable) | |
extension _PagingViewConfig.Direction : Sendable { | |
} | |
@available(*, unavailable) | |
extension _PagingViewConfig : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _PagingView<Views> : View where Views : RandomAccessCollection, Views.Element : View, Views.Index : Hashable { | |
public var views: Views | |
public var page: Binding<Views.Index>? | |
public var config: _PagingViewConfig | |
public var scrollViewConfig: _ScrollViewConfig | |
public init(config: _PagingViewConfig = _PagingViewConfig(), page: Binding<Views.Index>? = nil, views: Views) | |
public init(direction: _PagingViewConfig.Direction, page: Binding<Views.Index>? = nil, views: Views) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11_PagingViewV4bodyQrvp", 0) __<Views> | |
} | |
@available(*, unavailable) | |
extension _PagingView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public enum TemplateRenderingMode : Sendable { | |
case template | |
case original | |
public static func == (a: Image.TemplateRenderingMode, b: Image.TemplateRenderingMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(macOS 11.0, *) | |
public enum Scale : Sendable { | |
case small | |
case medium | |
case large | |
public static func == (a: Image.Scale, b: Image.Scale) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum UserInterfaceSizeClass : Sendable { | |
case compact | |
case regular | |
public static func == (a: UserInterfaceSizeClass, b: UserInterfaceSizeClass) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(macCatalyst 13.0, macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public enum ControlActiveState : Equatable, CaseIterable, Sendable { | |
case key | |
case active | |
case inactive | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: ControlActiveState, b: ControlActiveState) -> Bool | |
public typealias AllCases = [ControlActiveState] | |
public static var allCases: [ControlActiveState] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, deprecated, introduced: 6.0, renamed: "WatchDisplayVariant") | |
@available(visionOS, unavailable) | |
public enum _DeviceVariant : Equatable { | |
case compact | |
case regular | |
case h394 | |
case h448 | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: _DeviceVariant, b: _DeviceVariant) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension _DeviceVariant : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum LegibilityWeight : Hashable, Sendable { | |
case regular | |
case bold | |
public static func == (a: LegibilityWeight, b: LegibilityWeight) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(macOS 11.0, *) | |
@inlinable public func imageScale(_ scale: Image.Scale) -> some View { | |
return environment(\.imageScale, scale) | |
} | |
@inlinable public func font(_ font: Font?) -> some View { | |
return environment(\.font, font) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func monospacedDigit() -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func monospaced(_ isActive: Bool = true) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func fontWeight(_ weight: Font.Weight?) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func fontWidth(_ width: Font.Width?) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func bold(_ isActive: Bool = true) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func italic(_ isActive: Bool = true) -> some View | |
@available(iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1, *) | |
public func fontDesign(_ design: Font.Design?) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func kerning(_ kerning: CGFloat) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func tracking(_ tracking: CGFloat) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func baselineOffset(_ baselineOffset: CGFloat) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var font: Font? { | |
get | |
set | |
} | |
public var displayScale: CGFloat { | |
get | |
set | |
} | |
@available(macOS 11.0, *) | |
public var imageScale: Image.Scale { | |
get | |
set | |
} | |
public var pixelLength: CGFloat { | |
get | |
} | |
public var legibilityWeight: LegibilityWeight? { | |
get | |
set | |
} | |
public var locale: Locale { | |
get | |
set | |
} | |
public var calendar: Calendar { | |
get | |
set | |
} | |
public var timeZone: TimeZone { | |
get | |
set | |
} | |
} | |
extension EnvironmentValues { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@backDeployed(before: macOS 14.0, tvOS 17.0, watchOS 10.0) | |
public var horizontalSizeClass: UserInterfaceSizeClass? { | |
get | |
set | |
} | |
@available(iOS 13.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
internal var realHorizontalSizeClass: UserInterfaceSizeClass? { | |
get | |
set | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@backDeployed(before: macOS 14.0, tvOS 17.0, watchOS 10.0) | |
public var verticalSizeClass: UserInterfaceSizeClass? { | |
get | |
set | |
} | |
@available(iOS 13.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
internal var realVerticalSizeClass: UserInterfaceSizeClass? { | |
get | |
set | |
} | |
} | |
extension EnvironmentValues { | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public var controlActiveState: ControlActiveState { | |
get | |
set | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 11.0, deprecated: 12.0, message: "Use `backgroundMaterial` instead") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public var _useVibrantStyling: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 8.0, renamed: "watchDisplayVariant") | |
@available(visionOS, unavailable) | |
extension EnvironmentValues { | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public var _deviceVariant: _DeviceVariant { | |
get | |
set | |
} | |
} | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var isSceneCaptured: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ListStyle where Self == PlainListStyle { | |
@_alwaysEmitIntoClient public static var plain: PlainListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct PlainListStyle : ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<PlainListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<PlainListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension PlainListStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture { | |
@inlinable public func simultaneously<Other>(with other: Other) -> SimultaneousGesture<Self, Other> where Other : Gesture { | |
return SimultaneousGesture(self, other) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct SimultaneousGesture<First, Second> : Gesture where First : Gesture, Second : Gesture { | |
@frozen public struct Value { | |
public var first: First.Value? | |
public var second: Second.Value? | |
} | |
public var first: First | |
public var second: Second | |
@inlinable public init(_ first: First, _ second: Second) { | |
(self.first, self.second) = (first, second) | |
} | |
public static func _makeGesture(gesture: _GraphValue<SimultaneousGesture<First, Second>>, inputs: _GestureInputs) -> _GestureOutputs<SimultaneousGesture<First, Second>.Value> | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SimultaneousGesture.Value : Sendable where First.Value : Sendable, Second.Value : Sendable { | |
} | |
@available(*, unavailable) | |
extension SimultaneousGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SimultaneousGesture.Value : Equatable where First.Value : Equatable, Second.Value : Equatable { | |
public static func == (a: SimultaneousGesture<First, Second>.Value, b: SimultaneousGesture<First, Second>.Value) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SimultaneousGesture.Value : Hashable where First.Value : Hashable, Second.Value : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol ProgressViewStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = ProgressViewStyleConfiguration | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ProgressViewStyleConfiguration { | |
public struct Label : View { | |
public typealias Body = Never | |
} | |
public struct CurrentValueLabel : View { | |
public typealias Body = Never | |
} | |
public let fractionCompleted: Double? | |
public var label: ProgressViewStyleConfiguration.Label? | |
public var currentValueLabel: ProgressViewStyleConfiguration.CurrentValueLabel? | |
} | |
@available(*, unavailable) | |
extension ProgressViewStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension ProgressViewStyleConfiguration.CurrentValueLabel : Sendable { | |
} | |
@available(*, unavailable) | |
extension ProgressViewStyleConfiguration.Label : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func progressViewStyle<S>(_ style: S) -> some View where S : ProgressViewStyle | |
} | |
extension Text { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public init(_ image: Image) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension LocalizedStringKey.StringInterpolation { | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation(_ image: Image) | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C>(text: Binding<String>, editableTokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (Binding<C.Element>) -> some View) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, C.Element : Identifiable | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C>(text: Binding<String>, editableTokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (Binding<C.Element>) -> some View) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, C.Element : Identifiable | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<C, T, S>(text: Binding<String>, tokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, S : StringProtocol, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<C>(text: Binding<String>, editableTokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: some StringProtocol, @ViewBuilder token: @escaping (Binding<C.Element>) -> some View) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, C.Element : Identifiable | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C>(text: Binding<String>, editableTokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (Binding<C.Element>) -> some View) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C>(text: Binding<String>, editableTokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (Binding<C.Element>) -> some View) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<C, T, S>(text: Binding<String>, tokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, S : StringProtocol, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<C>(text: Binding<String>, editableTokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: some StringProtocol, @ViewBuilder token: @escaping (Binding<C.Element>) -> some View) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, C.Element : Identifiable | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, suggestedTokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : MutableCollection, C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, suggestedTokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : MutableCollection, C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<C, T, S>(text: Binding<String>, tokens: Binding<C>, suggestedTokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : MutableCollection, C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, S : StringProtocol, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, suggestedTokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchable<C, T>(text: Binding<String>, tokens: Binding<C>, suggestedTokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, C.Element : Identifiable | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func searchable<C, T, S>(text: Binding<String>, tokens: Binding<C>, suggestedTokens: Binding<C>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T) -> some View where C : MutableCollection, C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, S : StringProtocol, C.Element : Identifiable | |
} | |
extension View { | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal func searchable<C, T, S>(text: Binding<String>, tokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder suggestions: () -> S) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, S : View, C.Element : Identifiable | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal func searchable<C, T, S>(text: Binding<String>, tokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder suggestions: () -> S) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, S : View, C.Element : Identifiable | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload internal func searchable<C, T, V, S>(text: Binding<String>, tokens: Binding<C>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder suggestions: () -> V) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, V : View, S : StringProtocol, C.Element : Identifiable | |
} | |
extension View { | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal func searchable<C, T, D, V>(text: Binding<String>, tokens: Binding<C>, scope: Binding<D>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder scopes: () -> V) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, D : Hashable, V : View, C.Element : Identifiable | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal func searchable<C, T, D, V>(text: Binding<String>, tokens: Binding<C>, scope: Binding<D>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder scopes: () -> V) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, D : Hashable, V : View, C.Element : Identifiable | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload internal func searchable<C, T, D, V, S>(text: Binding<String>, tokens: Binding<C>, scope: Binding<D>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder scopes: () -> V) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, D : Hashable, V : View, S : StringProtocol, C.Element : Identifiable | |
} | |
extension View { | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal func searchable<C, T, D, V1, V2>(text: Binding<String>, tokens: Binding<C>, scope: Binding<D>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder scopes: () -> V1, @ViewBuilder suggestions: () -> V2) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, D : Hashable, V1 : View, V2 : View, C.Element : Identifiable | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal func searchable<C, T, D, V1, V2>(text: Binding<String>, tokens: Binding<C>, scope: Binding<D>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder scopes: () -> V1, @ViewBuilder suggestions: () -> V2) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, D : Hashable, V1 : View, V2 : View, C.Element : Identifiable | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 16.0, message: "ABI Only") | |
@available(macOS, unavailable, introduced: 13.0, message: "ABI Only") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload internal func searchable<C, T, D, V1, V2, S>(text: Binding<String>, tokens: Binding<C>, scope: Binding<D>, placement: SearchFieldPlacement = .automatic, prompt: S, @ViewBuilder token: @escaping (C.Element) -> T, @ViewBuilder scopes: () -> V1, @ViewBuilder suggestions: () -> V2) -> some View where C : RandomAccessCollection, C : RangeReplaceableCollection, T : View, D : Hashable, V1 : View, V2 : View, S : StringProtocol, C.Element : Identifiable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _PreviewProviderLocator { | |
static var previewProviders: [any _PreviewProvider.Type] { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor(unsafe) public protocol _PreviewProvider { | |
@MainActor(unsafe) static var _previews: Any { get } | |
@MainActor(unsafe) static var _platform: PreviewPlatform? { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor(unsafe) public protocol PreviewProvider : _PreviewProvider { | |
associatedtype Previews : View | |
@ViewBuilder @MainActor(unsafe) static var previews: Self.Previews { get } | |
@MainActor(unsafe) static var platform: PreviewPlatform? { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PreviewProvider { | |
@MainActor(unsafe) public static var platform: PreviewPlatform? { | |
get | |
} | |
@MainActor(unsafe) public static var _previews: Any { | |
get | |
} | |
@MainActor(unsafe) public static var _platform: PreviewPlatform? { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum PreviewPlatform : Sendable { | |
case iOS | |
case macOS | |
case tvOS | |
case watchOS | |
public static func == (a: PreviewPlatform, b: PreviewPlatform) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct PreviewDevice : RawRepresentable, ExpressibleByStringLiteral, Sendable { | |
public let rawValue: String | |
public init(rawValue: String) | |
public init(stringLiteral: String) | |
public typealias ExtendedGraphemeClusterLiteralType = String | |
public typealias RawValue = String | |
public typealias StringLiteralType = String | |
public typealias UnicodeScalarLiteralType = String | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol PreviewContextKey { | |
associatedtype Value | |
static var defaultValue: Self.Value { get } | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol PreviewContext { | |
subscript<Key>(key: Key.Type) -> Key.Value where Key : PreviewContextKey { get } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct InterfaceOrientation : CaseIterable, Identifiable, Equatable, Sendable { | |
public static var allCases: [InterfaceOrientation] { | |
get | |
} | |
public var id: String { | |
get | |
} | |
public static let portrait: InterfaceOrientation | |
public static let portraitUpsideDown: InterfaceOrientation | |
public static let landscapeLeft: InterfaceOrientation | |
public static let landscapeRight: InterfaceOrientation | |
public static func == (a: InterfaceOrientation, b: InterfaceOrientation) -> Bool | |
public typealias AllCases = [InterfaceOrientation] | |
public typealias ID = String | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func previewDevice(_ value: PreviewDevice?) -> some View { | |
return _trait(PreviewDeviceTraitKey.self, value) | |
} | |
@inlinable public func previewLayout(_ value: PreviewLayout) -> some View { | |
return _trait(PreviewLayoutTraitKey.self, value) | |
} | |
@inlinable public func previewDisplayName(_ value: String?) -> some View { | |
return _trait(PreviewDisplayNameTraitKey.self, value) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@inlinable public func previewContext<C>(_ value: C) -> some View where C : PreviewContext { | |
return _trait(PreviewContextTraitKey.self, value) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func previewInterfaceOrientation(_ value: InterfaceOrientation) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct PreviewDeviceTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: PreviewDevice? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = PreviewDevice? | |
} | |
@available(*, unavailable) | |
extension PreviewDeviceTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct PreviewLayoutTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: PreviewLayout { | |
get { .device } | |
} | |
@usableFromInline | |
internal typealias Value = PreviewLayout | |
} | |
@available(*, unavailable) | |
extension PreviewLayoutTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct PreviewDisplayNameTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: String? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = String? | |
} | |
@available(*, unavailable) | |
extension PreviewDisplayNameTraitKey : Sendable { | |
} | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
@usableFromInline | |
internal struct PreviewColorSchemeTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: ColorScheme? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = ColorScheme? | |
} | |
@available(*, unavailable) | |
extension PreviewColorSchemeTraitKey : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@usableFromInline | |
internal struct PreviewInterfaceOrientationTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: InterfaceOrientation { | |
get { .portrait } | |
} | |
@usableFromInline | |
internal typealias Value = InterfaceOrientation | |
} | |
@available(*, unavailable) | |
extension PreviewInterfaceOrientationTraitKey : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal struct PreviewContextTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: (any PreviewContext)? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = (any PreviewContext)? | |
} | |
@available(*, unavailable) | |
extension PreviewContextTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _PreviewProvider { | |
@MainActor(unsafe) public static var _allPreviews: [_Preview] { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _Preview { | |
public let id: Int | |
public let contentType: String | |
public var content: AnyView { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var context: (any PreviewContext)? { | |
get | |
} | |
public var displayName: String? { | |
get | |
} | |
public var device: PreviewDevice? { | |
get | |
} | |
public var layout: PreviewLayout { | |
get | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public var interfaceOrientation: InterfaceOrientation { | |
get | |
} | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
public var colorScheme: ColorScheme? { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension _Preview : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum PopoverAttachmentAnchor { | |
case rect(Anchor<CGRect>.Source) | |
case point(UnitPoint) | |
} | |
@available(*, unavailable) | |
extension PopoverAttachmentAnchor : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge = .top, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge = .top, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
} | |
#if compiler(>=5.3) && $PrimaryAssociatedTypes2 | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol KeyframeTrackContent<Value> { | |
associatedtype Value : Animatable = Self.Body.Value | |
associatedtype Body : KeyframeTrackContent | |
@KeyframeTrackContentBuilder<Self.Value> var body: Self.Body { get } | |
func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Self.Value>) | |
} | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol KeyframeTrackContent { | |
associatedtype Value : Animatable = Self.Body.Value | |
associatedtype Body : KeyframeTrackContent | |
@KeyframeTrackContentBuilder<Self.Value> var body: Self.Body { get } | |
func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Self.Value>) | |
} | |
#endif | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension KeyframeTrackContent where Self.Value == Self.Body.Value { | |
public func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Self.Value>) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct _ResolvedKeyframeTrackContent<Value> where Value : Animatable { | |
} | |
@available(*, unavailable) | |
extension _ResolvedKeyframeTrackContent : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct CubicKeyframe<Value> : KeyframeTrackContent where Value : Animatable { | |
public init(_ to: Value, duration: TimeInterval, startVelocity: Value? = nil, endVelocity: Value? = nil) | |
public func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Value>) | |
public typealias Body = CubicKeyframe<Value> | |
} | |
@available(*, unavailable) | |
extension CubicKeyframe : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct SpringKeyframe<Value> : KeyframeTrackContent where Value : Animatable { | |
public init(_ to: Value, duration: TimeInterval? = nil, spring: Spring = Spring(), startVelocity: Value? = nil) | |
public func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Value>) | |
public typealias Body = SpringKeyframe<Value> | |
} | |
@available(*, unavailable) | |
extension SpringKeyframe : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct LinearKeyframe<Value> : KeyframeTrackContent where Value : Animatable { | |
public init(_ to: Value, duration: TimeInterval, timingCurve: UnitCurve = .linear) | |
public func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Value>) | |
public typealias Body = LinearKeyframe<Value> | |
} | |
@available(*, unavailable) | |
extension LinearKeyframe : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct MoveKeyframe<Value> : KeyframeTrackContent where Value : Animatable { | |
public init(_ to: Value) | |
public func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<Value>) | |
public typealias Body = MoveKeyframe<Value> | |
} | |
@available(*, unavailable) | |
extension MoveKeyframe : Sendable { | |
} | |
extension Environment { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public init(_ objectType: Value.Type) where Value : AnyObject, Value : Observable | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public init<T>(_ objectType: T.Type) where Value == T?, T : AnyObject, T : Observable | |
} | |
extension EnvironmentValues { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public subscript<T>(objectType: T.Type) -> T? where T : AnyObject, T : Observable { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func environment<T>(_ object: T?) -> some View where T : AnyObject, T : Observable | |
} | |
extension Scene { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func environment<T>(_ object: T?) -> some Scene where T : AnyObject, T : Observable | |
} | |
extension View { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@inlinable public func lineLimit(_ number: Int?) -> some View { | |
environment(\.lineLimit, number) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func lineLimit(_ limit: PartialRangeFrom<Int>) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func lineLimit(_ limit: PartialRangeThrough<Int>) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func lineLimit(_ limit: ClosedRange<Int>) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func lineLimit(_ limit: Int, reservesSpace: Bool) -> some View | |
} | |
extension EnvironmentValues { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public var lineLimit: Int? { | |
get | |
set | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ScrollIndicatorVisibility { | |
public static var automatic: ScrollIndicatorVisibility { | |
get | |
} | |
public static var visible: ScrollIndicatorVisibility { | |
get | |
} | |
public static var hidden: ScrollIndicatorVisibility { | |
get | |
} | |
public static var never: ScrollIndicatorVisibility { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ScrollIndicatorVisibility : Sendable { | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
extension ScrollIndicatorVisibility : Equatable { | |
public static func == (a: ScrollIndicatorVisibility, b: ScrollIndicatorVisibility) -> Bool | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func scrollIndicators(_ visibility: ScrollIndicatorVisibility, axes: Axis.Set = [.vertical, .horizontal]) -> some View | |
} | |
extension EnvironmentValues { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public var verticalScrollIndicatorVisibility: ScrollIndicatorVisibility { | |
get | |
set | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public var horizontalScrollIndicatorVisibility: ScrollIndicatorVisibility { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func scrollIndicatorsFlash(trigger value: some Equatable) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func scrollIndicatorsFlash(onAppear: Bool) -> some View | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func scrollDisabled(_ disabled: Bool) -> some View | |
} | |
extension EnvironmentValues { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public var isScrollEnabled: Bool { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func scrollClipDisabled(_ disabled: Bool = true) -> some View | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@available(visionOS, unavailable) | |
public func scrollDismissesKeyboard(_ mode: ScrollDismissesKeyboardMode) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@available(visionOS, unavailable) | |
public struct ScrollDismissesKeyboardMode : Sendable { | |
public static var automatic: ScrollDismissesKeyboardMode { | |
get | |
} | |
public static var immediately: ScrollDismissesKeyboardMode { | |
get | |
} | |
public static var interactively: ScrollDismissesKeyboardMode { | |
get | |
} | |
public static var never: ScrollDismissesKeyboardMode { | |
get | |
} | |
} | |
extension EnvironmentValues { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@available(visionOS, unavailable) | |
public var scrollDismissesKeyboardMode: ScrollDismissesKeyboardMode { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func defaultScrollAnchor(_ anchor: UnitPoint?) -> some View | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public struct ScrollBounceBehavior : Sendable { | |
public static var automatic: ScrollBounceBehavior { | |
get | |
} | |
public static var always: ScrollBounceBehavior { | |
get | |
} | |
public static var basedOnSize: ScrollBounceBehavior { | |
get | |
} | |
} | |
extension View { | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public func scrollBounceBehavior(_ behavior: ScrollBounceBehavior, axes: Axis.Set = [.vertical]) -> some View | |
} | |
extension EnvironmentValues { | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public var verticalScrollBounceBehavior: ScrollBounceBehavior { | |
get | |
set | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public var horizontalScrollBounceBehavior: ScrollBounceBehavior { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct ColorMatrix : Equatable { | |
public var r1: Float = 1, r2: Float = 0, r3: Float = 0, r4: Float = 0, r5: Float = 0 | |
public var g1: Float = 0, g2: Float = 1, g3: Float = 0, g4: Float = 0, g5: Float = 0 | |
public var b1: Float = 0, b2: Float = 0, b3: Float = 1, b4: Float = 0, b5: Float = 0 | |
public var a1: Float = 0, a2: Float = 0, a3: Float = 0, a4: Float = 1, a5: Float = 0 | |
@inlinable public init() {} | |
public static func == (a: ColorMatrix, b: ColorMatrix) -> Bool | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _ColorMatrix : Equatable, Codable { | |
public var m11: Float = 1, m12: Float = 0, m13: Float = 0, m14: Float = 0, m15: Float = 0 | |
public var m21: Float = 0, m22: Float = 1, m23: Float = 0, m24: Float = 0, m25: Float = 0 | |
public var m31: Float = 0, m32: Float = 0, m33: Float = 1, m34: Float = 0, m35: Float = 0 | |
public var m41: Float = 0, m42: Float = 0, m43: Float = 0, m44: Float = 1, m45: Float = 0 | |
@inlinable public init() {} | |
public init(color: Color, in environment: EnvironmentValues) | |
public static func * (a: _ColorMatrix, b: _ColorMatrix) -> _ColorMatrix | |
public func encode(to encoder: any Encoder) throws | |
public init(from decoder: any Decoder) throws | |
public static func == (a: _ColorMatrix, b: _ColorMatrix) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Optional : View where Wrapped : View { | |
public typealias Body = Never | |
public static func _makeView(view: _GraphValue<Optional<Wrapped>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<Optional<Wrapped>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableColumnForEach<Data, ID, RowValue, Sort, Content> : TableColumnContent where Data : RandomAccessCollection, ID : Hashable, RowValue == Content.TableRowValue, Sort == Content.TableColumnSortComparator, Content : TableColumnContent { | |
public typealias TableRowValue = RowValue | |
public typealias TableColumnSortComparator = Sort | |
public typealias TableColumnBody = Never | |
public var data: Data | |
public var content: (Data.Element) -> Content | |
public init(_ data: Data, @TableColumnBuilder<TableColumnForEach<Data, ID, RowValue, Sort, Content>.TableRowValue, TableColumnForEach<Data, ID, RowValue, Sort, Content>.TableColumnSortComparator> content: @escaping (Data.Element) -> Content) where ID == Data.Element.ID, Data.Element : Identifiable | |
public init(_ data: Data, id: KeyPath<Data.Element, ID>, @TableColumnBuilder<TableColumnForEach<Data, ID, RowValue, Sort, Content>.TableRowValue, TableColumnForEach<Data, ID, RowValue, Sort, Content>.TableColumnSortComparator> content: @escaping (Data.Element) -> Content) | |
@_semantics("swiftui.requires_constant_range") public init(_ data: Range<Int>, @TableColumnBuilder<TableColumnForEach<Range<Int>, Int, RowValue, Sort, Content>.TableRowValue, TableColumnForEach<Range<Int>, Int, RowValue, Sort, Content>.TableColumnSortComparator> content: @escaping (Int) -> Content) where Data == Range<Int>, ID == Int | |
public static func _makeContent(content: _GraphValue<TableColumnForEach<Data, ID, RowValue, Sort, Content>>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
} | |
@available(*, unavailable) | |
extension TableColumnForEach : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _Detachable { | |
static func matches<K>(key: K.Type) -> Bool where K : PreferenceKey | |
static var detachedProperties: _DetachableProperties { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _DetachableProperties : OptionSet { | |
public let rawValue: UInt32 | |
public init(rawValue: UInt32) | |
public static let position: _DetachableProperties | |
public static let dimensions: _DetachableProperties | |
public static let environment: _DetachableProperties | |
public static let transaction: _DetachableProperties | |
public static let layout: _DetachableProperties | |
public static let all: _DetachableProperties | |
public typealias ArrayLiteralElement = _DetachableProperties | |
public typealias Element = _DetachableProperties | |
public typealias RawValue = UInt32 | |
} | |
@available(*, unavailable) | |
extension _DetachableProperties : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Detachable { | |
public static var detachedProperties: _DetachableProperties { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _DetachedView<Detached, Content, Child> : View where Detached : _Detachable, Content : View, Child : View { | |
public var content: Content | |
public var transform: (_DetachedPlaceholder<Detached>) -> Child | |
@inlinable public init(content: Content, transform: @escaping (_DetachedPlaceholder<Detached>) -> Child) { | |
self.content = content | |
self.transform = transform | |
} | |
public static func _makeView(view: _GraphValue<_DetachedView<Detached, Content, Child>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _DetachedView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func _detached<T, U>(with _: T.Type = T.self, _ transform: @escaping (_DetachedPlaceholder<T>) -> U) -> some View where T : _Detachable, U : View { | |
return _DetachedView(content: self, transform: transform) | |
} | |
@inlinable public func _detached<T>(_ transform: @escaping (_DetachedPlaceholder<_EmptyDetached>) -> T) -> some View where T : View { | |
return _DetachedView(content: self, transform: transform) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _DetachedKey<Key> : _Detachable where Key : PreferenceKey { | |
public static func matches<K>(key: K.Type) -> Bool where K : PreferenceKey | |
} | |
@available(*, unavailable) | |
extension _DetachedKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _EmptyDetached : _Detachable { | |
public static func matches<K>(key: K.Type) -> Bool where K : PreferenceKey | |
public static var detachedProperties: _DetachableProperties { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension _EmptyDetached : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _DetachedPlaceholder<Detached> : View where Detached : _Detachable { | |
public static func _makeView(view: _GraphValue<_DetachedPlaceholder<Detached>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _DetachedPlaceholder : Sendable { | |
} | |
@available(macOS 13.0, tvOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
public func focusSection() -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Animation { | |
public func repeatCount(_ repeatCount: Int, autoreverses: Bool = true) -> Animation | |
public func repeatForever(autoreverses: Bool = true) -> Animation | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct AccessibilityDirectTouchOptions : OptionSet, Sendable { | |
public typealias RawValue = UInt | |
public let rawValue: AccessibilityDirectTouchOptions.RawValue | |
public init(rawValue: AccessibilityDirectTouchOptions.RawValue) | |
public static let silentOnTouch: AccessibilityDirectTouchOptions | |
public static let requiresActivation: AccessibilityDirectTouchOptions | |
public typealias ArrayLiteralElement = AccessibilityDirectTouchOptions | |
public typealias Element = AccessibilityDirectTouchOptions | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func accessibilityDirectTouch(_ isDirectTouchArea: Bool = true, options: AccessibilityDirectTouchOptions = []) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityDirectTouch(_ isDirectTouchArea: Bool = true, options: AccessibilityDirectTouchOptions = []) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ListItemTint : Sendable { | |
public static func fixed(_ tint: Color) -> ListItemTint | |
public static func preferred(_ tint: Color) -> ListItemTint | |
public static let monochrome: ListItemTint | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
@inlinable public func listItemTint(_ tint: ListItemTint?) -> some View { | |
_trait(ListItemTintTraitKey.self, tint) | |
} | |
@inlinable public func listItemTint(_ tint: Color?) -> some View { | |
listItemTint(tint.map { .fixed($0) }) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal struct ListItemTintTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: ListItemTint? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = ListItemTint? | |
} | |
@available(*, unavailable) | |
extension ListItemTintTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Path : Equatable, LosslessStringConvertible, @unchecked Sendable { | |
@_hasMissingDesignatedInitializers @usableFromInline | |
final internal class PathBox : Equatable { | |
@objc @usableFromInline | |
deinit | |
@usableFromInline | |
internal static func == (lhs: Path.PathBox, rhs: Path.PathBox) -> Bool | |
} | |
@usableFromInline | |
@frozen internal enum Storage : Equatable { | |
case empty | |
case rect(CGRect) | |
case ellipse(CGRect) | |
indirect case roundedRect(FixedRoundedRect) | |
@available(*, deprecated, message: "obsolete") | |
indirect case stroked(StrokedPath) | |
@available(*, deprecated, message: "obsolete") | |
indirect case trimmed(TrimmedPath) | |
case path(Path.PathBox) | |
@usableFromInline | |
internal static func == (a: Path.Storage, b: Path.Storage) -> Bool | |
} | |
internal var storage: Path.Storage | |
public init() | |
public init(_ path: CGPath) | |
public init(_ path: CGMutablePath) | |
public init(_ rect: CGRect) | |
public init(roundedRect rect: CGRect, cornerSize: CGSize, style: RoundedCornerStyle = .continuous) | |
public init(roundedRect rect: CGRect, cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init(roundedRect rect: CGRect, cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = .continuous) | |
public init(ellipseIn rect: CGRect) | |
public init(_ callback: (inout Path) -> ()) | |
public init?(_ string: String) | |
public var description: String { | |
get | |
} | |
public var cgPath: CGPath { | |
get | |
} | |
public var isEmpty: Bool { | |
get | |
} | |
public var boundingRect: CGRect { | |
get | |
} | |
public func contains(_ p: CGPoint, eoFill: Bool = false) -> Bool | |
@frozen public enum Element : Equatable { | |
case move(to: CGPoint) | |
case line(to: CGPoint) | |
case quadCurve(to: CGPoint, control: CGPoint) | |
case curve(to: CGPoint, control1: CGPoint, control2: CGPoint) | |
case closeSubpath | |
public static func == (a: Path.Element, b: Path.Element) -> Bool | |
} | |
public func forEach(_ body: (Path.Element) -> Void) | |
public func strokedPath(_ style: StrokeStyle) -> Path | |
public func trimmedPath(from: CGFloat, to: CGFloat) -> Path | |
public static func == (a: Path, b: Path) -> Bool | |
} | |
@available(*, unavailable) | |
extension Path.Storage : Sendable { | |
} | |
@available(*, unavailable) | |
extension Path.PathBox : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Path : Shape { | |
public func path(in _: CGRect) -> Path | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<Path, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@available(*, deprecated, message: "obsolete") | |
@usableFromInline | |
internal struct StrokedPath : Equatable { | |
public init(path: Path, style: StrokeStyle) | |
@usableFromInline | |
internal static func == (a: StrokedPath, b: StrokedPath) -> Bool | |
} | |
@available(*, unavailable) | |
extension StrokedPath : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@available(*, deprecated, message: "obsolete") | |
@usableFromInline | |
internal struct TrimmedPath : Equatable { | |
@usableFromInline | |
internal static func == (a: TrimmedPath, b: TrimmedPath) -> Bool | |
} | |
@available(*, unavailable) | |
extension TrimmedPath : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Path { | |
public mutating func move(to end: CGPoint) | |
public mutating func addLine(to end: CGPoint) | |
public mutating func addQuadCurve(to end: CGPoint, control: CGPoint) | |
public mutating func addCurve(to end: CGPoint, control1: CGPoint, control2: CGPoint) | |
public mutating func closeSubpath() | |
public mutating func addRect(_ rect: CGRect, transform: CGAffineTransform = .identity) | |
public mutating func addRoundedRect(in rect: CGRect, cornerSize: CGSize, style: RoundedCornerStyle = .continuous, transform: CGAffineTransform = .identity) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public mutating func addRoundedRect(in rect: CGRect, cornerRadii: RectangleCornerRadii, style: RoundedCornerStyle = .continuous, transform: CGAffineTransform = .identity) | |
public mutating func addEllipse(in rect: CGRect, transform: CGAffineTransform = .identity) | |
public mutating func addRects(_ rects: [CGRect], transform: CGAffineTransform = .identity) | |
public mutating func addLines(_ lines: [CGPoint]) | |
public mutating func addRelativeArc(center: CGPoint, radius: CGFloat, startAngle: Angle, delta: Angle, transform: CGAffineTransform = .identity) | |
public mutating func addArc(center: CGPoint, radius: CGFloat, startAngle: Angle, endAngle: Angle, clockwise: Bool, transform: CGAffineTransform = .identity) | |
public mutating func addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius: CGFloat, transform: CGAffineTransform = .identity) | |
public mutating func addPath(_ path: Path, transform: CGAffineTransform = .identity) | |
public var currentPoint: CGPoint? { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func normalized(eoFill: Bool = true) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func intersection(_ other: Path, eoFill: Bool = false) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func union(_ other: Path, eoFill: Bool = false) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func subtracting(_ other: Path, eoFill: Bool = false) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func symmetricDifference(_ other: Path, eoFill: Bool = false) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func lineIntersection(_ other: Path, eoFill: Bool = false) -> Path | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func lineSubtraction(_ other: Path, eoFill: Bool = false) -> Path | |
public func applying(_ transform: CGAffineTransform) -> Path | |
public func offsetBy(dx: CGFloat, dy: CGFloat) -> Path | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct AnyGradient : Hashable, ShapeStyle, Sendable { | |
internal var provider: AnyGradientBox | |
public init(_ gradient: Gradient) | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public func hash(into hasher: inout Hasher) | |
public static func == (lhs: AnyGradient, rhs: AnyGradient) -> Bool | |
public typealias Resolved = Never | |
public var hashValue: Int { | |
get | |
} | |
} | |
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal class AnyGradientBox : AnyShapeStyleBox, @unchecked Sendable { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyGradientBox : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == LinearGradient { | |
@_alwaysEmitIntoClient public static func linearGradient(_ gradient: AnyGradient, startPoint: UnitPoint, endPoint: UnitPoint) -> some ShapeStyle { | |
return _AnyLinearGradient(gradient: gradient, | |
startPoint: startPoint, endPoint: endPoint) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == RadialGradient { | |
@_alwaysEmitIntoClient public static func radialGradient(_ gradient: AnyGradient, center: UnitPoint = .center, startRadius: CGFloat = 0, endRadius: CGFloat) -> some ShapeStyle { | |
return _AnyRadialGradient(gradient: gradient, center: center, | |
startRadius: startRadius, endRadius: endRadius) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == EllipticalGradient { | |
@_alwaysEmitIntoClient public static func ellipticalGradient(_ gradient: AnyGradient, center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) -> some ShapeStyle { | |
return _AnyEllipticalGradient(gradient: gradient, center: center, | |
startRadiusFraction: startRadiusFraction, | |
endRadiusFraction: endRadiusFraction) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == AngularGradient { | |
@_alwaysEmitIntoClient public static func angularGradient(_ gradient: AnyGradient, center: UnitPoint = .center, startAngle: Angle, endAngle: Angle) -> some ShapeStyle { | |
return _AnyAngularGradient(gradient: gradient, center: center, | |
startAngle: startAngle, endAngle: endAngle) | |
} | |
@_alwaysEmitIntoClient public static func conicGradient(_ gradient: AnyGradient, center: UnitPoint = .center, angle: Angle = .zero) -> some ShapeStyle { | |
return _AnyAngularGradient(gradient: gradient, center: center, | |
startAngle: angle, endAngle: angle + .radians(2 * .pi)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _AnyLinearGradient : ShapeStyle { | |
@usableFromInline | |
internal var gradient: AnyGradient | |
@usableFromInline | |
internal var startPoint: UnitPoint | |
@usableFromInline | |
internal var endPoint: UnitPoint | |
@inlinable internal init(gradient: AnyGradient, startPoint: UnitPoint, endPoint: UnitPoint) { | |
self.gradient = gradient | |
self.startPoint = startPoint | |
self.endPoint = endPoint | |
} | |
public typealias Resolved = Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _AnyRadialGradient : ShapeStyle { | |
@usableFromInline | |
internal var gradient: AnyGradient | |
@usableFromInline | |
internal var center: UnitPoint | |
@usableFromInline | |
internal var startRadius: CGFloat | |
@usableFromInline | |
internal var endRadius: CGFloat | |
@inlinable internal init(gradient: AnyGradient, center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) { | |
self.gradient = gradient | |
self.center = center | |
self.startRadius = startRadius | |
self.endRadius = endRadius | |
} | |
public typealias Resolved = Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _AnyEllipticalGradient : ShapeStyle { | |
@usableFromInline | |
internal var gradient: AnyGradient | |
@usableFromInline | |
internal var center: UnitPoint | |
@usableFromInline | |
internal var startRadiusFraction: CGFloat | |
@usableFromInline | |
internal var endRadiusFraction: CGFloat | |
@inlinable internal init(gradient: AnyGradient, center: UnitPoint = .center, startRadiusFraction: CGFloat, endRadiusFraction: CGFloat) { | |
self.gradient = gradient | |
self.center = center | |
self.startRadiusFraction = startRadiusFraction | |
self.endRadiusFraction = endRadiusFraction | |
} | |
public typealias Resolved = Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _AnyAngularGradient : ShapeStyle { | |
@usableFromInline | |
internal var gradient: AnyGradient | |
@usableFromInline | |
internal var center: UnitPoint | |
@usableFromInline | |
internal var startAngle: Angle | |
@usableFromInline | |
internal var endAngle: Angle | |
@usableFromInline | |
internal init(gradient: AnyGradient, center: UnitPoint, startAngle: Angle, endAngle: Angle) | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Color { | |
public func opacity(_ opacity: Double) -> Color | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public func renderingMode(_ renderingMode: Image.TemplateRenderingMode?) -> Image | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension ToggleStyle where Self == CheckboxToggleStyle { | |
@_alwaysEmitIntoClient public static var checkbox: CheckboxToggleStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct CheckboxToggleStyle : ToggleStyle { | |
public init() | |
public func makeBody(configuration: CheckboxToggleStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI19CheckboxToggleStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension CheckboxToggleStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func labelsHidden() -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum RoundedCornerStyle : Sendable { | |
case circular | |
case continuous | |
public static func == (a: RoundedCornerStyle, b: RoundedCornerStyle) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct FixedRoundedRect : Equatable { | |
@usableFromInline | |
internal static func == (a: FixedRoundedRect, b: FixedRoundedRect) -> Bool | |
} | |
@available(*, unavailable) | |
extension FixedRoundedRect : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct RectangleCornerRadii : Equatable, Animatable { | |
@usableFromInline | |
internal var topLeft: CGFloat | |
@usableFromInline | |
internal var topRight: CGFloat | |
@usableFromInline | |
internal var bottomRight: CGFloat | |
@usableFromInline | |
internal var bottomLeft: CGFloat | |
@_alwaysEmitIntoClient public var topLeading: CGFloat { | |
get { topLeft } | |
set { topLeft = newValue } | |
} | |
@_alwaysEmitIntoClient public var bottomLeading: CGFloat { | |
get { bottomLeft } | |
set { bottomLeft = newValue } | |
} | |
@_alwaysEmitIntoClient public var bottomTrailing: CGFloat { | |
get { bottomRight } | |
set { bottomRight = newValue } | |
} | |
@_alwaysEmitIntoClient public var topTrailing: CGFloat { | |
get { topRight } | |
set { topRight = newValue } | |
} | |
@usableFromInline | |
internal init(topLeft: CGFloat, topRight: CGFloat, bottomRight: CGFloat, bottomLeft: CGFloat) | |
@_alwaysEmitIntoClient public init(topLeading: CGFloat = 0, bottomLeading: CGFloat = 0, bottomTrailing: CGFloat = 0, topTrailing: CGFloat = 0) { | |
self.init( | |
topLeft: topLeading, topRight: topTrailing, | |
bottomRight: bottomTrailing, bottomLeft: bottomLeading) | |
} | |
public typealias AnimatableData = AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> | |
public var animatableData: RectangleCornerRadii.AnimatableData { | |
get | |
set | |
} | |
public static func == (a: RectangleCornerRadii, b: RectangleCornerRadii) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_functionBuilder public struct ViewBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : View { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildBlock() -> EmptyView { | |
EmptyView() | |
} | |
@_alwaysEmitIntoClient public static func buildBlock<Content>(_ content: Content) -> Content where Content : View { | |
content | |
} | |
#if compiler(>=5.3) && $ParameterPacks | |
@_disfavoredOverload @_alwaysEmitIntoClient public static func buildBlock<each Content>(_ content: repeat each Content) -> TupleView<(repeat each Content)> where repeat each Content : View { | |
TupleView((repeat each content)) | |
} | |
#endif | |
} | |
@available(*, unavailable) | |
extension ViewBuilder : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ViewBuilder { | |
@_alwaysEmitIntoClient public static func buildIf<Content>(_ content: Content?) -> Content? where Content : View { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildEither<TrueContent, FalseContent>(first: TrueContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : View, FalseContent : View { | |
.init(storage: .trueContent(first)) | |
} | |
@_alwaysEmitIntoClient public static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalContent<TrueContent, FalseContent> where TrueContent : View, FalseContent : View { | |
.init(storage: .falseContent(second)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ViewBuilder { | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability<Content>(_ content: Content) -> AnyView where Content : View { | |
.init(content) | |
} | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct RoundedBorderTextEditorStyle : TextEditorStyle { | |
public func makeBody(configuration: RoundedBorderTextEditorStyle.Configuration) -> some View | |
public init() | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI28RoundedBorderTextEditorStyleV8makeBody13configurationQrAA0efG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension RoundedBorderTextEditorStyle : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextEditorStyle where Self == RoundedBorderTextEditorStyle { | |
@_alwaysEmitIntoClient public static var roundedBorder: RoundedBorderTextEditorStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, tvOS 17.0, macOS 14.0, watchOS 10.0, *) | |
public struct ContainerBackgroundPlacement : Sendable, Hashable { | |
@available(watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let tabView: ContainerBackgroundPlacement | |
@available(watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let navigation: ContainerBackgroundPlacement | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: ContainerBackgroundPlacement, b: ContainerBackgroundPlacement) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
extension View { | |
@available(iOS 17.0, tvOS 17.0, macOS 14.0, watchOS 10.0, *) | |
public func containerBackground<S>(_ style: S, for container: ContainerBackgroundPlacement) -> some View where S : ShapeStyle | |
@available(iOS 17.0, tvOS 17.0, macOS 14.0, watchOS 10.0, *) | |
public func containerBackground<V>(for container: ContainerBackgroundPlacement, alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@usableFromInline | |
internal struct ContainerBackgroundTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: AnyView? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = AnyView? | |
} | |
@available(*, unavailable) | |
extension ContainerBackgroundTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func tag<V>(_ tag: V) -> some View where V : Hashable { | |
return _trait(TagValueTraitKey<V>.self, .tagged(tag)) | |
} | |
@inlinable public func _untagged() -> some View { | |
return _trait(IsAuxiliaryContentTraitKey.self, true) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct TagValueTraitKey<V> : _ViewTraitKey where V : Hashable { | |
@usableFromInline | |
@frozen internal enum Value { | |
case untagged | |
case tagged(V) | |
} | |
@inlinable internal static var defaultValue: TagValueTraitKey<V>.Value { | |
get { .untagged } | |
} | |
} | |
@available(*, unavailable) | |
extension TagValueTraitKey.Value : Sendable { | |
} | |
@available(*, unavailable) | |
extension TagValueTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsAuxiliaryContentTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsAuxiliaryContentTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Gradient : Equatable { | |
@frozen public struct Stop : Equatable { | |
public var color: Color | |
public var location: CGFloat | |
public init(color: Color, location: CGFloat) | |
public static func == (a: Gradient.Stop, b: Gradient.Stop) -> Bool | |
} | |
public var stops: [Gradient.Stop] | |
public init(stops: [Gradient.Stop]) | |
public init(colors: [Color]) | |
public static func == (a: Gradient, b: Gradient) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Gradient : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Gradient.Stop : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Gradient : ShapeStyle { | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public typealias Resolved = Never | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct GroupBox<Label, Content> : View where Label : View, Content : View { | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) { | |
self.init(label: label(), content: content) | |
} | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI8GroupBoxV4bodyQrvp", 0) __<Label, Content> | |
} | |
@available(*, unavailable) | |
extension GroupBox : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBox where Label == GroupBoxStyleConfiguration.Label, Content == GroupBoxStyleConfiguration.Content { | |
public init(_ configuration: GroupBoxStyleConfiguration) | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBox where Label == EmptyView { | |
public init(@ViewBuilder content: () -> Content) | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBox where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBox { | |
@available(iOS, deprecated: 100000.0, renamed: "GroupBox(content:label:)") | |
@available(macOS, deprecated: 100000.0, renamed: "GroupBox(content:label:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "GroupBox(content:label:)") | |
public init(label: Label, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct GeometryReader<Content> : View where Content : View { | |
public var content: (GeometryProxy) -> Content | |
@inlinable public init(@ViewBuilder content: @escaping (GeometryProxy) -> Content) { | |
self.content = content | |
} | |
public static func _makeView(view: _GraphValue<GeometryReader<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension GeometryReader : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct GeometryProxy { | |
public var size: CGSize { | |
get | |
} | |
public subscript<T>(anchor: Anchor<T>) -> T { | |
get | |
} | |
public var safeAreaInsets: EdgeInsets { | |
get | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use overload that accepts a CoordinateSpaceProtocol instead") | |
@_disfavoredOverload public func frame(in coordinateSpace: CoordinateSpace) -> CGRect | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension GeometryProxy { | |
public func bounds(of coordinateSpace: NamedCoordinateSpace) -> CGRect? | |
public func frame(in coordinateSpace: some CoordinateSpaceProtocol) -> CGRect | |
} | |
@available(*, unavailable) | |
extension GeometryProxy : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transaction { | |
public var tracksVelocity: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableStyle where Self == InsetTableStyle { | |
@_alwaysEmitIntoClient public static var inset: InsetTableStyle { | |
get { .init() } | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the `.inset` style with the `.alternatingRowBackgrounds()` view modifier") | |
@available(visionOS, unavailable) | |
@_alwaysEmitIntoClient public static func inset(alternatesRowBackgrounds: Bool) -> InsetTableStyle { | |
.init(alternatesRowBackgrounds: alternatesRowBackgrounds) | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct InsetTableStyle : TableStyle { | |
public init() | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 12.0, deprecated: 100000.0, message: "Use the `.inset` style with the `.alternatingRowBackgrounds()` view modifier") | |
@available(visionOS, unavailable) | |
public init(alternatesRowBackgrounds: Bool) | |
public func makeBody(configuration: InsetTableStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15InsetTableStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension InsetTableStyle : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct ImmersiveSpaceViewContent<Content> : ImmersiveSpaceContent where Content : View { | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension ImmersiveSpaceViewContent : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ImmersiveSpaceViewContent { | |
public var body: Never { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeSelection<T>(_ instance: T, _ identifier: String) -> T | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeSelection<T>(_ instance: T, _ identifier: String) -> some View where T : View | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol PickerStyle { | |
static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<Self, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<Self, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _PickerValue<Style, SelectionValue> where Style : PickerStyle, SelectionValue : Hashable { | |
} | |
@available(*, unavailable) | |
extension _PickerValue : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
public func pickerStyle<S>(_ style: S) -> some View where S : PickerStyle | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, *) | |
@available(watchOS, unavailable) | |
extension PickerStyle where Self == SegmentedPickerStyle { | |
@_alwaysEmitIntoClient public static var segmented: SegmentedPickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, *) | |
@available(watchOS, unavailable) | |
public struct SegmentedPickerStyle : PickerStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<SegmentedPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<SegmentedPickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension SegmentedPickerStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct LinearCapacityGaugeStyle : GaugeStyle { | |
public init() | |
public func makeBody(configuration: LinearCapacityGaugeStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24LinearCapacityGaugeStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension LinearCapacityGaugeStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension GaugeStyle where Self == LinearCapacityGaugeStyle { | |
@_alwaysEmitIntoClient public static var linearCapacity: LinearCapacityGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol EnvironmentalModifier : ViewModifier where Self.Body == Never { | |
associatedtype ResolvedModifier : ViewModifier | |
func resolve(in environment: EnvironmentValues) -> Self.ResolvedModifier | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
static var _requiresMainThread: Bool { get } | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
static var _tracksEnvironmentDependencies: Bool { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentalModifier { | |
public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<Self>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var _requiresMainThread: Bool { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public static var _tracksEnvironmentDependencies: Bool { | |
get | |
} | |
} | |
@available(iOS 14.5, macOS 11.0, tvOS 14.5, watchOS 7.4, *) | |
@usableFromInline | |
internal struct IsLeafTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { true } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsLeafTraitKey : Sendable { | |
} | |
@available(macOS 10.15, tvOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public enum MoveCommandDirection : Sendable { | |
case up | |
case down | |
case left | |
case right | |
public static func == (a: MoveCommandDirection, b: MoveCommandDirection) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(macOS 10.15, tvOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onMoveCommand(perform action: ((MoveCommandDirection) -> Void)?) -> some View | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onExitCommand(perform action: (() -> Void)?) -> some View | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onPlayPauseCommand(perform action: (() -> Void)?) -> some View | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func onDeleteCommand(perform action: (() -> Void)?) -> some View | |
@available(tvOS 14.3, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public func pageCommand<V>(value: Binding<V>, in bounds: ClosedRange<V>, step: V = 1) -> some View where V : BinaryInteger | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct __UniversalListStyle : ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<__UniversalListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<__UniversalListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension __UniversalListStyle : Sendable { | |
} | |
@available(iOS 17.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct ListSectionSpacing : Sendable { | |
public static let `default`: ListSectionSpacing | |
public static let compact: ListSectionSpacing | |
public static func custom(_ spacing: CGFloat) -> ListSectionSpacing | |
} | |
@available(iOS 17.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
extension View { | |
@inlinable public func listSectionSpacing(_ spacing: ListSectionSpacing) -> some View { | |
modifier( | |
_TraitWritingModifier<ListSectionSpacingTraitKey>(value: spacing)) | |
.environment(\.listSectionSpacing, spacing) | |
} | |
@inlinable public func listSectionSpacing(_ spacing: CGFloat) -> some View { | |
listSectionSpacing(.custom(spacing)) | |
} | |
} | |
@available(iOS 17.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct ListSectionSpacingTraitKey : _ViewTraitKey { | |
@_alwaysEmitIntoClient internal static var defaultValue: ListSectionSpacing? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = ListSectionSpacing? | |
} | |
@available(*, unavailable) | |
extension ListSectionSpacingTraitKey : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal struct UseCompactSectionSpacingTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension UseCompactSectionSpacingTraitKey : Sendable { | |
} | |
@available(iOS 17.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var listSectionSpacing: ListSectionSpacing? { | |
get | |
set | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityHidden(_ hidden: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityHidden(_ hidden: Bool) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum BlendMode : Sendable { | |
case normal | |
case multiply | |
case screen | |
case overlay | |
case darken | |
case lighten | |
case colorDodge | |
case colorBurn | |
case softLight | |
case hardLight | |
case difference | |
case exclusion | |
case hue | |
case saturation | |
case color | |
case luminosity | |
case sourceAtop | |
case destinationOver | |
case destinationOut | |
case plusDarker | |
case plusLighter | |
public static func == (a: BlendMode, b: BlendMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ShapeStyle { | |
@inlinable public func blendMode(_ mode: BlendMode) -> some ShapeStyle { | |
_BlendModeShapeStyle(style: self, blendMode: mode) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == AnyShapeStyle { | |
@_alwaysEmitIntoClient public static func blendMode(_ mode: BlendMode) -> some ShapeStyle { | |
return _BlendModeShapeStyle( | |
style: _ImplicitShapeStyle(), blendMode: mode) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _BlendModeShapeStyle<Style> : ShapeStyle where Style : ShapeStyle { | |
public var style: Style | |
public var blendMode: BlendMode | |
@inlinable public init(style: Style, blendMode: BlendMode) { | |
self.style = style | |
self.blendMode = blendMode | |
} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct Form<Content> : View where Content : View { | |
public init(@ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI4FormV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension Form : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Form where Content == FormStyleConfiguration.Content { | |
public init(_ configuration: FormStyleConfiguration) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol Commands { | |
associatedtype Body : Commands | |
@CommandsBuilder var body: Self.Body { get } | |
@available(iOS 15.0, macOS 12.0, *) | |
static func _makeCommands(content: _GraphValue<Self>, inputs: _CommandsInputs) -> _CommandsOutputs | |
func _resolve(into resolved: inout _ResolvedCommands) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Commands { | |
@available(iOS 15.0, macOS 12.0, *) | |
public static func _makeCommands(content: _GraphValue<Self>, inputs: _CommandsInputs) -> _CommandsOutputs | |
public func _resolve(into resolved: inout _ResolvedCommands) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct EmptyCommands : Commands { | |
@available(iOS 15.0, macOS 12.0, *) | |
public static func _makeCommands(content: _GraphValue<EmptyCommands>, inputs: _CommandsInputs) -> _CommandsOutputs | |
public init() | |
public func _resolve(into: inout _ResolvedCommands) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension EmptyCommands : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _ResolvedCommands { | |
} | |
@available(*, unavailable) | |
extension _ResolvedCommands : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
public func commands<Content>(@CommandsBuilder content: () -> Content) -> some Scene where Content : Commands | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_functionBuilder public struct CommandsBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : Commands { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildBlock() -> EmptyCommands { | |
EmptyCommands() | |
} | |
@_alwaysEmitIntoClient public static func buildBlock<C>(_ content: C) -> C where C : Commands { | |
content | |
} | |
} | |
@available(*, unavailable) | |
extension CommandsBuilder : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
@frozen internal struct IDView<Content, ID> : View where Content : View, ID : Hashable { | |
@usableFromInline | |
internal var content: Content | |
@usableFromInline | |
internal var id: ID | |
@inlinable internal init(_ content: Content, id: ID) { | |
self.content = content | |
self.id = id | |
} | |
@usableFromInline | |
@MainActor(unsafe) internal var body: Never { | |
get | |
} | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension IDView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func id<ID>(_ id: ID) -> some View where ID : Hashable { | |
return IDView(self, id: id) | |
} | |
} | |
extension IDView { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal static func _makeView(view: _GraphValue<IDView<Content, ID>>, inputs: _ViewInputs) -> _ViewOutputs | |
} | |
extension IDView { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal static func _makeViewList(view: _GraphValue<IDView<Content, ID>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(iOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct MultiDatePicker<Label> : View where Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15MultiDatePickerV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension MultiDatePicker : Sendable { | |
} | |
@available(iOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension MultiDatePicker { | |
public init(selection: Binding<Set<DateComponents>>, @ViewBuilder label: () -> Label) | |
public init(selection: Binding<Set<DateComponents>>, in bounds: Range<Date>, @ViewBuilder label: () -> Label) | |
public init(selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>, @ViewBuilder label: () -> Label) | |
public init(selection: Binding<Set<DateComponents>>, in bounds: PartialRangeUpTo<Date>, @ViewBuilder label: () -> Label) | |
} | |
@available(iOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension MultiDatePicker where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>) | |
public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: Range<Date>) | |
public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>) | |
public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeUpTo<Date>) | |
} | |
@available(iOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension MultiDatePicker where Label == Text { | |
@_disfavoredOverload public init<S>(_ title: S, selection: Binding<Set<DateComponents>>) where S : StringProtocol | |
@_disfavoredOverload public init<S>(_ title: S, selection: Binding<Set<DateComponents>>, in bounds: Range<Date>) where S : StringProtocol | |
@_disfavoredOverload public init<S>(_ title: S, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>) where S : StringProtocol | |
@_disfavoredOverload public init<S>(_ title: S, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeUpTo<Date>) where S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct ContentShapeKinds : OptionSet, Sendable { | |
public var rawValue: Int | |
public init(rawValue: Int) | |
public static let interaction: ContentShapeKinds | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let dragPreview: ContentShapeKinds | |
@available(tvOS 17.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let contextMenuPreview: ContentShapeKinds | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public static let hoverEffect: ContentShapeKinds | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let focusEffect: ContentShapeKinds | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public static let accessibility: ContentShapeKinds | |
public typealias ArrayLiteralElement = ContentShapeKinds | |
public typealias Element = ContentShapeKinds | |
public typealias RawValue = Int | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct AnimationContext<Value> where Value : VectorArithmetic { | |
public var state: AnimationState<Value> | |
public var isLogicallyComplete: Bool | |
public var environment: EnvironmentValues { | |
get | |
} | |
public func withState<T>(_ state: AnimationState<T>) -> AnimationContext<T> where T : VectorArithmetic | |
} | |
@available(*, unavailable) | |
extension AnimationContext : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct AnyTransition { | |
fileprivate let box: AnyTransitionBox | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public init<T>(_ transition: T) where T : Transition | |
} | |
@available(*, unavailable) | |
extension AnyTransition : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyTransitionBox { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyTransitionBox : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public enum Interpolation : Sendable { | |
case none | |
case low | |
case medium | |
case high | |
public static func == (a: Image.Interpolation, b: Image.Interpolation) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public func interpolation(_ interpolation: Image.Interpolation) -> Image | |
public func antialiased(_ isAntialiased: Bool) -> Image | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ToolbarCustomizationOptions : OptionSet, Sendable { | |
public typealias RawValue = Int | |
public static var alwaysAvailable: ToolbarCustomizationOptions { | |
get | |
} | |
public var rawValue: Int | |
public init(rawValue: Int) | |
public typealias ArrayLiteralElement = ToolbarCustomizationOptions | |
public typealias Element = ToolbarCustomizationOptions | |
} | |
extension CustomizableToolbarContent { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func defaultCustomization(_ defaultVisibility: Visibility = .automatic, options: ToolbarCustomizationOptions = []) -> some CustomizableToolbarContent | |
@available(iOS, introduced: 16.0, deprecated: 16.0, message: "Please provide either a visibility or customization options") | |
@available(macOS, introduced: 13.0, deprecated: 13.0, message: "Please provide either a visibility or customization options") | |
@available(tvOS, introduced: 16.0, deprecated: 16.0, message: "Please provide either a visibility or customization options") | |
@available(watchOS, introduced: 9.0, deprecated: 9.0, message: "Please provide either a visibility or customization options") | |
public func defaultCustomization() -> some CustomizableToolbarContent | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct FillStyle : Equatable { | |
public var isEOFilled: Bool | |
public var isAntialiased: Bool | |
@inlinable public init(eoFill: Bool = false, antialiased: Bool = true) { | |
self.isEOFilled = eoFill | |
self.isAntialiased = antialiased | |
} | |
public static func == (a: FillStyle, b: FillStyle) -> Bool | |
} | |
extension View { | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public func menuActionDismissBehavior(_ behavior: MenuActionDismissBehavior) -> some View | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
public struct MenuActionDismissBehavior : Equatable { | |
public static let automatic: MenuActionDismissBehavior | |
public static let enabled: MenuActionDismissBehavior | |
@available(tvOS 17.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let disabled: MenuActionDismissBehavior | |
public static func == (a: MenuActionDismissBehavior, b: MenuActionDismissBehavior) -> Bool | |
} | |
@available(*, unavailable) | |
extension MenuActionDismissBehavior : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct HSplitView<Content> : View where Content : View { | |
public init(@ViewBuilder content: () -> Content) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension HSplitView : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct VSplitView<Content> : View where Content : View { | |
public init(@ViewBuilder content: () -> Content) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension VSplitView : Sendable { | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _SplitViewContainer : _VariadicView.UnaryViewRoot { | |
public func body(children: _VariadicView.Children) -> some View | |
public static var _viewListOptions: Int { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI19_SplitViewContainerV4body8childrenQrAA09_VariadicD9_ChildrenV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension _SplitViewContainer : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `BorderedButtonMenuStyle` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct PullDownMenuButtonStyle : MenuButtonStyle { | |
public init() | |
public func _body(configuration: PullDownMenuButtonStyle._Configuration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI23PullDownMenuButtonStyleV5_body13configurationQrAA01_efG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PullDownMenuButtonStyle : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct BorderlessPullDownMenuButtonStyle : MenuButtonStyle { | |
public init() | |
public func _body(configuration: BorderlessPullDownMenuButtonStyle._Configuration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI33BorderlessPullDownMenuButtonStyleV5_body13configurationQrAA01_fgH13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderlessPullDownMenuButtonStyle : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct BorderlessButtonMenuButtonStyle : MenuButtonStyle { | |
public init() | |
public func _body(configuration: BorderlessButtonMenuButtonStyle._Configuration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI020BorderlessButtonMenuD5StyleV5_body13configurationQrAA01_edF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderlessButtonMenuButtonStyle : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `TexturedButtonMenuStyle` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _TexturedPullDownMenuButtonStyle : MenuButtonStyle { | |
public init() | |
public func _body(configuration: _TexturedPullDownMenuButtonStyle._Configuration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI32_TexturedPullDownMenuButtonStyleV5_body13configurationQrAA01_fgH13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension _TexturedPullDownMenuButtonStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct StrokeStyle : Equatable { | |
public var lineWidth: CGFloat | |
public var lineCap: CGLineCap | |
public var lineJoin: CGLineJoin | |
public var miterLimit: CGFloat | |
public var dash: [CGFloat] | |
public var dashPhase: CGFloat | |
public init(lineWidth: CGFloat = 1, lineCap: CGLineCap = .butt, lineJoin: CGLineJoin = .miter, miterLimit: CGFloat = 10, dash: [CGFloat] = [CGFloat](), dashPhase: CGFloat = 0) | |
public static func == (a: StrokeStyle, b: StrokeStyle) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension StrokeStyle : Animatable { | |
public typealias AnimatableData = AnimatablePair<CGFloat, AnimatablePair<CGFloat, CGFloat>> | |
public var animatableData: StrokeStyle.AnimatableData { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Color { | |
public static var accentColor: Color { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use the asset catalog's accent color or View.tint(_:) instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use the asset catalog's accent color or View.tint(_:) instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use the asset catalog's accent color or View.tint(_:) instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use the asset catalog's accent color or View.tint(_:) instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use the asset catalog's accent color or View.tint(_:) instead.") | |
@inlinable public func accentColor(_ accentColor: Color?) -> some View { | |
return environment(\.accentColor, accentColor) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var accentColor: Color? { | |
get | |
set | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TextEditingCommands : Commands { | |
public init() | |
public var body: some Commands { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI19TextEditingCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension TextEditingCommands : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TextFormattingCommands : Commands { | |
public init() | |
public var body: some Commands { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22TextFormattingCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension TextFormattingCommands : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ClipEffect<ClipShape> where ClipShape : Shape { | |
public var shape: ClipShape | |
public var style: FillStyle | |
@inlinable public init(shape: ClipShape, style: FillStyle = FillStyle()) { | |
self.shape = shape | |
self.style = style | |
} | |
public var animatableData: ClipShape.AnimatableData { | |
get | |
set | |
} | |
public typealias AnimatableData = ClipShape.AnimatableData | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ClipEffect : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func clipShape<S>(_ shape: S, style: FillStyle = FillStyle()) -> some View where S : Shape { | |
return modifier(_ClipEffect(shape: shape, style: style)) | |
} | |
@inlinable public func clipped(antialiased: Bool = false) -> some View { | |
return clipShape(Rectangle(), | |
style: FillStyle(antialiased: antialiased)) | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use `clipShape` or `fill` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `clipShape` or `fill` instead.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use `clipShape` or `fill` instead.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `clipShape` or `fill` instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `clipShape` or `fill` instead.") | |
@inlinable public func cornerRadius(_ radius: CGFloat, antialiased: Bool = true) -> some View { | |
return clipShape(RoundedRectangle(cornerRadius: radius), | |
style: FillStyle(antialiased: antialiased)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TableColumnAlignment : Hashable, Sendable { | |
public static var automatic: TableColumnAlignment { | |
get | |
} | |
public static var leading: TableColumnAlignment { | |
get | |
} | |
public static var center: TableColumnAlignment { | |
get | |
} | |
public static var trailing: TableColumnAlignment { | |
get | |
} | |
public static var numeric: TableColumnAlignment { | |
get | |
} | |
public static func numeric(_ numberingSystem: Locale.NumberingSystem) -> TableColumnAlignment | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: TableColumnAlignment, b: TableColumnAlignment) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumnContent { | |
public func alignment(_ alignment: TableColumnAlignment) -> some TableColumnContent<Self.TableRowValue, Self.TableColumnSortComparator> | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DisclosureGroup<Label, Content> : View where Label : View, Content : View { | |
public init(@ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label) | |
public init(isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15DisclosureGroupV4bodyQrvp", 0) __<Label, Content> | |
} | |
@available(*, unavailable) | |
extension DisclosureGroup : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DisclosureGroup where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: @escaping () -> Content) | |
public init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) | |
@_disfavoredOverload public init<S>(_ label: S, @ViewBuilder content: @escaping () -> Content) where S : StringProtocol | |
@_disfavoredOverload public init<S>(_ label: S, isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) where S : StringProtocol | |
} | |
@available(iOS 17.0, macOS 11.0, tvOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
internal struct IsExpandedTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Binding<Bool>? { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Binding<Bool>? | |
} | |
@available(*, unavailable) | |
extension IsExpandedTraitKey : Sendable { | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension WindowStyle where Self == PlainWindowStyle { | |
@_alwaysEmitIntoClient public static var plain: PlainWindowStyle { | |
get { .init() } | |
} | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PlainWindowStyle : WindowStyle { | |
public typealias _Body = Never | |
public init() | |
} | |
@available(*, unavailable) | |
extension PlainWindowStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct Picker<Label, SelectionValue, Content> : View where Label : View, SelectionValue : Hashable, Content : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI6PickerV4bodyQrvp", 0) __<Label, SelectionValue, Content> | |
} | |
@available(*, unavailable) | |
extension Picker : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Picker { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init<C>(sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where C : RandomAccessCollection | |
@_alwaysEmitIntoClient public init(selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) { | |
self.init(selection: selection, label: label(), content: content) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Picker where Label == Text { | |
public init(_ titleKey: LocalizedStringKey, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init<C>(_ titleKey: LocalizedStringKey, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection | |
@_disfavoredOverload public init<S>(_ title: S, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload public init<C, S>(_ title: S, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection, S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Picker where Label == Label<Text, Image> { | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, systemImage: String, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) { | |
self.init( | |
selection: selection, | |
content: content | |
) { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_alwaysEmitIntoClient public init<C>(_ titleKey: LocalizedStringKey, systemImage: String, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection, C.Element == Binding<SelectionValue> { | |
self.init(sources: sources, selection: selection) { | |
content() | |
} label: { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<S>(_ title: S, systemImage: String, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) where S : StringProtocol { | |
self.init(selection: selection) { | |
content() | |
} label: { | |
Label(title, systemImage: systemImage) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<C, S>(_ title: S, systemImage: String, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection, S : StringProtocol, C.Element == Binding<SelectionValue> { | |
self.init(sources: sources, selection: selection) { | |
content() | |
} label: { | |
Label(title, systemImage: systemImage) | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Picker where Label == Label<Text, Image> { | |
public init(_ titleKey: LocalizedStringKey, image: ImageResource, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) | |
public init<C>(_ titleKey: LocalizedStringKey, image: ImageResource, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection, C.Element == Binding<SelectionValue> | |
@_disfavoredOverload public init<S>(_ title: S, image: ImageResource, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@_disfavoredOverload public init<C, S>(_ title: S, image: ImageResource, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection, S : StringProtocol, C.Element == Binding<SelectionValue> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Picker { | |
@available(iOS, deprecated: 100000.0, renamed: "Picker(selection:content:label:)") | |
@available(macOS, deprecated: 100000.0, renamed: "Picker(selection:content:label:)") | |
@available(tvOS, deprecated: 100000.0, renamed: "Picker(selection:content:label:)") | |
@available(watchOS, deprecated: 100000.0, renamed: "Picker(selection:content:label:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Picker(selection:content:label:)") | |
public init(selection: Binding<SelectionValue>, label: Label, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension PickerStyle where Self == PalettePickerStyle { | |
@_alwaysEmitIntoClient public static var palette: PalettePickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PalettePickerStyle : PickerStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<PalettePickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<PalettePickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension PalettePickerStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct HStack<Content> : View where Content : View { | |
@usableFromInline | |
internal var _tree: _VariadicView.Tree<_HStackLayout, Content> | |
@inlinable public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content) { | |
_tree = .init( | |
root: _HStackLayout(alignment: alignment, spacing: spacing), content: content()) | |
} | |
public static func _makeView(view: _GraphValue<HStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension HStack : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _HStackLayout { | |
public var alignment: VerticalAlignment | |
public var spacing: CGFloat? | |
@inlinable public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil) { | |
self.alignment = alignment | |
self.spacing = spacing | |
} | |
} | |
extension _HStackLayout { | |
public typealias Body = Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension _HStackLayout : Layout { | |
public typealias Cache = _StackLayoutCache | |
public typealias AnimatableData = EmptyAnimatableData | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct HStackLayout : Layout { | |
public var alignment: VerticalAlignment | |
public var spacing: CGFloat? | |
@inlinable public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil) { | |
self.alignment = alignment | |
self.spacing = spacing | |
} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Cache = _HStackLayout.Cache | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct LazyHStack<Content> : View where Content : View { | |
public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content) | |
public static func _makeView(view: _GraphValue<LazyHStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LazyHStack : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Group : Scene where Content : Scene { | |
@inlinable public init(@SceneBuilder content: () -> Content) { | |
self.content = content() | |
} | |
public static func _makeScene(scene: _GraphValue<Group<Content>>, inputs: _SceneInputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal struct _TupleScene<T> : Scene { | |
@usableFromInline | |
internal var value: T | |
@usableFromInline | |
@MainActor(unsafe) internal var body: Never { | |
get | |
} | |
@usableFromInline | |
internal init(_ value: T) | |
@usableFromInline | |
internal static func _makeScene(scene: _GraphValue<_TupleScene<T>>, inputs: _SceneInputs) -> _SceneOutputs | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _TupleScene : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableRowBuilder { | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where Value == C.TableRowValue, C : TableRowContent { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(first: T) -> _ConditionalContent<T, F> where Value == T.TableRowValue, T : TableRowContent, F : TableRowContent, T.TableRowValue == F.TableRowValue { | |
_ConditionalContent<T, F>(storage: .trueContent(first)) | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(second: F) -> _ConditionalContent<T, F> where Value == T.TableRowValue, T : TableRowContent, F : TableRowContent, T.TableRowValue == F.TableRowValue { | |
_ConditionalContent<T, F>(storage: .falseContent(second)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension _ConditionalContent : TableRowContent where TrueContent : TableRowContent, FalseContent : TableRowContent { | |
public typealias TableRowValue = TrueContent.TableRowValue | |
public typealias TableRowBody = Never | |
public static func _makeRows(content: _GraphValue<_ConditionalContent<TrueContent, FalseContent>>, inputs: _TableRowInputs) -> _TableRowOutputs | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
@usableFromInline | |
internal init(storage: _ConditionalContent<TrueContent, FalseContent>.Storage) | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Optional : TableRowContent where Wrapped : TableRowContent { | |
public typealias TableRowValue = Wrapped.TableRowValue | |
public typealias TableRowBody = Never | |
public static func _makeRows(content: _GraphValue<Optional<Wrapped>>, inputs: _TableRowInputs) -> _TableRowOutputs | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static func _containsOutlineSymbol(inputs: _TableRowInputs) -> Bool | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct MatchedGeometryProperties : OptionSet { | |
public let rawValue: UInt32 | |
@inlinable public init(rawValue: UInt32) { self.rawValue = rawValue } | |
public static let position: MatchedGeometryProperties | |
public static let size: MatchedGeometryProperties | |
public static let frame: MatchedGeometryProperties | |
public typealias ArrayLiteralElement = MatchedGeometryProperties | |
public typealias Element = MatchedGeometryProperties | |
public typealias RawValue = UInt32 | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
@inlinable public func matchedGeometryEffect<ID>(id: ID, in namespace: Namespace.ID, properties: MatchedGeometryProperties = .frame, anchor: UnitPoint = .center, isSource: Bool = true) -> some View where ID : Hashable { | |
return modifier(_MatchedGeometryEffect(id: id, | |
namespace: namespace, properties: properties, | |
anchor: anchor, isSource: isSource)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _MatchedGeometryEffect<ID> where ID : Hashable { | |
public var id: ID | |
public var namespace: Namespace.ID | |
public var args: (properties: MatchedGeometryProperties, anchor: UnitPoint, isSource: Bool) | |
@inlinable public init(id: ID, namespace: Namespace.ID, properties: MatchedGeometryProperties, anchor: UnitPoint, isSource: Bool) { | |
(self.id, self.namespace) = (id, namespace) | |
args = (properties: properties, anchor: anchor, isSource: isSource) | |
} | |
public static func _makeView(modifier: _GraphValue<_MatchedGeometryEffect<ID>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _MatchedGeometryEffect : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AsyncImage<Content> : View where Content : View { | |
public init(url: URL?, scale: CGFloat = 1) where Content == Image | |
@_alwaysEmitIntoClient public init<I, P>(url: URL?, scale: CGFloat = 1, @ViewBuilder content: @escaping (Image) -> I, @ViewBuilder placeholder: @escaping () -> P) where Content == _ConditionalContent<I, P>, I : View, P : View { | |
self.init(url: url, scale: scale) { phase in | |
if let i = phase.image { | |
content(i) | |
} else { | |
placeholder() | |
} | |
} | |
} | |
public init(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10AsyncImageV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension AsyncImage : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public enum AsyncImagePhase : Sendable { | |
case empty | |
case success(Image) | |
case failure(any Error) | |
public var image: Image? { | |
get | |
} | |
public var error: (any Error)? { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct GraphicsContext { | |
@_hasMissingDesignatedInitializers @usableFromInline | |
final internal class Storage { | |
@objc deinit | |
} | |
internal var storage: GraphicsContext.Storage | |
@frozen public struct BlendMode : RawRepresentable, Equatable { | |
public let rawValue: Int32 | |
@inlinable public init(rawValue: Int32) { self.rawValue = rawValue } | |
@inlinable public static var normal: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.normal.rawValue) | |
} | |
} | |
@inlinable public static var multiply: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.multiply.rawValue) | |
} | |
} | |
@inlinable public static var screen: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.screen.rawValue) | |
} | |
} | |
@inlinable public static var overlay: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.overlay.rawValue) | |
} | |
} | |
@inlinable public static var darken: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.darken.rawValue) | |
} | |
} | |
@inlinable public static var lighten: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.lighten.rawValue) | |
} | |
} | |
@inlinable public static var colorDodge: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.colorDodge.rawValue) | |
} | |
} | |
@inlinable public static var colorBurn: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.colorBurn.rawValue) | |
} | |
} | |
@inlinable public static var softLight: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.softLight.rawValue) | |
} | |
} | |
@inlinable public static var hardLight: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.hardLight.rawValue) | |
} | |
} | |
@inlinable public static var difference: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.difference.rawValue) | |
} | |
} | |
@inlinable public static var exclusion: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.exclusion.rawValue) | |
} | |
} | |
@inlinable public static var hue: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.hue.rawValue) | |
} | |
} | |
@inlinable public static var saturation: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.saturation.rawValue) | |
} | |
} | |
@inlinable public static var color: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.color.rawValue) | |
} | |
} | |
@inlinable public static var luminosity: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.luminosity.rawValue) | |
} | |
} | |
@inlinable public static var clear: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.clear.rawValue) | |
} | |
} | |
@inlinable public static var copy: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.copy.rawValue) | |
} | |
} | |
@inlinable public static var sourceIn: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.sourceIn.rawValue) | |
} | |
} | |
@inlinable public static var sourceOut: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.sourceOut.rawValue) | |
} | |
} | |
@inlinable public static var sourceAtop: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.sourceAtop.rawValue) | |
} | |
} | |
@inlinable public static var destinationOver: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.destinationOver.rawValue) | |
} | |
} | |
@inlinable public static var destinationIn: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.destinationIn.rawValue) | |
} | |
} | |
@inlinable public static var destinationOut: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.destinationOut.rawValue) | |
} | |
} | |
@inlinable public static var destinationAtop: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.destinationAtop.rawValue) | |
} | |
} | |
@inlinable public static var xor: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.xor.rawValue) | |
} | |
} | |
@inlinable public static var plusDarker: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.plusDarker.rawValue) | |
} | |
} | |
@inlinable public static var plusLighter: GraphicsContext.BlendMode { | |
get { | |
self.init(rawValue: CGBlendMode.plusLighter.rawValue) | |
} | |
} | |
public typealias RawValue = Int32 | |
} | |
public var opacity: Double { | |
get | |
set | |
} | |
public var blendMode: GraphicsContext.BlendMode { | |
get | |
set | |
} | |
public var environment: EnvironmentValues { | |
get | |
} | |
public var transform: CGAffineTransform { | |
get | |
set | |
} | |
public mutating func scaleBy(x: CGFloat, y: CGFloat) | |
public mutating func translateBy(x: CGFloat, y: CGFloat) | |
public mutating func rotate(by angle: Angle) | |
public mutating func concatenate(_ matrix: CGAffineTransform) | |
@frozen public struct ClipOptions : OptionSet { | |
public let rawValue: UInt32 | |
@inlinable public init(rawValue: UInt32) { self.rawValue = rawValue } | |
@inlinable public static var inverse: GraphicsContext.ClipOptions { | |
get { Self(rawValue: 1 << 0) } | |
} | |
public typealias ArrayLiteralElement = GraphicsContext.ClipOptions | |
public typealias Element = GraphicsContext.ClipOptions | |
public typealias RawValue = UInt32 | |
} | |
public var clipBoundingRect: CGRect { | |
get | |
} | |
public mutating func clip(to path: Path, style: FillStyle = FillStyle(), options: GraphicsContext.ClipOptions = ClipOptions()) | |
public mutating func clipToLayer(opacity: Double = 1, options: GraphicsContext.ClipOptions = ClipOptions(), content: (inout GraphicsContext) throws -> Void) rethrows | |
public struct Filter : Sendable { | |
public static func projectionTransform(_ matrix: ProjectionTransform) -> GraphicsContext.Filter | |
public static func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0, blendMode: GraphicsContext.BlendMode = .normal, options: GraphicsContext.ShadowOptions = ShadowOptions()) -> GraphicsContext.Filter | |
public static func colorMultiply(_ color: Color) -> GraphicsContext.Filter | |
public static func colorMatrix(_ matrix: ColorMatrix) -> GraphicsContext.Filter | |
public static func hueRotation(_ angle: Angle) -> GraphicsContext.Filter | |
public static func saturation(_ amount: Double) -> GraphicsContext.Filter | |
public static func brightness(_ amount: Double) -> GraphicsContext.Filter | |
public static func contrast(_ amount: Double) -> GraphicsContext.Filter | |
public static func colorInvert(_ amount: Double = 1) -> GraphicsContext.Filter | |
public static func grayscale(_ amount: Double) -> GraphicsContext.Filter | |
public static var luminanceToAlpha: GraphicsContext.Filter { | |
get | |
} | |
public static func blur(radius: CGFloat, options: GraphicsContext.BlurOptions = BlurOptions()) -> GraphicsContext.Filter | |
public static func alphaThreshold(min: Double, max: Double = 1, color: Color = Color.black) -> GraphicsContext.Filter | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public static func colorShader(_ shader: Shader) -> GraphicsContext.Filter | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public static func distortionShader(_ shader: Shader, maxSampleOffset: CGSize) -> GraphicsContext.Filter | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public static func layerShader(_ shader: Shader, maxSampleOffset: CGSize) -> GraphicsContext.Filter | |
} | |
@frozen public struct ShadowOptions : OptionSet { | |
public let rawValue: UInt32 | |
@inlinable public init(rawValue: UInt32) { self.rawValue = rawValue } | |
@inlinable public static var shadowAbove: GraphicsContext.ShadowOptions { | |
get { Self(rawValue: 1 << 0) } | |
} | |
@inlinable public static var shadowOnly: GraphicsContext.ShadowOptions { | |
get { Self(rawValue: 1 << 1) } | |
} | |
@inlinable public static var invertsAlpha: GraphicsContext.ShadowOptions { | |
get { Self(rawValue: 1 << 2) } | |
} | |
@inlinable public static var disablesGroup: GraphicsContext.ShadowOptions { | |
get { Self(rawValue: 1 << 3) } | |
} | |
public typealias ArrayLiteralElement = GraphicsContext.ShadowOptions | |
public typealias Element = GraphicsContext.ShadowOptions | |
public typealias RawValue = UInt32 | |
} | |
@frozen public struct BlurOptions : OptionSet { | |
public let rawValue: UInt32 | |
@inlinable public init(rawValue: UInt32) { self.rawValue = rawValue } | |
@inlinable public static var opaque: GraphicsContext.BlurOptions { | |
get { Self(rawValue: 1 << 0) } | |
} | |
@inlinable public static var dithersResult: GraphicsContext.BlurOptions { | |
get { Self(rawValue: 1 << 1) } | |
} | |
public typealias ArrayLiteralElement = GraphicsContext.BlurOptions | |
public typealias Element = GraphicsContext.BlurOptions | |
public typealias RawValue = UInt32 | |
} | |
@frozen public struct FilterOptions : OptionSet { | |
public let rawValue: UInt32 | |
@inlinable public init(rawValue: UInt32) { | |
self.rawValue = rawValue | |
} | |
@inlinable public static var linearColor: GraphicsContext.FilterOptions { | |
get { Self(rawValue: 1 << 0) } | |
} | |
public typealias ArrayLiteralElement = GraphicsContext.FilterOptions | |
public typealias Element = GraphicsContext.FilterOptions | |
public typealias RawValue = UInt32 | |
} | |
public mutating func addFilter(_ filter: GraphicsContext.Filter, options: GraphicsContext.FilterOptions = FilterOptions()) | |
public struct Shading : Sendable { | |
public static var backdrop: GraphicsContext.Shading { | |
get | |
} | |
public static var foreground: GraphicsContext.Shading { | |
get | |
} | |
public static func palette(_ array: [GraphicsContext.Shading]) -> GraphicsContext.Shading | |
public static func color(_ color: Color) -> GraphicsContext.Shading | |
public static func color(_ colorSpace: Color.RGBColorSpace = .sRGB, red: Double, green: Double, blue: Double, opacity: Double = 1) -> GraphicsContext.Shading | |
public static func color(_ colorSpace: Color.RGBColorSpace = .sRGB, white: Double, opacity: Double = 1) -> GraphicsContext.Shading | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public static func shader(_ shader: Shader, bounds: CGRect = .zero) -> GraphicsContext.Shading | |
public static func style<S>(_ style: S) -> GraphicsContext.Shading where S : ShapeStyle | |
public static func linearGradient(_ gradient: Gradient, startPoint: CGPoint, endPoint: CGPoint, options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading | |
public static func radialGradient(_ gradient: Gradient, center: CGPoint, startRadius: CGFloat, endRadius: CGFloat, options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading | |
public static func conicGradient(_ gradient: Gradient, center: CGPoint, angle: Angle = Angle(), options: GraphicsContext.GradientOptions = GradientOptions()) -> GraphicsContext.Shading | |
public static func tiledImage(_ image: Image, origin: CGPoint = .zero, sourceRect: CGRect = CGRect(x: 0, y: 0, width: 1, height: 1), scale: CGFloat = 1) -> GraphicsContext.Shading | |
} | |
@frozen public struct GradientOptions : OptionSet { | |
public let rawValue: UInt32 | |
@inlinable public init(rawValue: UInt32) { self.rawValue = rawValue } | |
@inlinable public static var `repeat`: GraphicsContext.GradientOptions { | |
get { Self(rawValue: 1 << 0) } | |
} | |
@inlinable public static var mirror: GraphicsContext.GradientOptions { | |
get { Self(rawValue: 1 << 1) } | |
} | |
@inlinable public static var linearColor: GraphicsContext.GradientOptions { | |
get { Self(rawValue: 1 << 2) } | |
} | |
public typealias ArrayLiteralElement = GraphicsContext.GradientOptions | |
public typealias Element = GraphicsContext.GradientOptions | |
public typealias RawValue = UInt32 | |
} | |
public func resolve(_ shading: GraphicsContext.Shading) -> GraphicsContext.Shading | |
public func drawLayer(content: (inout GraphicsContext) throws -> Void) rethrows | |
public func fill(_ path: Path, with shading: GraphicsContext.Shading, style: FillStyle = FillStyle()) | |
public func stroke(_ path: Path, with shading: GraphicsContext.Shading, style: StrokeStyle) | |
public func stroke(_ path: Path, with shading: GraphicsContext.Shading, lineWidth: CGFloat = 1) | |
public struct ResolvedImage { | |
public var size: CGSize { | |
get | |
} | |
public let baseline: CGFloat | |
public var shading: GraphicsContext.Shading? | |
} | |
public func resolve(_ image: Image) -> GraphicsContext.ResolvedImage | |
public func draw(_ image: GraphicsContext.ResolvedImage, in rect: CGRect, style: FillStyle = FillStyle()) | |
public func draw(_ image: GraphicsContext.ResolvedImage, at point: CGPoint, anchor: UnitPoint = .center) | |
public func draw(_ image: Image, in rect: CGRect, style: FillStyle = FillStyle()) | |
public func draw(_ image: Image, at point: CGPoint, anchor: UnitPoint = .center) | |
public struct ResolvedText { | |
public var shading: GraphicsContext.Shading | |
public func measure(in size: CGSize) -> CGSize | |
public func firstBaseline(in size: CGSize) -> CGFloat | |
public func lastBaseline(in size: CGSize) -> CGFloat | |
} | |
public func resolve(_ text: Text) -> GraphicsContext.ResolvedText | |
public func draw(_ text: GraphicsContext.ResolvedText, in rect: CGRect) | |
public func draw(_ text: GraphicsContext.ResolvedText, at point: CGPoint, anchor: UnitPoint = .center) | |
public func draw(_ text: Text, in rect: CGRect) | |
public func draw(_ text: Text, at point: CGPoint, anchor: UnitPoint = .center) | |
public struct ResolvedSymbol { | |
public var size: CGSize { | |
get | |
} | |
} | |
public func resolveSymbol<ID>(id: ID) -> GraphicsContext.ResolvedSymbol? where ID : Hashable | |
public func draw(_ symbol: GraphicsContext.ResolvedSymbol, in rect: CGRect) | |
public func draw(_ symbol: GraphicsContext.ResolvedSymbol, at point: CGPoint, anchor: UnitPoint = .center) | |
public func withCGContext(content: (CGContext) throws -> Void) rethrows | |
} | |
@available(*, unavailable) | |
extension GraphicsContext : Sendable { | |
} | |
@available(*, unavailable) | |
extension GraphicsContext.ResolvedImage : Sendable { | |
} | |
@available(*, unavailable) | |
extension GraphicsContext.ResolvedText : Sendable { | |
} | |
@available(*, unavailable) | |
extension GraphicsContext.ResolvedSymbol : Sendable { | |
} | |
@available(*, unavailable) | |
extension GraphicsContext.Storage : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ShadowStyle : Equatable, Sendable { | |
public static func drop(color: Color = .init(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> ShadowStyle | |
public static func inner(color: Color = .init(.sRGBLinear, white: 0, opacity: 0.55), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> ShadowStyle | |
public static func == (a: ShadowStyle, b: ShadowStyle) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle { | |
@inlinable public func shadow(_ style: ShadowStyle) -> some ShapeStyle { | |
return _ShadowShapeStyle(style: self, shadowStyle: style) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ShapeStyle where Self == AnyShapeStyle { | |
@_alwaysEmitIntoClient public static func shadow(_ style: ShadowStyle) -> some ShapeStyle { | |
return _ShadowShapeStyle( | |
style: _ImplicitShapeStyle(), shadowStyle: style) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _ShadowShapeStyle<Style> : ShapeStyle where Style : ShapeStyle { | |
@usableFromInline | |
internal var style: Style | |
@usableFromInline | |
internal var shadowStyle: ShadowStyle | |
@inlinable internal init(style: Style, shadowStyle: ShadowStyle) { | |
self.style = style | |
self.shadowStyle = shadowStyle | |
} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct ForEach<Data, ID, Content> where Data : RandomAccessCollection, ID : Hashable { | |
public var data: Data | |
public var content: (Data.Element) -> Content | |
} | |
@available(*, unavailable) | |
extension ForEach : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ForEach : View where Content : View { | |
public typealias Body = Never | |
public static func _makeView(view: _GraphValue<ForEach<Data, ID, Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<ForEach<Data, ID, Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ForEach where ID == Data.Element.ID, Content : View, Data.Element : Identifiable { | |
public init(_ data: Data, @ViewBuilder content: @escaping (Data.Element) -> Content) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ForEach where Content : View { | |
public init(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> Content) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ForEach where Content : View { | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<C>(_ data: Binding<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> Content) where Data == LazyMapSequence<C.Indices, (C.Index, ID)>, ID == C.Element.ID, C : MutableCollection, C : RandomAccessCollection, C.Element : Identifiable, C.Index : Hashable { | |
self.init(data, id: \.id, content: content) | |
} | |
@_disfavoredOverload @_alwaysEmitIntoClient public init<C>(_ data: Binding<C>, id: KeyPath<C.Element, ID>, @ViewBuilder content: @escaping (Binding<C.Element>) -> Content) where Data == LazyMapSequence<C.Indices, (C.Index, ID)>, C : MutableCollection, C : RandomAccessCollection, C.Index : Hashable { | |
let elementIDs = data.wrappedValue.indices.lazy.map { index in | |
(index, data.wrappedValue[index][keyPath: id]) | |
} | |
self.init(elementIDs, id: \.1) { (index, _) in | |
let elementBinding = Binding { | |
data.wrappedValue[index] | |
} set: { | |
data.wrappedValue[index] = $0 | |
} | |
content(elementBinding) | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ForEach where Data == Range<Int>, ID == Int, Content : View { | |
@_semantics("swiftui.requires_constant_range") public init(_ data: Range<Int>, @ViewBuilder content: @escaping (Int) -> Content) | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_functionBuilder public struct KeyframeTrackContentBuilder<Value> where Value : Animatable { | |
public static func buildExpression<K>(_ expression: K) -> K where Value == K.Value, K : KeyframeTrackContent | |
public static func buildArray(_ components: [some KeyframeTrackContent<Value>]) -> some KeyframeTrackContent<Value> | |
public static func buildEither<First, Second>(first component: First) -> KeyframeTrackContentBuilder<Value>.Conditional<Value, First, Second> where Value == First.Value, First : KeyframeTrackContent, Second : KeyframeTrackContent, First.Value == Second.Value | |
public static func buildEither<First, Second>(second component: Second) -> KeyframeTrackContentBuilder<Value>.Conditional<Value, First, Second> where Value == First.Value, First : KeyframeTrackContent, Second : KeyframeTrackContent, First.Value == Second.Value | |
public static func buildPartialBlock<K>(first: K) -> K where Value == K.Value, K : KeyframeTrackContent | |
public static func buildPartialBlock(accumulated: some KeyframeTrackContent<Value>, next: some KeyframeTrackContent<Value>) -> some KeyframeTrackContent<Value> | |
public static func buildBlock() -> some KeyframeTrackContent<Value> | |
} | |
extension KeyframeTrackContentBuilder { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct Conditional<ConditionalValue, First, Second> : KeyframeTrackContent where ConditionalValue == First.Value, First : KeyframeTrackContent, Second : KeyframeTrackContent, First.Value == Second.Value { | |
public func _resolve(into resolved: inout _ResolvedKeyframeTrackContent<ConditionalValue>) | |
public typealias Body = KeyframeTrackContentBuilder<Value>.Conditional<ConditionalValue, First, Second> | |
public typealias Value = ConditionalValue | |
} | |
} | |
@available(*, unavailable) | |
extension KeyframeTrackContentBuilder : Sendable { | |
} | |
@available(*, unavailable) | |
extension KeyframeTrackContentBuilder.Conditional : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func searchCompletion(_ completion: String) -> some View | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func searchCompletion<T>(_ token: T) -> some View where T : Identifiable | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func searchSuggestions(_ visibility: Visibility, for placements: SearchSuggestionsPlacement.Set) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var isSearching: Bool { | |
get | |
} | |
public var dismissSearch: DismissSearchAction { | |
get | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public var searchSuggestionsPlacement: SearchSuggestionsPlacement { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct DismissSearchAction { | |
public func callAsFunction() | |
} | |
@available(*, unavailable) | |
extension DismissSearchAction : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, deprecated, introduced: 10.15, message: "Use MenuButton instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias PullDownButton = _PullDownButton | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _PullDownButton<Label, Content> where Label : View, Content : View { | |
public init(label: Label, @ViewBuilder content: () -> Content) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _PullDownButton : Sendable { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, deprecated, introduced: 10.15, message: "Use MenuButton instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension _PullDownButton where Label == Text { | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ShapeStyle where Self == SelectionShapeStyle { | |
@_alwaysEmitIntoClient public static var selection: SelectionShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SelectionShapeStyle : ShapeStyle { | |
@available(macOS 12.0, *) | |
public init() | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
@available(*, deprecated, message: "obsolete") | |
@_alwaysEmitIntoClient public static func _makeView<S>(view: _GraphValue<_ShapeView<S, SelectionShapeStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape { | |
_ShapeView<S, Self>._makeView(view: view, inputs: inputs) | |
} | |
public typealias Resolved = Never | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `menuStyle(.automatic)` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct DefaultMenuButtonStyle : MenuButtonStyle { | |
public init() | |
public func _body(configuration: DefaultMenuButtonStyle._Configuration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI22DefaultMenuButtonStyleV5_body13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultMenuButtonStyle : Sendable { | |
} | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
extension LabelStyle where Self == TitleAndIconLabelStyle { | |
@_alwaysEmitIntoClient public static var titleAndIcon: TitleAndIconLabelStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
public struct TitleAndIconLabelStyle : LabelStyle { | |
public init() | |
public func makeBody(configuration: TitleAndIconLabelStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22TitleAndIconLabelStyleV8makeBody13configurationQrAA0fG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension TitleAndIconLabelStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol ShapeStyle : Sendable { | |
@available(*, deprecated, message: "obsolete") | |
static func _makeView<S>(view: _GraphValue<_ShapeView<S, Self>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
func _apply(to shape: inout _ShapeStyle_Shape) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
static func _apply(to type: inout _ShapeStyle_ShapeType) | |
@_weakLinked associatedtype Resolved : ShapeStyle = Never | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
func resolve(in environment: EnvironmentValues) -> Self.Resolved | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Never : ShapeStyle { | |
public typealias Resolved = Never | |
public static func _makeView<S>(view: _GraphValue<_ShapeView<S, Never>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle where Self.Resolved == Never { | |
public func resolve(in environment: EnvironmentValues) -> Never | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ShapeStyle { | |
public static func _makeView<S>(view: _GraphValue<_ShapeView<S, Self>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct _ShapeStyle_Shape { | |
} | |
@available(*, unavailable) | |
extension _ShapeStyle_Shape : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct _ShapeStyle_ShapeType { | |
} | |
@available(*, unavailable) | |
extension _ShapeStyle_ShapeType : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Image : Transferable { | |
public static var transferRepresentation: some TransferRepresentation { | |
get | |
} | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ImageV22transferRepresentationQrvpZ", 0) __ | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct ScrollView<Content> : View where Content : View { | |
public var content: Content | |
public var axes: Axis.Set { | |
get | |
set | |
} | |
public var showsIndicators: Bool { | |
get | |
set | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use the ScrollView(_:content:) initializer and the scrollIndicators(:_) modifier") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use the ScrollView(_:content:) initializer and the scrollIndicators(:_) modifier") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Use the ScrollView(_:content:) initializer and the scrollIndicators(:_) modifier") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use the ScrollView(_:content:) initializer and the scrollIndicators(:_) modifier") | |
public init(_ axes: Axis.Set = .vertical, showsIndicators: Bool = true, @ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10ScrollViewV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension ScrollView : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ScrollView { | |
public var _alwaysBounceAxes: Axis.Set { | |
get | |
set | |
} | |
} | |
extension ScrollView { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient public init(_ axes: Axis.Set = .vertical, @ViewBuilder content: () -> Content) { | |
self.init(axes, showsIndicators: true, content: content) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationSplitViewStyle where Self == AutomaticNavigationSplitViewStyle { | |
public static var automatic: AutomaticNavigationSplitViewStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct AutomaticNavigationSplitViewStyle : NavigationSplitViewStyle { | |
public init() | |
public func makeBody(configuration: AutomaticNavigationSplitViewStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI33AutomaticNavigationSplitViewStyleV8makeBody13configurationQrAA0defG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticNavigationSplitViewStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _RendererConfiguration { | |
public enum Renderer { | |
case `default` | |
indirect case rasterized(_: _RendererConfiguration.RasterizationOptions = .init()) | |
} | |
public var renderer: _RendererConfiguration.Renderer | |
public var minFrameInterval: Double | |
public init(renderer: _RendererConfiguration.Renderer = .default) | |
public static func rasterized(_ options: _RendererConfiguration.RasterizationOptions = .init()) -> _RendererConfiguration | |
public struct RasterizationOptions { | |
public var colorMode: ColorRenderingMode | |
public var rbColorMode: Int32? | |
public var rendersAsynchronously: Bool | |
public var isOpaque: Bool | |
public var drawsPlatformViews: Bool | |
public var prefersDisplayCompositing: Bool | |
public var maxDrawableCount: Int | |
public init() | |
} | |
} | |
@available(*, unavailable) | |
extension _RendererConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension _RendererConfiguration.Renderer : Sendable { | |
} | |
@available(*, unavailable) | |
extension _RendererConfiguration.RasterizationOptions : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol Shape : Sendable, Animatable, View { | |
func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
static var role: ShapeRole { get } | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
var layoutDirectionBehavior: LayoutDirectionBehavior { get } | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Shape { | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public enum ShapeRole : Sendable { | |
case fill | |
case stroke | |
case separator | |
public static func == (a: ShapeRole, b: ShapeRole) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
extension Shape { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Shape { | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AccessibilityRotorEntry<ID> where ID : Hashable { | |
public init(_ label: Text, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
public init(_ label: Text, id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
public init(_ label: Text? = nil, textRange: Range<String.Index>, prepare: @escaping (() -> Void) = {}) where ID == Never | |
public init(_ labelKey: LocalizedStringKey, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
@_disfavoredOverload public init<L>(_ label: L, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) where L : StringProtocol | |
public init(_ labelKey: LocalizedStringKey, id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
@_disfavoredOverload public init<L>(_ label: L, _ id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) where L : StringProtocol | |
public init(_ labelKey: LocalizedStringKey, textRange: Range<String.Index>, prepare: @escaping (() -> Void) = {}) | |
@_disfavoredOverload public init<L>(_ label: L, textRange: Range<String.Index>, prepare: @escaping (() -> Void) = {}) where ID == Never, L : StringProtocol | |
} | |
@available(*, unavailable) | |
extension AccessibilityRotorEntry : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func accessibilityRotorEntry<ID>(id: ID, in namespace: Namespace.ID) -> some View where ID : Hashable | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor(unsafe) public struct NavigationStack<Data, Root> : View where Root : View { | |
@MainActor(unsafe) public init(@ViewBuilder root: () -> Root) where Data == NavigationPath | |
@MainActor(unsafe) public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath | |
@MainActor(unsafe) public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data : MutableCollection, Data : RandomAccessCollection, Data : RangeReplaceableCollection, Data.Element : Hashable | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15NavigationStackV4bodyQrvp", 0) __<Data, Root> | |
} | |
@available(*, unavailable) | |
extension NavigationStack : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Color : ShapeStyle { | |
@available(*, deprecated, message: "obsolete") | |
@_alwaysEmitIntoClient public static func _makeView<S>(view: _GraphValue<_ShapeView<S, Color>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape { | |
_ShapeView<S, Self>._makeView(view: view, inputs: inputs) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public protocol Layout : Animatable { | |
static var layoutProperties: LayoutProperties { get } | |
associatedtype Cache = Void | |
typealias Subviews = LayoutSubviews | |
func makeCache(subviews: Self.Subviews) -> Self.Cache | |
func updateCache(_ cache: inout Self.Cache, subviews: Self.Subviews) | |
func spacing(subviews: Self.Subviews, cache: inout Self.Cache) -> ViewSpacing | |
func sizeThatFits(proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGSize | |
func placeSubviews(in bounds: CGRect, proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) | |
func explicitAlignment(of guide: HorizontalAlignment, in bounds: CGRect, proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGFloat? | |
func explicitAlignment(of guide: VerticalAlignment, in bounds: CGRect, proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGFloat? | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
static func _makeLayoutView(root: _GraphValue<Self>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Layout { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public static func _makeLayoutView(root: _GraphValue<Self>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
public static var layoutProperties: LayoutProperties { | |
get | |
} | |
public func updateCache(_ cache: inout Self.Cache, subviews: Self.Subviews) | |
public func explicitAlignment(of guide: HorizontalAlignment, in bounds: CGRect, proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGFloat? | |
public func explicitAlignment(of guide: VerticalAlignment, in bounds: CGRect, proposal: ProposedViewSize, subviews: Self.Subviews, cache: inout Self.Cache) -> CGFloat? | |
public func spacing(subviews: Self.Subviews, cache: inout Self.Cache) -> ViewSpacing | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Layout where Self.Cache == () { | |
public func makeCache(subviews: Self.Subviews) -> Self.Cache | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct LayoutProperties : Sendable { | |
public init() | |
public var stackOrientation: Axis? | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct ProposedViewSize : Equatable { | |
public var width: CGFloat? | |
public var height: CGFloat? | |
public static let zero: ProposedViewSize | |
public static let unspecified: ProposedViewSize | |
public static let infinity: ProposedViewSize | |
@inlinable public init(width: CGFloat?, height: CGFloat?) { | |
(self.width, self.height) = (width, height) | |
} | |
@inlinable public init(_ size: CGSize) { | |
self.init(width: size.width, height: size.height) | |
} | |
@inlinable public func replacingUnspecifiedDimensions(by size: CGSize = CGSize(width: 10, height: 10)) -> CGSize { | |
return CGSize(width: width ?? size.width, | |
height: height ?? size.height) | |
} | |
public static func == (a: ProposedViewSize, b: ProposedViewSize) -> Bool | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct ViewSpacing : Sendable { | |
public static let zero: ViewSpacing | |
public init() | |
public mutating func formUnion(_ other: ViewSpacing, edges: Edge.Set = .all) | |
public func union(_ other: ViewSpacing, edges: Edge.Set = .all) -> ViewSpacing | |
public func distance(to next: ViewSpacing, along axis: Axis) -> CGFloat | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct LayoutSubviews : Equatable, RandomAccessCollection, Sendable { | |
public typealias SubSequence = LayoutSubviews | |
public typealias Element = LayoutSubview | |
public typealias Index = Int | |
public var layoutDirection: LayoutDirection | |
public var startIndex: Int { | |
get | |
} | |
public var endIndex: Int { | |
get | |
} | |
public subscript(index: Int) -> LayoutSubviews.Element { | |
get | |
} | |
public subscript(bounds: Range<Int>) -> LayoutSubviews { | |
get | |
} | |
public subscript<S>(indices: S) -> LayoutSubviews where S : Sequence, S.Element == Int { | |
get | |
} | |
public static func == (lhs: LayoutSubviews, rhs: LayoutSubviews) -> Bool | |
public typealias Indices = Range<LayoutSubviews.Index> | |
public typealias Iterator = IndexingIterator<LayoutSubviews> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct LayoutSubview : Equatable { | |
public func _trait<K>(key: K.Type) -> K.Value where K : _ViewTraitKey | |
public subscript<K>(key: K.Type) -> K.Value where K : LayoutValueKey { | |
get | |
} | |
public var priority: Double { | |
get | |
} | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
public func dimensions(in proposal: ProposedViewSize) -> ViewDimensions | |
public var spacing: ViewSpacing { | |
get | |
} | |
public func place(at position: CGPoint, anchor: UnitPoint = .topLeading, proposal: ProposedViewSize) | |
public static func == (a: LayoutSubview, b: LayoutSubview) -> Bool | |
} | |
@available(*, unavailable) | |
extension LayoutSubview : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public protocol LayoutValueKey { | |
associatedtype Value | |
static var defaultValue: Self.Value { get } | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
@inlinable public func layoutValue<K>(key: K.Type, value: K.Value) -> some View where K : LayoutValueKey { | |
return _trait(_LayoutTrait<K>.self, value) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct _LayoutTrait<K> : _ViewTraitKey where K : LayoutValueKey { | |
public static var defaultValue: K.Value { | |
get | |
} | |
public typealias Value = K.Value | |
} | |
@available(*, unavailable) | |
extension _LayoutTrait : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Layout { | |
@_alwaysEmitIntoClient @_disfavoredOverload public func callAsFunction<V>(@ViewBuilder _ content: () -> V) -> some View where V : View { | |
return _VariadicView.Tree( | |
root: _LayoutRoot(self), content: content()) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _LayoutRoot<L> : _VariadicView.UnaryViewRoot where L : Layout { | |
@usableFromInline | |
internal var layout: L | |
@inlinable internal init(_ layout: L) { self.layout = layout } | |
public static func _makeView(root: _GraphValue<_LayoutRoot<L>>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _LayoutRoot : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension FormStyle where Self == GroupedFormStyle { | |
public static var grouped: GroupedFormStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct GroupedFormStyle : FormStyle { | |
public init() | |
public func makeBody(configuration: GroupedFormStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16GroupedFormStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension GroupedFormStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle where Self == LinearGradient { | |
@_alwaysEmitIntoClient public static func linearGradient(_ gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint) -> LinearGradient { | |
.init(gradient: gradient, startPoint: startPoint, endPoint: endPoint) | |
} | |
@_alwaysEmitIntoClient public static func linearGradient(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint) -> LinearGradient { | |
.init(colors: colors, startPoint: startPoint, endPoint: endPoint) | |
} | |
@_alwaysEmitIntoClient public static func linearGradient(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint) -> LinearGradient { | |
.init(stops: stops, startPoint: startPoint, endPoint: endPoint) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle where Self == RadialGradient { | |
@_alwaysEmitIntoClient public static func radialGradient(_ gradient: Gradient, center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) -> RadialGradient { | |
.init( | |
gradient: gradient, center: center, | |
startRadius: startRadius, endRadius: endRadius) | |
} | |
@_alwaysEmitIntoClient public static func radialGradient(colors: [Color], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) -> RadialGradient { | |
.init( | |
colors: colors, center: center, | |
startRadius: startRadius, endRadius: endRadius) | |
} | |
@_alwaysEmitIntoClient public static func radialGradient(stops: [Gradient.Stop], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) -> RadialGradient { | |
.init( | |
stops: stops, center: center, | |
startRadius: startRadius, endRadius: endRadius) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ShapeStyle where Self == EllipticalGradient { | |
@_alwaysEmitIntoClient public static func ellipticalGradient(_ gradient: Gradient, center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) -> EllipticalGradient { | |
.init( | |
gradient: gradient, center: center, | |
startRadiusFraction: startRadiusFraction, | |
endRadiusFraction: endRadiusFraction) | |
} | |
@_alwaysEmitIntoClient public static func ellipticalGradient(colors: [Color], center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) -> EllipticalGradient { | |
.init( | |
colors: colors, center: center, | |
startRadiusFraction: startRadiusFraction, | |
endRadiusFraction: endRadiusFraction) | |
} | |
@_alwaysEmitIntoClient public static func ellipticalGradient(stops: [Gradient.Stop], center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) -> EllipticalGradient { | |
.init( | |
stops: stops, center: center, | |
startRadiusFraction: startRadiusFraction, | |
endRadiusFraction: endRadiusFraction) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle where Self == AngularGradient { | |
@_alwaysEmitIntoClient public static func angularGradient(_ gradient: Gradient, center: UnitPoint, startAngle: Angle, endAngle: Angle) -> AngularGradient { | |
.init( | |
gradient: gradient, center: center, | |
startAngle: startAngle, endAngle: endAngle) | |
} | |
@_alwaysEmitIntoClient public static func angularGradient(colors: [Color], center: UnitPoint, startAngle: Angle, endAngle: Angle) -> AngularGradient { | |
.init( | |
colors: colors, center: center, | |
startAngle: startAngle, endAngle: endAngle) | |
} | |
@_alwaysEmitIntoClient public static func angularGradient(stops: [Gradient.Stop], center: UnitPoint, startAngle: Angle, endAngle: Angle) -> AngularGradient { | |
.init( | |
stops: stops, center: center, | |
startAngle: startAngle, endAngle: endAngle) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle where Self == AngularGradient { | |
@_alwaysEmitIntoClient public static func conicGradient(_ gradient: Gradient, center: UnitPoint, angle: Angle = .zero) -> AngularGradient { | |
.init(gradient: gradient, center: center, angle: angle) | |
} | |
@_alwaysEmitIntoClient public static func conicGradient(colors: [Color], center: UnitPoint, angle: Angle = .zero) -> AngularGradient { | |
.init(colors: colors, center: center, angle: angle) | |
} | |
@_alwaysEmitIntoClient public static func conicGradient(stops: [Gradient.Stop], center: UnitPoint, angle: Angle = .zero) -> AngularGradient { | |
.init(stops: stops, center: center, angle: angle) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct LinearGradient : ShapeStyle, View, Sendable { | |
internal var gradient: Gradient | |
internal var startPoint: UnitPoint | |
internal var endPoint: UnitPoint | |
public init(gradient: Gradient, startPoint: UnitPoint, endPoint: UnitPoint) | |
@_alwaysEmitIntoClient public init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint) { | |
self.init( | |
gradient: Gradient(colors: colors), | |
startPoint: startPoint, endPoint: endPoint) | |
} | |
@_alwaysEmitIntoClient public init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint) { | |
self.init( | |
gradient: Gradient(stops: stops), | |
startPoint: startPoint, endPoint: endPoint) | |
} | |
@available(*, deprecated, message: "obsolete") | |
@_alwaysEmitIntoClient public static func _makeView<S>(view: _GraphValue<_ShapeView<S, LinearGradient>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape { | |
_ShapeView<S, Self>._makeView(view: view, inputs: inputs) | |
} | |
public typealias Body = _ShapeView<Rectangle, LinearGradient> | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct RadialGradient : ShapeStyle, View, Sendable { | |
internal var gradient: Gradient | |
internal var center: UnitPoint | |
internal var startRadius: CGFloat | |
internal var endRadius: CGFloat | |
public init(gradient: Gradient, center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) | |
@_alwaysEmitIntoClient public init(colors: [Color], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) { | |
self.init( | |
gradient: Gradient(colors: colors), center: center, | |
startRadius: startRadius, endRadius: endRadius) | |
} | |
@_alwaysEmitIntoClient public init(stops: [Gradient.Stop], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat) { | |
self.init( | |
gradient: Gradient(stops: stops), center: center, | |
startRadius: startRadius, endRadius: endRadius) | |
} | |
@available(*, deprecated, message: "obsolete") | |
@_alwaysEmitIntoClient public static func _makeView<S>(view: _GraphValue<_ShapeView<S, RadialGradient>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape { | |
_ShapeView<S, Self>._makeView(view: view, inputs: inputs) | |
} | |
public typealias Body = _ShapeView<Rectangle, RadialGradient> | |
public typealias Resolved = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct EllipticalGradient : ShapeStyle, View, Sendable { | |
internal var gradient: Gradient | |
internal var center: UnitPoint | |
internal var startRadiusFraction: CGFloat | |
internal var endRadiusFraction: CGFloat | |
public init(gradient: Gradient, center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) | |
public init(colors: [Color], center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) | |
public init(stops: [Gradient.Stop], center: UnitPoint = .center, startRadiusFraction: CGFloat = 0, endRadiusFraction: CGFloat = 0.5) | |
public typealias Body = _ShapeView<Rectangle, EllipticalGradient> | |
public typealias Resolved = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct AngularGradient : ShapeStyle, View, Sendable { | |
internal var gradient: Gradient | |
internal var center: UnitPoint | |
internal var startAngle: Angle | |
internal var endAngle: Angle | |
public init(gradient: Gradient, center: UnitPoint, startAngle: Angle = .zero, endAngle: Angle = .zero) | |
@_alwaysEmitIntoClient public init(colors: [Color], center: UnitPoint, startAngle: Angle, endAngle: Angle) { | |
self.init(gradient: Gradient(colors: colors), center: center, | |
startAngle: startAngle, endAngle: endAngle) | |
} | |
@_alwaysEmitIntoClient public init(stops: [Gradient.Stop], center: UnitPoint, startAngle: Angle, endAngle: Angle) { | |
self.init(gradient: Gradient(stops: stops), center: center, | |
startAngle: startAngle, endAngle: endAngle) | |
} | |
public init(gradient: Gradient, center: UnitPoint, angle: Angle = .zero) | |
@_alwaysEmitIntoClient public init(colors: [Color], center: UnitPoint, angle: Angle = .zero) { | |
self.init(gradient: Gradient(colors: colors), center: center, | |
angle: angle) | |
} | |
@_alwaysEmitIntoClient public init(stops: [Gradient.Stop], center: UnitPoint, angle: Angle = .zero) { | |
self.init(gradient: Gradient(stops: stops), center: center, | |
angle: angle) | |
} | |
@available(*, deprecated, message: "obsolete") | |
@_alwaysEmitIntoClient public static func _makeView<S>(view: _GraphValue<_ShapeView<S, AngularGradient>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape { | |
_ShapeView<S, Self>._makeView(view: view, inputs: inputs) | |
} | |
public typealias Body = _ShapeView<Rectangle, AngularGradient> | |
public typealias Resolved = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func buttonBorderShape(_ shape: ButtonBorderShape) -> some View { | |
environment(\._buttonBorderShape, shape) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct ButtonBorderShape : Equatable, Sendable { | |
public static let automatic: ButtonBorderShape | |
@available(macOS 14.0, tvOS 17.0, *) | |
public static let capsule: ButtonBorderShape | |
public static let roundedRectangle: ButtonBorderShape | |
@available(macOS 14.0, tvOS 17.0, *) | |
public static func roundedRectangle(radius: CGFloat) -> ButtonBorderShape | |
@available(iOS 17.0, macOS 14.0, tvOS 16.4, watchOS 10.0, *) | |
public static let circle: ButtonBorderShape | |
public static func == (a: ButtonBorderShape, b: ButtonBorderShape) -> Bool | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ButtonBorderShape : Shape { | |
public func path(in rect: CGRect) -> Path | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = _ShapeView<ButtonBorderShape, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Shape where Self == ButtonBorderShape { | |
public static var buttonBorder: ButtonBorderShape { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var _buttonBorderShape: ButtonBorderShape { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct AccessibilityAttachmentModifier : ViewModifier { | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension AccessibilityAttachmentModifier : Sendable { | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
extension NavigationViewStyle where Self == DefaultNavigationViewStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultNavigationViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationStack or NavigationSplitView instead") | |
public struct DefaultNavigationViewStyle : NavigationViewStyle { | |
public init() | |
public func _body(configuration: _NavigationViewStyleConfiguration) -> some View | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _columnBasedBody(configuration: _NavigationViewStyleConfiguration) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI26DefaultNavigationViewStyleV5_body13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
public typealias _Body2 = @_opaqueReturnTypeOf("$s7SwiftUI26DefaultNavigationViewStyleV16_columnBasedBody13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultNavigationViewStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Image { | |
public init(_ cgImage: CGImage, scale: CGFloat, orientation: Image.Orientation = .up, label: Text) | |
public init(decorative cgImage: CGImage, scale: CGFloat, orientation: Image.Orientation = .up) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _CoordinateSpaceModifier<Name> : ViewModifier, Equatable where Name : Hashable { | |
public var name: Name | |
@inlinable public init(name: Name) { | |
self.name = name | |
} | |
public static func _makeViewInputs(modifier: _GraphValue<_CoordinateSpaceModifier<Name>>, inputs: inout _ViewInputs) | |
public static func == (a: _CoordinateSpaceModifier<Name>, b: _CoordinateSpaceModifier<Name>) -> Bool | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _CoordinateSpaceModifier : Sendable { | |
} | |
extension View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use coordinateSpace(_:) instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use coordinateSpace(_:) instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use coordinateSpace(_:) instead") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use coordinateSpace(_:) instead") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use coordinateSpace(_:) instead") | |
@inlinable public func coordinateSpace<T>(name: T) -> some View where T : Hashable { | |
return modifier(_CoordinateSpaceModifier(name: name)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
public func coordinateSpace(_ name: NamedCoordinateSpace) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct ControlGroup<Content> : View where Content : View { | |
public init(@ViewBuilder content: () -> Content) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI12ControlGroupV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension ControlGroup : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct LabeledControlGroupContent<Content, Label> : View where Content : View, Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI26LabeledControlGroupContentV4bodyQrvp", 0) __<Content, Label> | |
} | |
@available(*, unavailable) | |
extension LabeledControlGroupContent : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroup where Content == ControlGroupStyleConfiguration.Content { | |
public init(_ configuration: ControlGroupStyleConfiguration) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroup { | |
public init<C, L>(@ViewBuilder content: () -> C, @ViewBuilder label: () -> L) where Content == LabeledControlGroupContent<C, L>, C : View, L : View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroup { | |
@_alwaysEmitIntoClient public init<C>(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Text>, C : View { | |
self.init(content: content) { | |
Text(titleKey) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<C, S>(_ title: S, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Text>, C : View, S : StringProtocol { | |
self.init(content: content) { | |
Text(title) | |
} | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroup { | |
@_alwaysEmitIntoClient public init<C>(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View { | |
self.init(content: content) { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<C, S>(_ title: S, systemImage: String, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View, S : StringProtocol { | |
self.init(content: content) { | |
Label(title, systemImage: systemImage) | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroup { | |
public init<C>(_ titleKey: LocalizedStringKey, image: ImageResource, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View | |
@_disfavoredOverload public init<C, S>(_ title: S, image: ImageResource, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View, S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ShapeStyle where Self == HierarchicalShapeStyle { | |
@_alwaysEmitIntoClient public static var primary: HierarchicalShapeStyle { | |
get { .primary } | |
} | |
@_alwaysEmitIntoClient public static var secondary: HierarchicalShapeStyle { | |
get { .secondary } | |
} | |
@_alwaysEmitIntoClient public static var tertiary: HierarchicalShapeStyle { | |
get { .tertiary } | |
} | |
@_alwaysEmitIntoClient public static var quaternary: HierarchicalShapeStyle { | |
get { .quaternary } | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, macCatalyst 15.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle where Self == HierarchicalShapeStyle { | |
@_alwaysEmitIntoClient public static var quinary: HierarchicalShapeStyle { | |
get { .quinary } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct HierarchicalShapeStyle : ShapeStyle { | |
internal var id: UInt32 | |
public static let primary: HierarchicalShapeStyle | |
public static let secondary: HierarchicalShapeStyle | |
public static let tertiary: HierarchicalShapeStyle | |
public static let quaternary: HierarchicalShapeStyle | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public typealias Resolved = Never | |
} | |
@available(iOS 16.0, macOS 12.0, macCatalyst 15.0, tvOS 17.0, watchOS 10.0, *) | |
extension HierarchicalShapeStyle { | |
public static let quinary: HierarchicalShapeStyle | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ShapeStyle { | |
@_alwaysEmitIntoClient public var secondary: some ShapeStyle { | |
get { | |
HierarchicalShapeStyleModifier(base: self, level: 1) | |
} | |
} | |
@_alwaysEmitIntoClient public var tertiary: some ShapeStyle { | |
get { | |
HierarchicalShapeStyleModifier(base: self, level: 2) | |
} | |
} | |
@_alwaysEmitIntoClient public var quaternary: some ShapeStyle { | |
get { | |
HierarchicalShapeStyleModifier(base: self, level: 3) | |
} | |
} | |
@_alwaysEmitIntoClient public var quinary: some ShapeStyle { | |
get { | |
HierarchicalShapeStyleModifier(base: self, level: 4) | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen public struct HierarchicalShapeStyleModifier<Base> : ShapeStyle where Base : ShapeStyle { | |
@usableFromInline | |
internal var base: Base | |
@usableFromInline | |
internal var level: Int | |
@_alwaysEmitIntoClient internal init(base: Base, level: Int) { | |
(self.base, self.level) = (base, level) | |
} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
public typealias Resolved = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == BlurReplaceTransition { | |
@_alwaysEmitIntoClient public static func blurReplace(_ config: BlurReplaceTransition.Configuration = .downUp) -> Self { | |
return Self(configuration: config) | |
} | |
@_alwaysEmitIntoClient public static var blurReplace: BlurReplaceTransition { | |
get { blurReplace(.downUp) } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct BlurReplaceTransition : Transition { | |
public struct Configuration : Equatable { | |
public static let downUp: BlurReplaceTransition.Configuration | |
public static let upUp: BlurReplaceTransition.Configuration | |
public static func == (a: BlurReplaceTransition.Configuration, b: BlurReplaceTransition.Configuration) -> Bool | |
} | |
public var configuration: BlurReplaceTransition.Configuration | |
public init(configuration: BlurReplaceTransition.Configuration) | |
public func body(content: BlurReplaceTransition.Content, phase: TransitionPhase) -> some View | |
public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21BlurReplaceTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0E5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BlurReplaceTransition : Sendable { | |
} | |
@available(*, unavailable) | |
extension BlurReplaceTransition.Configuration : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DocumentConfiguration { | |
public var isEditable: Bool { | |
get | |
} | |
public var fileURL: URL? { | |
get | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DocumentConfiguration : Sendable { | |
} | |
extension EnvironmentValues { | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public var documentConfiguration: DocumentConfiguration? { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @propertyWrapper public struct EnvironmentObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject { | |
@dynamicMemberLookup @frozen public struct Wrapper { | |
internal let root: ObjectType | |
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { | |
get | |
} | |
} | |
@inlinable @MainActor(unsafe) public var wrappedValue: ObjectType { | |
get { | |
guard let store = _store else { error() } | |
return store | |
} | |
} | |
@inlinable @MainActor(unsafe) internal var optionalWrappedValue: ObjectType? { | |
get { | |
_store | |
} | |
} | |
@usableFromInline | |
internal var _store: ObjectType? | |
@usableFromInline | |
internal var _seed: Int = 0 | |
@MainActor(unsafe) public var projectedValue: EnvironmentObject<ObjectType>.Wrapper { | |
get | |
} | |
@usableFromInline | |
internal func error() -> Never | |
public init() | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(*, unavailable) | |
extension EnvironmentObject.Wrapper : Sendable { | |
} | |
@available(*, unavailable) | |
extension EnvironmentObject : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentObject { | |
public static var _propertyBehaviors: UInt32 { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func environmentObject<T>(_ object: T) -> some View where T : ObservableObject { | |
environment(T.environmentStore, object) | |
} | |
} | |
extension Scene { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func environmentObject<T>(_ object: T) -> some Scene where T : ObservableObject | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ObservableObject { | |
@usableFromInline | |
internal static var environmentStore: WritableKeyPath<EnvironmentValues, Self?> { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension GaugeStyle where Self == AccessoryLinearGaugeStyle { | |
@_alwaysEmitIntoClient public static var accessoryLinear: AccessoryLinearGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct AccessoryLinearGaugeStyle : GaugeStyle { | |
public init() | |
public func makeBody(configuration: AccessoryLinearGaugeStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25AccessoryLinearGaugeStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AccessoryLinearGaugeStyle : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension WindowGroup { | |
public init<D, C>(id: String, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<D, C>(_ title: Text, id: String, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(_ titleKey: LocalizedStringKey, id: String, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, id: String, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, S : StringProtocol, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<D, C>(_ title: Text, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(_ titleKey: LocalizedStringKey, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, for type: D.Type, @ViewBuilder content: @escaping (Binding<D?>) -> C) where Content == PresentedWindowContent<D, C>, S : StringProtocol, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(id: String, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<D, C>(_ title: Text, id: String, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(_ titleKey: LocalizedStringKey, id: String, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, id: String, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, S : StringProtocol, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<D, C>(_ title: Text, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
public init<D, C>(_ titleKey: LocalizedStringKey, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, D : Decodable, D : Encodable, D : Hashable, C : View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, for type: D.Type = D.self, @ViewBuilder content: @escaping (Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == PresentedWindowContent<D, C>, S : StringProtocol, D : Decodable, D : Encodable, D : Hashable, C : View | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PresentedWindowContent<Data, Content> : View where Data : Decodable, Data : Encodable, Data : Hashable, Content : View { | |
public static func _makeViewList(view: _GraphValue<PresentedWindowContent<Data, Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension PresentedWindowContent : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension MenuStyle where Self == DefaultMenuStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultMenuStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct DefaultMenuStyle : MenuStyle { | |
public init() | |
public func makeBody(configuration: DefaultMenuStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16DefaultMenuStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultMenuStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ViewOutputs { | |
} | |
@available(*, unavailable) | |
extension _ViewOutputs : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _AnyAnimatableData : VectorArithmetic { | |
internal var vtable: _AnyAnimatableDataVTable.Type | |
internal var value: Any | |
public static var zero: _AnyAnimatableData { | |
get | |
} | |
public static func == (lhs: _AnyAnimatableData, rhs: _AnyAnimatableData) -> Bool | |
public static func += (lhs: inout _AnyAnimatableData, rhs: _AnyAnimatableData) | |
public static func -= (lhs: inout _AnyAnimatableData, rhs: _AnyAnimatableData) | |
@_transparent public static func + (lhs: _AnyAnimatableData, rhs: _AnyAnimatableData) -> _AnyAnimatableData { | |
var ret = lhs | |
ret += rhs | |
return ret | |
} | |
@_transparent public static func - (lhs: _AnyAnimatableData, rhs: _AnyAnimatableData) -> _AnyAnimatableData { | |
var ret = lhs | |
ret -= rhs | |
return ret | |
} | |
public mutating func scale(by rhs: Double) | |
public var magnitudeSquared: Double { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension _AnyAnimatableData : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal class _AnyAnimatableDataVTable { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension _AnyAnimatableDataVTable : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func accessibilityRotor<Content>(_ label: Text, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent | |
public func accessibilityRotor<Content>(_ systemRotor: AccessibilitySystemRotor, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent | |
public func accessibilityRotor<EntryModel>(_ rotorLabel: Text, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable | |
public func accessibilityRotor<EntryModel, ID>(_ rotorLabel: Text, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable | |
public func accessibilityRotor<EntryModel>(_ systemRotor: AccessibilitySystemRotor, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable | |
public func accessibilityRotor<EntryModel, ID>(_ systemRotor: AccessibilitySystemRotor, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable | |
public func accessibilityRotor(_ label: Text, textRanges: [Range<String.Index>]) -> some View | |
public func accessibilityRotor(_ systemRotor: AccessibilitySystemRotor, textRanges: [Range<String.Index>]) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func accessibilityRotor<Content>(_ labelKey: LocalizedStringKey, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent | |
@_disfavoredOverload public func accessibilityRotor<L, Content>(_ label: L, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where L : StringProtocol, Content : AccessibilityRotorContent | |
public func accessibilityRotor<EntryModel>(_ rotorLabelKey: LocalizedStringKey, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable | |
@_disfavoredOverload public func accessibilityRotor<L, EntryModel>(_ rotorLabel: L, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where L : StringProtocol, EntryModel : Identifiable | |
public func accessibilityRotor<EntryModel, ID>(_ rotorLabelKey: LocalizedStringKey, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable | |
@_disfavoredOverload public func accessibilityRotor<L, EntryModel, ID>(_ rotorLabel: L, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where L : StringProtocol, ID : Hashable | |
public func accessibilityRotor(_ labelKey: LocalizedStringKey, textRanges: [Range<String.Index>]) -> some View | |
@_disfavoredOverload public func accessibilityRotor<L>(_ label: L, textRanges: [Range<String.Index>]) -> some View where L : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AccessibilitySystemRotor : Sendable { | |
public static func links(visited: Bool) -> AccessibilitySystemRotor | |
public static var links: AccessibilitySystemRotor { | |
get | |
} | |
public static func headings(level: AccessibilityHeadingLevel) -> AccessibilitySystemRotor | |
public static var headings: AccessibilitySystemRotor { | |
get | |
} | |
public static var boldText: AccessibilitySystemRotor { | |
get | |
} | |
public static var italicText: AccessibilitySystemRotor { | |
get | |
} | |
public static var underlineText: AccessibilitySystemRotor { | |
get | |
} | |
public static var misspelledWords: AccessibilitySystemRotor { | |
get | |
} | |
public static var images: AccessibilitySystemRotor { | |
get | |
} | |
public static var textFields: AccessibilitySystemRotor { | |
get | |
} | |
public static var tables: AccessibilitySystemRotor { | |
get | |
} | |
public static var lists: AccessibilitySystemRotor { | |
get | |
} | |
public static var landmarks: AccessibilitySystemRotor { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Anchor<Value> { | |
fileprivate let box: AnchorValueBoxBase<Value> | |
@frozen public struct Source { | |
private var box: AnchorBoxBase<Value> | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Anchor.Source : Sendable where Value : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Anchor : Sendable where Value : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Anchor : Equatable where Value : Equatable { | |
public static func == (lhs: Anchor<Value>, rhs: Anchor<Value>) -> Bool | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Anchor : Hashable where Value : Hashable { | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnchorBoxBase<T> { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnchorBoxBase : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnchorBoxBase : @unchecked Sendable where T : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnchorValueBoxBase<T> { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnchorValueBoxBase : @unchecked Sendable where T : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Anchor.Source { | |
public init<T>(_ array: [Anchor<T>.Source]) where Value == [T] | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Anchor.Source { | |
public init<T>(_ anchor: Anchor<T>.Source?) where Value == T? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeBoolean<T>(_ key: String, fallback: T) -> T where T : ExpressibleByBooleanLiteral | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeFloat<T>(_ key: String, fallback: T) -> T where T : ExpressibleByFloatLiteral | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeInteger<T>(_ key: String, fallback: T) -> T where T : ExpressibleByIntegerLiteral | |
@available(iOS 14.0, macOS 11, tvOS 14.0, watchOS 7.0, *) | |
@_semantics("constant_evaluable") @_transparent public func __designTimeString(_ key: String, fallback: os.OSLogMessage) -> os.OSLogMessage { | |
fallback | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeString<T>(_ key: String, fallback: T) -> T where T : ExpressibleByStringLiteral | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeString<T>(_ key: String, fallback: T) -> T where T : ExpressibleByExtendedGraphemeClusterLiteral | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public func __designTimeApplyIncrementalValues(_ updates: [[String : Any]]) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public protocol FormStyle { | |
associatedtype Body : View | |
@ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = FormStyleConfiguration | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct FormStyleConfiguration { | |
public struct Content : View { | |
public typealias Body = Never | |
} | |
public let content: FormStyleConfiguration.Content | |
} | |
@available(*, unavailable) | |
extension FormStyleConfiguration : Sendable { | |
} | |
@available(*, unavailable) | |
extension FormStyleConfiguration.Content : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
public func formStyle<S>(_ style: S) -> some View where S : FormStyle | |
} | |
#if compiler(>=5.3) && $PrimaryAssociatedTypes2 | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol TableColumnContent<TableRowValue, TableColumnSortComparator> { | |
associatedtype TableRowValue : Identifiable = Self.TableColumnBody.TableRowValue | |
associatedtype TableColumnSortComparator : SortComparator = Self.TableColumnBody.TableColumnSortComparator | |
associatedtype TableColumnBody : TableColumnContent | |
var tableColumnBody: Self.TableColumnBody { get } | |
static func _makeContent(content: _GraphValue<Self>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
} | |
#else | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol TableColumnContent { | |
associatedtype TableRowValue : Identifiable = Self.TableColumnBody.TableRowValue | |
associatedtype TableColumnSortComparator : SortComparator = Self.TableColumnBody.TableColumnSortComparator | |
associatedtype TableColumnBody : TableColumnContent | |
var tableColumnBody: Self.TableColumnBody { get } | |
static func _makeContent(content: _GraphValue<Self>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
} | |
#endif | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _TableColumnInputs { | |
} | |
@available(*, unavailable) | |
extension _TableColumnInputs : Sendable { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _TableColumnOutputs { | |
} | |
@available(*, unavailable) | |
extension _TableColumnOutputs : Sendable { | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumnContent where Self.TableColumnSortComparator == Self.TableColumnBody.TableColumnSortComparator, Self.TableRowValue == Self.TableColumnBody.TableRowValue { | |
public static func _makeContent(content: _GraphValue<Self>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
} | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumnContent { | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Never : TableColumnContent { | |
public typealias TableColumnSortComparator = Never | |
public typealias TableColumnBody = Never | |
public var tableColumnBody: Never { | |
get | |
} | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_functionBuilder public struct TableColumnBuilder<RowValue, Sort> where RowValue : Identifiable, Sort : SortComparator { | |
@_alwaysEmitIntoClient public static func buildExpression<Content, Label>(_ column: TableColumn<RowValue, Sort, Content, Label>) -> TableColumn<RowValue, Sort, Content, Label> where Content : View, Label : View { | |
column | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildExpression<Content, Label>(_ column: TableColumn<RowValue, Never, Content, Label>) -> TableColumn<RowValue, Never, Content, Label> where Content : View, Label : View { | |
column | |
} | |
@_alwaysEmitIntoClient public static func buildExpression<Column>(_ column: Column) -> Column where RowValue == Column.TableRowValue, Sort == Column.TableColumnSortComparator, Column : TableColumnContent { | |
column | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildExpression<Column>(_ column: Column) -> Column where RowValue == Column.TableRowValue, Column : TableColumnContent, Column.TableColumnSortComparator == Never { | |
column | |
} | |
@_alwaysEmitIntoClient public static func buildBlock<Column>(_ column: Column) -> Column where RowValue == Column.TableRowValue, Sort == Column.TableColumnSortComparator, Column : TableColumnContent { | |
column | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildBlock<Column>(_ column: Column) -> Column where RowValue == Column.TableRowValue, Column : TableColumnContent, Column.TableColumnSortComparator == Never { | |
column | |
} | |
} | |
@available(*, unavailable) | |
extension TableColumnBuilder : Sendable { | |
} | |
#if compiler(>=5.3) && $PrimaryAssociatedTypes2 | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol Gesture<Value> { | |
associatedtype Value | |
static func _makeGesture(gesture: _GraphValue<Self>, inputs: _GestureInputs) -> _GestureOutputs<Self.Value> | |
associatedtype Body : Gesture | |
var body: Self.Body { get } | |
} | |
#else | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol Gesture { | |
associatedtype Value | |
static func _makeGesture(gesture: _GraphValue<Self>, inputs: _GestureInputs) -> _GestureOutputs<Self.Value> | |
associatedtype Body : Gesture | |
var body: Self.Body { get } | |
} | |
#endif | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Never : Gesture { | |
public typealias Value = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture where Self.Value == Self.Body.Value { | |
public static func _makeGesture(gesture: _GraphValue<Self>, inputs: _GestureInputs) -> _GestureOutputs<Self.Body.Value> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _GestureInputs { | |
} | |
@available(*, unavailable) | |
extension _GestureInputs : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _GestureOutputs<Value> { | |
} | |
@available(*, unavailable) | |
extension _GestureOutputs : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _ConditionalContent<TrueContent, FalseContent> { | |
@usableFromInline | |
@frozen internal enum Storage { | |
case trueContent(TrueContent) | |
case falseContent(FalseContent) | |
} | |
@usableFromInline | |
internal let storage: _ConditionalContent<TrueContent, FalseContent>.Storage | |
} | |
@available(*, unavailable) | |
extension _ConditionalContent.Storage : Sendable { | |
} | |
@available(*, unavailable) | |
extension _ConditionalContent : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ConditionalContent : View where TrueContent : View, FalseContent : View { | |
public typealias Body = Never | |
@usableFromInline | |
internal init(storage: _ConditionalContent<TrueContent, FalseContent>.Storage) | |
public static func _makeView(view: _GraphValue<_ConditionalContent<TrueContent, FalseContent>>, inputs: _ViewInputs) -> _ViewOutputs | |
public static func _makeViewList(view: _GraphValue<_ConditionalContent<TrueContent, FalseContent>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension ListStyle where Self == EllipticalListStyle { | |
@_alwaysEmitIntoClient public static var elliptical: EllipticalListStyle { | |
get { .init() } | |
} | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct EllipticalListStyle : ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<EllipticalListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<EllipticalListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension EllipticalListStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == NavigationControlGroupStyle { | |
@_alwaysEmitIntoClient public static var navigation: NavigationControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct NavigationControlGroupStyle : ControlGroupStyle { | |
public init() | |
@MainActor(unsafe) public func makeBody(configuration: NavigationControlGroupStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI27NavigationControlGroupStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension NavigationControlGroupStyle : Sendable { | |
} | |
@available(watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension TabViewStyle where Self == VerticalPageTabViewStyle { | |
@_alwaysEmitIntoClient public static var verticalPage: VerticalPageTabViewStyle { | |
get { .init() } | |
} | |
@_alwaysEmitIntoClient public static func verticalPage(transitionStyle: VerticalPageTabViewStyle.TransitionStyle) -> VerticalPageTabViewStyle { | |
.init(transitionStyle: transitionStyle) | |
} | |
} | |
@available(watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct VerticalPageTabViewStyle : TabViewStyle { | |
public init() | |
public init(transitionStyle: VerticalPageTabViewStyle.TransitionStyle) | |
public struct TransitionStyle { | |
public static let automatic: VerticalPageTabViewStyle.TransitionStyle | |
public static let blur: VerticalPageTabViewStyle.TransitionStyle | |
public static let identity: VerticalPageTabViewStyle.TransitionStyle | |
} | |
public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<VerticalPageTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<VerticalPageTabViewStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension VerticalPageTabViewStyle : Sendable { | |
} | |
@available(*, unavailable) | |
extension VerticalPageTabViewStyle.TransitionStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct ToolbarCommands : Commands { | |
public init() | |
public var body: some Commands { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15ToolbarCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension ToolbarCommands : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SidebarCommands : Commands { | |
public init() | |
public var body: some Commands { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15SidebarCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension SidebarCommands : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct InspectorCommands : Commands { | |
public init() | |
public var body: some Commands { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17InspectorCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension InspectorCommands : Sendable { | |
} | |
@available(macOS 12.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct ImportFromDevicesCommands : Commands { | |
public init() | |
public var body: some Commands { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25ImportFromDevicesCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension ImportFromDevicesCommands : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension CoordinateSpaceProtocol where Self == NamedCoordinateSpace { | |
public static func scrollView(axis: Axis) -> Self | |
public static var scrollView: NamedCoordinateSpace { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@propertyWrapper @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject { | |
@dynamicMemberLookup @frozen public struct Wrapper { | |
internal let root: ObjectType | |
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { | |
get | |
} | |
} | |
@usableFromInline | |
internal var _seed: Int = 0 | |
@_alwaysEmitIntoClient public init(initialValue: ObjectType) { | |
self.init(wrappedValue: initialValue) | |
} | |
public init(wrappedValue: ObjectType) | |
@MainActor(unsafe) public var wrappedValue: ObjectType | |
@MainActor(unsafe) public var projectedValue: ObservedObject<ObjectType>.Wrapper { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ObservedObject.Wrapper : Sendable { | |
} | |
@available(*, unavailable) | |
extension ObservedObject : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ObservedObject { | |
public static func _makeProperty<V>(in buffer: inout _DynamicPropertyBuffer, container: _GraphValue<V>, fieldOffset: Int, inputs: inout _GraphInputs) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ObservedObject { | |
public static var _propertyBehaviors: UInt32 { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _ForegroundLayerViewModifier { | |
@inlinable public init() {} | |
public typealias AnimatableData = EmptyAnimatableData | |
public typealias Body = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _ForegroundLayerColorMatrixEffect { | |
public var foreground: _ColorMatrix | |
public var background: _ColorMatrix | |
@inlinable public init(foreground: _ColorMatrix = .init(), background: _ColorMatrix = .init()) { | |
(self.foreground, self.background) = (foreground, background) | |
} | |
public static func _makeView(modifier: _GraphValue<_ForegroundLayerColorMatrixEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EquatableView<Content> : View where Content : Equatable, Content : View { | |
public var content: Content | |
@inlinable public init(content: Content) { | |
self.content = content | |
} | |
public static func _makeView(view: _GraphValue<EquatableView<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension EquatableView : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View where Self : Equatable { | |
@inlinable public func equatable() -> EquatableView<Self> { | |
return EquatableView(content: self) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable public func foregroundStyle<S>(_ style: S) -> some View where S : ShapeStyle { | |
modifier(_ForegroundStyleModifier(style: style)) | |
} | |
@inlinable public func foregroundStyle<S1, S2>(_ primary: S1, _ secondary: S2) -> some View where S1 : ShapeStyle, S2 : ShapeStyle { | |
modifier(_ForegroundStyleModifier2( | |
primary: primary, secondary: secondary)) | |
} | |
@inlinable public func foregroundStyle<S1, S2, S3>(_ primary: S1, _ secondary: S2, _ tertiary: S3) -> some View where S1 : ShapeStyle, S2 : ShapeStyle, S3 : ShapeStyle { | |
modifier(_ForegroundStyleModifier3( | |
primary: primary, secondary: secondary, tertiary: tertiary)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ForegroundStyleModifier<Style> where Style : ShapeStyle { | |
public var style: Style | |
@inlinable public init(style: Style) { | |
self.style = style | |
} | |
public static func _makeViewInputs(modifier: _GraphValue<_ForegroundStyleModifier<Style>>, inputs: inout _ViewInputs) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ForegroundStyleModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ForegroundStyleModifier2<S1, S2> where S1 : ShapeStyle, S2 : ShapeStyle { | |
public var primary: S1 | |
public var secondary: S2 | |
@inlinable public init(primary: S1, secondary: S2) { | |
self.primary = primary | |
self.secondary = secondary | |
} | |
public static func _makeViewInputs(modifier: _GraphValue<_ForegroundStyleModifier2<S1, S2>>, inputs: inout _ViewInputs) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ForegroundStyleModifier2 : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ForegroundStyleModifier3<S1, S2, S3> where S1 : ShapeStyle, S2 : ShapeStyle, S3 : ShapeStyle { | |
public var primary: S1 | |
public var secondary: S2 | |
public var tertiary: S3 | |
@inlinable public init(primary: S1, secondary: S2, tertiary: S3) { | |
self.primary = primary | |
self.secondary = secondary | |
self.tertiary = tertiary | |
} | |
public static func _makeViewInputs(modifier: _GraphValue<_ForegroundStyleModifier3<S1, S2, S3>>, inputs: inout _ViewInputs) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ForegroundStyleModifier3 : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle where Self == ForegroundStyle { | |
@_alwaysEmitIntoClient public static var foreground: ForegroundStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ForegroundStyle : ShapeStyle { | |
@inlinable public init() {} | |
public static func _makeView<S>(view: _GraphValue<_ShapeView<S, ForegroundStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
public typealias Resolved = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ForegroundStyle { | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public static func _apply(to type: inout _ShapeStyle_ShapeType) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _ImplicitShapeStyle : ShapeStyle { | |
@inlinable internal init() {} | |
public func _apply(to shape: inout _ShapeStyle_Shape) | |
public typealias Resolved = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol Scene { | |
associatedtype Body : Scene | |
@SceneBuilder @MainActor(unsafe) var body: Self.Body { get } | |
static func _makeScene(scene: _GraphValue<Self>, inputs: _SceneInputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Scene { | |
public static func _makeScene(scene: _GraphValue<Self>, inputs: _SceneInputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Never : Scene { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct AutomaticMenuBarExtraStyle : MenuBarExtraStyle { | |
public typealias _Body = Never | |
public init() | |
public func _makeMenuBarExtra(_ value: _MenuBarExtraValue<AutomaticMenuBarExtraStyle>) -> _MenuBarExtraValue<AutomaticMenuBarExtraStyle> | |
} | |
@available(*, unavailable) | |
extension AutomaticMenuBarExtraStyle : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension MenuBarExtraStyle where Self == AutomaticMenuBarExtraStyle { | |
public static var automatic: AutomaticMenuBarExtraStyle { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressViewStyle where Self == DefaultProgressViewStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultProgressViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct DefaultProgressViewStyle : ProgressViewStyle { | |
public init() | |
public func makeBody(configuration: DefaultProgressViewStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24DefaultProgressViewStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultProgressViewStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, watchOS 8.0, *) | |
@available(tvOS, unavailable) | |
extension View { | |
public func swipeActions<T>(edge: HorizontalEdge = .trailing, allowsFullSwipe: Bool = true, @ViewBuilder content: () -> T) -> some View where T : View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Color { | |
public static let red: Color | |
public static let orange: Color | |
public static let yellow: Color | |
public static let green: Color | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static let mint: Color | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static let teal: Color | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static let cyan: Color | |
public static let blue: Color | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static let indigo: Color | |
public static let purple: Color | |
public static let pink: Color | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static let brown: Color | |
public static let white: Color | |
public static let gray: Color | |
public static let black: Color | |
public static let clear: Color | |
public static let primary: Color | |
public static let secondary: Color | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ShapeStyle where Self == Color { | |
@_alwaysEmitIntoClient public static var red: Color { | |
get { .red } | |
} | |
@_alwaysEmitIntoClient public static var orange: Color { | |
get { .orange } | |
} | |
@_alwaysEmitIntoClient public static var yellow: Color { | |
get { .yellow } | |
} | |
@_alwaysEmitIntoClient public static var green: Color { | |
get { .green } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public static var mint: Color { | |
get { .mint } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public static var teal: Color { | |
get { .teal } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public static var cyan: Color { | |
get { .cyan } | |
} | |
@_alwaysEmitIntoClient public static var blue: Color { | |
get { .blue } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public static var indigo: Color { | |
get { .indigo } | |
} | |
@_alwaysEmitIntoClient public static var purple: Color { | |
get { .purple } | |
} | |
@_alwaysEmitIntoClient public static var pink: Color { | |
get { .pink } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public static var brown: Color { | |
get { .brown } | |
} | |
@_alwaysEmitIntoClient public static var white: Color { | |
get { .white } | |
} | |
@_alwaysEmitIntoClient public static var gray: Color { | |
get { .gray } | |
} | |
@_alwaysEmitIntoClient public static var black: Color { | |
get { .black } | |
} | |
@_alwaysEmitIntoClient public static var clear: Color { | |
get { .clear } | |
} | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public protocol MenuBarExtraStyle { | |
associatedtype _Body : View | |
func _makeMenuBarExtra(_ value: _MenuBarExtraValue<Self>) -> _MenuBarExtraValue<Self> | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct _MenuBarExtraValue<Style> where Style : MenuBarExtraStyle { | |
} | |
@available(*, unavailable) | |
extension _MenuBarExtraValue : Sendable { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
public func menuBarExtraStyle<S>(_ style: S) -> some Scene where S : MenuBarExtraStyle | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct OnDeleteTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Optional<(IndexSet) -> Void> { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Optional<(IndexSet) -> Void> | |
} | |
@available(*, unavailable) | |
extension OnDeleteTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension DynamicViewContent { | |
@inlinable public func onDelete(perform action: Optional<(IndexSet) -> Void>) -> some DynamicViewContent { | |
return modifier(_TraitWritingModifier<OnDeleteTraitKey>(value: action)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsDeleteDisabledTraitKey : _ViewTraitKey { | |
@inlinable internal static var defaultValue: Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension IsDeleteDisabledTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable public func deleteDisabled(_ isDisabled: Bool) -> some View { | |
return _trait(IsDeleteDisabledTraitKey.self, isDisabled) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture { | |
public func onEnded(_ action: @escaping (Self.Value) -> Void) -> _EndedGesture<Self> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture where Self.Value : Equatable { | |
public func onChanged(_ action: @escaping (Self.Value) -> Void) -> _ChangedGesture<Self> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _EndedGesture<Content> where Content : Gesture { | |
public static func _makeGesture(gesture: _GraphValue<_EndedGesture<Content>>, inputs: _GestureInputs) -> _GestureOutputs<Content.Value> | |
public typealias Body = Never | |
public typealias Value = Content.Value | |
} | |
@available(*, unavailable) | |
extension _EndedGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ChangedGesture<Content> where Content : Gesture, Content.Value : Equatable { | |
public static func _makeGesture(gesture: _GraphValue<_ChangedGesture<Content>>, inputs: _GestureInputs) -> _GestureOutputs<Content.Value> | |
public typealias Body = Never | |
public typealias Value = Content.Value | |
} | |
@available(*, unavailable) | |
extension _ChangedGesture : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct CommandMenu<Content> : Commands where Content : View { | |
@available(iOS 15.0, macOS 12.0, *) | |
public static func _makeCommands(content: _GraphValue<CommandMenu<Content>>, inputs: _CommandsInputs) -> _CommandsOutputs | |
public init(_ nameKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
public init(_ name: Text, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ name: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
public var body: some Commands { | |
get | |
} | |
public func _resolve(into resolved: inout _ResolvedCommands) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11CommandMenuV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension CommandMenu : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public protocol WidgetConfiguration { | |
associatedtype Body : WidgetConfiguration | |
var body: Self.Body { get } | |
static func _makeWidgetConfiguration(widget: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension WidgetConfiguration { | |
public static func _makeWidgetConfiguration(widget: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension Never : WidgetConfiguration { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func _ignoresAutomaticPadding(_ ignoresPadding: Bool) -> some View | |
public func _automaticPadding(_ edgeInsets: EdgeInsets? = nil) -> some View | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_functionBuilder public struct KeyframesBuilder<Value> { | |
public static func buildExpression<K>(_ expression: K) -> K where Value == K.Value, K : KeyframeTrackContent | |
public static func buildArray(_ components: [some KeyframeTrackContent<Value>]) -> some KeyframeTrackContent<Value> | |
public static func buildEither<First, Second>(first component: First) -> KeyframeTrackContentBuilder<Value>.Conditional<Value, First, Second> where Value == First.Value, First : KeyframeTrackContent, Second : KeyframeTrackContent, First.Value == Second.Value | |
public static func buildEither<First, Second>(second component: Second) -> KeyframeTrackContentBuilder<Value>.Conditional<Value, First, Second> where Value == First.Value, First : KeyframeTrackContent, Second : KeyframeTrackContent, First.Value == Second.Value | |
public static func buildPartialBlock<K>(first: K) -> K where Value == K.Value, K : KeyframeTrackContent | |
public static func buildPartialBlock(accumulated: some KeyframeTrackContent<Value>, next: some KeyframeTrackContent<Value>) -> some KeyframeTrackContent<Value> | |
public static func buildBlock() -> some KeyframeTrackContent<Value> where Value : Animatable | |
public static func buildFinalResult<Content>(_ component: Content) -> KeyframeTrack<Value, Value, Content> where Value == Content.Value, Content : KeyframeTrackContent | |
public static func buildExpression<Content>(_ expression: Content) -> Content where Value == Content.Value, Content : Keyframes | |
public static func buildPartialBlock<Content>(first: Content) -> Content where Value == Content.Value, Content : Keyframes | |
public static func buildPartialBlock(accumulated: some Keyframes<Value>, next: some Keyframes<Value>) -> some Keyframes<Value> | |
public static func buildBlock() -> some Keyframes<Value> | |
public static func buildFinalResult<Content>(_ component: Content) -> Content where Value == Content.Value, Content : Keyframes | |
} | |
@available(*, unavailable) | |
extension KeyframesBuilder : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Text : Equatable, Sendable { | |
@usableFromInline | |
@frozen internal enum Storage : Equatable { | |
case verbatim(String) | |
case anyTextStorage(AnyTextStorage) | |
@usableFromInline | |
internal static func == (lhs: Text.Storage, rhs: Text.Storage) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
@frozen internal enum Modifier : Equatable { | |
case color(Color?) | |
case font(Font?) | |
case italic | |
case weight(Font.Weight?) | |
case kerning(CGFloat) | |
case tracking(CGFloat) | |
case baseline(CGFloat) | |
case rounded | |
case anyTextModifier(AnyTextModifier) | |
@usableFromInline | |
internal static func == (lhs: Text.Modifier, rhs: Text.Modifier) -> Bool | |
} | |
@usableFromInline | |
internal var storage: Text.Storage | |
@usableFromInline | |
internal var modifiers: [Text.Modifier] = [Modifier]() | |
@inlinable public init(verbatim content: String) { | |
storage = .verbatim(content) | |
} | |
@_disfavoredOverload public init<S>(_ content: S) where S : StringProtocol | |
public static func == (a: Text, b: Text) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Text.Storage : @unchecked Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Text.Modifier : @unchecked Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyTextStorage { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnyTextStorage : @unchecked Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension AnyTextStorage : CustomDebugStringConvertible { | |
@usableFromInline | |
internal var debugDescription: String { | |
get | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyTextModifier { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension AnyTextModifier : Sendable { | |
} | |
extension Text { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _resolveText(in environment: EnvironmentValues) -> String | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public enum _LocalizationInfo : Equatable { | |
case none | |
case verbatim(String) | |
case localized(key: String, tableName: String? = nil, bundle: Bundle? = nil, hasFormatting: Bool = false) | |
public static func == (a: _LocalizationInfo, b: _LocalizationInfo) -> Bool | |
} | |
@available(*, unavailable) | |
extension _LocalizationInfo : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Text { | |
public var _localizationInfo: _LocalizationInfo { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension List { | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, editActions: EditActions<Data>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, Data.Element.ID>, Data.Element.ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, editActions: EditActions<Data>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, Data.Element.ID>, Data.Element.ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, editActions: EditActions<Data>, selection: Binding<Set<SelectionValue>>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, ID>, ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, editActions: EditActions<Data>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, ID>, ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension List { | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, editActions: EditActions<Data>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, Data.Element.ID>, Data.Element.ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable | |
@available(watchOS, unavailable) | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, editActions: EditActions<Data>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, ID>, ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension List where SelectionValue == Never { | |
@MainActor(unsafe) public init<Data, RowContent>(_ data: Binding<Data>, editActions: EditActions<Data>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, Data.Element.ID>, Data.Element.ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable, Data.Index : Hashable | |
@MainActor(unsafe) public init<Data, ID, RowContent>(_ data: Binding<Data>, id: KeyPath<Data.Element, ID>, editActions: EditActions<Data>, @ViewBuilder rowContent: @escaping (Binding<Data.Element>) -> RowContent) where Content == ForEach<IndexedIdentifierCollection<Data, ID>, ID, EditableCollectionContent<RowContent, Data>>, Data : MutableCollection, Data : RandomAccessCollection, ID : Hashable, RowContent : View, Data.Index : Hashable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Text { | |
@_semantics("swiftui.init_with_localization") public init(_ key: LocalizedStringKey, tableName: String? = nil, bundle: Bundle? = nil, comment: StaticString? = nil) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation { | |
internal var key: String | |
internal var hasFormatting: Bool = false | |
private var arguments: [LocalizedStringKey.FormatArgument] | |
public init(_ value: String) | |
@_semantics("swiftui.localized_string_key.init_literal") public init(stringLiteral value: String) | |
@_semantics("swiftui.localized_string_key.init_interpolation") public init(stringInterpolation: LocalizedStringKey.StringInterpolation) | |
@usableFromInline | |
internal struct FormatArgument : Equatable { | |
@usableFromInline | |
internal static func == (lhs: LocalizedStringKey.FormatArgument, rhs: LocalizedStringKey.FormatArgument) -> Bool | |
} | |
public struct StringInterpolation : StringInterpolationProtocol { | |
@_semantics("swiftui.localized.interpolation_init") public init(literalCapacity: Int, interpolationCount: Int) | |
@_semantics("swiftui.localized.appendLiteral") public mutating func appendLiteral(_ literal: String) | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation(_ string: String) | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : ReferenceConvertible | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : ObjectiveC.NSObject | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation<F>(_ input: F.FormatInput, format: F) where F : FormatStyle, F.FormatInput : Equatable, F.FormatOutput == String | |
@_transparent public mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable { | |
appendInterpolation(value, specifier: formatSpecifier(T.self)) | |
} | |
@_semantics("swiftui.localized.appendInterpolation_param_specifier") public mutating func appendInterpolation<T>(_ value: T, specifier: String) where T : _FormatSpecifiable | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation(_ text: Text) | |
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@_semantics("swiftui.localized.appendInterpolation_@_specifier") public mutating func appendInterpolation(_ attributedString: AttributedString) | |
@available(*, unavailable, message: "Unsupported type for interpolation, see LocalizedStringKey.StringInterpolation for supported types.") | |
public mutating func appendInterpolation<T>(_ view: T) where T : View | |
public typealias StringLiteralType = String | |
} | |
public static func == (a: LocalizedStringKey, b: LocalizedStringKey) -> Bool | |
public typealias ExtendedGraphemeClusterLiteralType = String | |
public typealias StringLiteralType = String | |
public typealias UnicodeScalarLiteralType = String | |
} | |
@available(*, unavailable) | |
extension LocalizedStringKey.StringInterpolation : Sendable { | |
} | |
@available(*, unavailable) | |
extension LocalizedStringKey : Sendable { | |
} | |
@available(*, unavailable) | |
extension LocalizedStringKey.FormatArgument : Sendable { | |
} | |
@_alwaysEmitIntoClient internal var int64Specifier: String { | |
get { "%lld" } | |
} | |
@_alwaysEmitIntoClient internal var int32Specifier: String { | |
get { "%d" } | |
} | |
@_alwaysEmitIntoClient internal var uint64Specifier: String { | |
get { "%llu" } | |
} | |
@_alwaysEmitIntoClient internal var uint32Specifier: String { | |
get { "%u" } | |
} | |
@_alwaysEmitIntoClient internal var floatSpecifier: String { | |
get { "%f" } | |
} | |
@_alwaysEmitIntoClient internal var doubleSpecifier: String { | |
get { "%lf" } | |
} | |
@_alwaysEmitIntoClient @_semantics("constant_evaluable") internal func formatSpecifier<T>(_ type: T.Type) -> String { | |
switch type { | |
case is Int.Type: | |
fallthrough | |
case is Int64.Type: | |
return int64Specifier | |
case is Int8.Type: | |
fallthrough | |
case is Int16.Type: | |
fallthrough | |
case is Int32.Type: | |
return int32Specifier | |
case is UInt.Type: | |
fallthrough | |
case is UInt64.Type: | |
return uint64Specifier | |
case is UInt8.Type: | |
fallthrough | |
case is UInt16.Type: | |
fallthrough | |
case is UInt32.Type: | |
return uint32Specifier | |
case is Float.Type: | |
return floatSpecifier | |
case is CGFloat.Type: | |
fallthrough | |
case is Double.Type: | |
return doubleSpecifier | |
default: | |
return "%@" | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _FormatSpecifiable : Equatable { | |
associatedtype _Arg : CVarArg | |
var _arg: Self._Arg { get } | |
var _specifier: String { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Int : _FormatSpecifiable { | |
public var _arg: Int64 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Int8 : _FormatSpecifiable { | |
public var _arg: Int32 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Int16 : _FormatSpecifiable { | |
public var _arg: Int32 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Int32 : _FormatSpecifiable { | |
public var _arg: Int32 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Int64 : _FormatSpecifiable { | |
public var _arg: Int64 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension UInt : _FormatSpecifiable { | |
public var _arg: UInt64 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension UInt8 : _FormatSpecifiable { | |
public var _arg: UInt32 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension UInt16 : _FormatSpecifiable { | |
public var _arg: UInt32 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension UInt32 : _FormatSpecifiable { | |
public var _arg: UInt32 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension UInt64 : _FormatSpecifiable { | |
public var _arg: UInt64 { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Float : _FormatSpecifiable { | |
public var _arg: Float { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Double : _FormatSpecifiable { | |
public var _arg: Double { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension CGFloat : _FormatSpecifiable { | |
public var _arg: CGFloat { | |
get | |
} | |
public var _specifier: String { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _AccessibilityIgnoresInvertColorsViewModifier { | |
public var active: Bool | |
@inlinable public init(active: Bool) { self.active = active } | |
public static func _makeView(modifier: _GraphValue<_AccessibilityIgnoresInvertColorsViewModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
@inlinable public func accessibilityIgnoresInvertColors(_ active: Bool = true) -> some View { | |
return modifier( | |
_AccessibilityIgnoresInvertColorsViewModifier(active: active)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct SecureField<Label> : View where Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11SecureFieldV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension SecureField : Sendable { | |
} | |
extension SecureField where Label == Text { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload public init<S>(_ title: S, text: Binding<String>, prompt: Text?) where S : StringProtocol | |
} | |
extension SecureField { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
} | |
extension SecureField where Label == Text { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient public init(_ titleKey: LocalizedStringKey, text: Binding<String>) { | |
self.init(titleKey, text: text, onCommit: {}) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient @_disfavoredOverload public init<S>(_ title: S, text: Binding<String>) where S : StringProtocol { | |
self.init(title, text: text, onCommit: {}) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SecureField where Label == Text { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
public init(_ titleKey: LocalizedStringKey, text: Binding<String>, onCommit: @escaping () -> Void) | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Renamed SecureField.init(_:text:). Use View.onSubmit(of:_:) for functionality previously provided by the onCommit parameter.") | |
@_disfavoredOverload public init<S>(_ title: S, text: Binding<String>, onCommit: @escaping () -> Void) where S : StringProtocol | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct AnimationState<Value> where Value : VectorArithmetic { | |
public init() | |
public subscript<K>(key: K.Type) -> K.Value where K : AnimationStateKey { | |
get | |
set | |
} | |
} | |
@available(*, unavailable) | |
extension AnimationState : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public protocol AnimationStateKey { | |
associatedtype Value | |
static var defaultValue: Self.Value { get } | |
} | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(tvOS, introduced: 17.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
extension MenuStyle where Self == BorderlessButtonMenuStyle { | |
@_alwaysEmitIntoClient public static var borderlessButton: BorderlessButtonMenuStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(tvOS, introduced: 17.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(watchOS, unavailable) | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
public struct BorderlessButtonMenuStyle : MenuStyle { | |
public init() | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 11.0, deprecated: 12.0, message: "Use ``View/menuIndicator(_)`` instead.") | |
@available(visionOS, unavailable) | |
public init(showsMenuIndicator: Bool) | |
public func makeBody(configuration: BorderlessButtonMenuStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25BorderlessButtonMenuStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderlessButtonMenuStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 13.0, tvOS 17.0, watchOS 10.0, *) | |
public struct DialogSeverity : Equatable { | |
public static let automatic: DialogSeverity | |
public static let critical: DialogSeverity | |
@available(macOS 14.0, *) | |
public static let standard: DialogSeverity | |
public static func == (a: DialogSeverity, b: DialogSeverity) -> Bool | |
} | |
@available(*, unavailable) | |
extension DialogSeverity : Sendable { | |
} | |
@available(iOS 17.0, macOS 13.0, tvOS 17.0, watchOS 10.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
extension View { | |
public func dialogSeverity(_ severity: DialogSeverity) -> some View | |
} | |
extension EnvironmentValues { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public var undoManager: UndoManager? { | |
get | |
} | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == MenuControlGroupStyle { | |
@_alwaysEmitIntoClient public static var menu: MenuControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
public struct MenuControlGroupStyle : ControlGroupStyle { | |
public init() | |
@MainActor(unsafe) public func makeBody(configuration: MenuControlGroupStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21MenuControlGroupStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension MenuControlGroupStyle : Sendable { | |
} | |
@available(iOS 16.4, macOS 13.3, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == CompactMenuControlGroupStyle { | |
@_alwaysEmitIntoClient public static var compactMenu: CompactMenuControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.4, macOS 13.3, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct CompactMenuControlGroupStyle : ControlGroupStyle { | |
public init() | |
@MainActor(unsafe) public func makeBody(configuration: CompactMenuControlGroupStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI28CompactMenuControlGroupStyleV8makeBody13configurationQrAA0efG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension CompactMenuControlGroupStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public enum TextAlignment : Hashable, CaseIterable { | |
case leading | |
case center | |
case trailing | |
public static func == (a: TextAlignment, b: TextAlignment) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [TextAlignment] | |
public static var allCases: [TextAlignment] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Group : ToolbarContent where Content : ToolbarContent { | |
public init(@ToolbarContentBuilder content: () -> Content) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func _makeToolbar(content: _GraphValue<Group<Content>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
public static func _makeContent(content: _GraphValue<Group<Content>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Group : CustomizableToolbarContent where Content : CustomizableToolbarContent { | |
public init(@ToolbarContentBuilder content: () -> Content) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal struct TupleToolbarContent<T> : ToolbarContent, CustomizableToolbarContent { | |
@usableFromInline | |
internal init(_ value: T) | |
@usableFromInline | |
internal var body: Never { | |
get | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal static func _makeToolbar(content: _GraphValue<TupleToolbarContent<T>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
@usableFromInline | |
internal static func _makeContent(content: _GraphValue<TupleToolbarContent<T>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
@usableFromInline | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension TupleToolbarContent : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension NSUserActivity { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public enum TypedPayloadError : Error { | |
case invalidContent | |
case encodingError | |
public static func == (a: NSUserActivity.TypedPayloadError, b: NSUserActivity.TypedPayloadError) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
public func typedPayload<T>(_ type: T.Type) throws -> T where T : Decodable, T : Encodable | |
public func setTypedPayload<T>(_ payload: T) throws where T : Decodable, T : Encodable | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _ScrollViewBoundsModifier<Result> : ViewModifier where Result : ViewModifier { | |
public var transform: (CGRect?) -> Result | |
@inlinable public init(transform: @escaping (CGRect?) -> Result) { | |
self.transform = transform | |
} | |
public static func _makeView(modifier: _GraphValue<_ScrollViewBoundsModifier<Result>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ScrollViewBoundsModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ScrollViewBoundsModifier2<Result> : ViewModifier where Result : ViewModifier { | |
public var transform: (CGSize, CGRect?) -> Result | |
@inlinable public init(transform: @escaping (CGSize, CGRect?) -> Result) { | |
self.transform = transform | |
} | |
public static func _makeView(modifier: _GraphValue<_ScrollViewBoundsModifier2<Result>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ScrollViewBoundsModifier2 : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
@inlinable public func _onBindingChange<Value>(_ binding: Binding<Value>, perform action: @escaping (Value) -> Void) -> some View where Value : Equatable { | |
return modifier(_BindingActionModifier( | |
binding: binding, action: action)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _BindingActionModifier<Value> : ViewModifier where Value : Equatable { | |
public var binding: Binding<Value> | |
public var action: (Value) -> Void | |
@inlinable public init(binding: Binding<Value>, action: @escaping (Value) -> Void) { | |
(self.binding, self.action) = (binding, action) | |
} | |
public static func _makeView(modifier: _GraphValue<_BindingActionModifier<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
public static func _makeViewList(modifier: _GraphValue<_BindingActionModifier<Value>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BindingActionModifier : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _StrokedShape<S> : Shape where S : Shape { | |
public var shape: S | |
public var style: StrokeStyle | |
@inlinable public init(shape: S, style: StrokeStyle) { | |
self.shape = shape | |
self.style = style | |
} | |
public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<S.AnimatableData, StrokeStyle.AnimatableData> | |
public var animatableData: _StrokedShape<S>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
public typealias Body = _ShapeView<_StrokedShape<S>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Shape { | |
@inlinable public func stroke(style: StrokeStyle) -> some Shape { | |
return _StrokedShape(shape: self, style: style) | |
} | |
@inlinable public func stroke(lineWidth: CGFloat = 1) -> some Shape { | |
return stroke(style: StrokeStyle(lineWidth: lineWidth)) | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public enum EditMode : Sendable { | |
case inactive | |
case transient | |
case active | |
public var isEditing: Bool { | |
get | |
} | |
public static func == (a: EditMode, b: EditMode) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public var editMode: Binding<EditMode>? { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension TextFieldStyle where Self == PlainTextFieldStyle { | |
@_alwaysEmitIntoClient public static var plain: PlainTextFieldStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct PlainTextFieldStyle : TextFieldStyle { | |
public init() | |
public func _body(configuration: TextField<PlainTextFieldStyle._Label>) -> some View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI19PlainTextFieldStyleV5_body13configurationQrAA0dE0VyAA01_deF5LabelVG_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PlainTextFieldStyle : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension AnyTransition { | |
public func combined(with other: AnyTransition) -> AnyTransition | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition { | |
public func combined<T>(with other: T) -> some Transition where T : Transition | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public enum DynamicTypeSize : Hashable, Comparable, CaseIterable, Sendable { | |
case xSmall | |
case small | |
case medium | |
case large | |
case xLarge | |
case xxLarge | |
case xxxLarge | |
case accessibility1 | |
case accessibility2 | |
case accessibility3 | |
case accessibility4 | |
case accessibility5 | |
public var isAccessibilitySize: Bool { | |
get | |
} | |
public static func < (a: DynamicTypeSize, b: DynamicTypeSize) -> Bool | |
public static func == (a: DynamicTypeSize, b: DynamicTypeSize) -> Bool | |
public func hash(into hasher: inout Hasher) | |
public typealias AllCases = [DynamicTypeSize] | |
public static var allCases: [DynamicTypeSize] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
public var dynamicTypeSize: DynamicTypeSize { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func dynamicTypeSize(_ size: DynamicTypeSize) -> some View | |
public func dynamicTypeSize<T>(_ range: T) -> some View where T : RangeExpression, T.Bound == DynamicTypeSize | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ToolbarDefaultItemKind { | |
public static let sidebarToggle: ToolbarDefaultItemKind | |
} | |
@available(*, unavailable) | |
extension ToolbarDefaultItemKind : Sendable { | |
} | |
@available(iOS 15.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
extension PrimitiveButtonStyle where Self == BorderedButtonStyle { | |
@_alwaysEmitIntoClient public static var bordered: BorderedButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
public struct BorderedButtonStyle : PrimitiveButtonStyle { | |
public init() | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
@available(visionOS, unavailable) | |
public init(tint: Color) | |
public func makeBody(configuration: BorderedButtonStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI19BorderedButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderedButtonStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension Text { | |
public struct LineStyle : Hashable, Sendable { | |
public init(pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil) | |
public struct Pattern : Sendable { | |
public static let solid: Text.LineStyle.Pattern | |
public static let dot: Text.LineStyle.Pattern | |
public static let dash: Text.LineStyle.Pattern | |
public static let dashDot: Text.LineStyle.Pattern | |
public static let dashDotDot: Text.LineStyle.Pattern | |
} | |
public static let single: Text.LineStyle | |
public init?(nsUnderlineStyle: NSUnderlineStyle) | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: Text.LineStyle, b: Text.LineStyle) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension NSUnderlineStyle { | |
public init(_ lineStyle: Text.LineStyle) | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func underline(_ isActive: Bool = true, pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func strikethrough(_ isActive: Bool = true, pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture { | |
public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _MapGesture<Content, Value> where Content : Gesture { | |
public static func _makeGesture(gesture: _GraphValue<_MapGesture<Content, Value>>, inputs: _GestureInputs) -> _GestureOutputs<Value> | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _MapGesture : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_functionBuilder public struct SceneBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : Scene { | |
content | |
} | |
public static func buildBlock<Content>(_ content: Content) -> Content where Content : Scene | |
} | |
@available(*, unavailable) | |
extension SceneBuilder : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SceneBuilder { | |
@_alwaysEmitIntoClient public static func buildOptional(_ scene: (any Scene & _LimitedAvailabilitySceneMarker)?) -> some Scene { | |
if #available(iOS 16.1, macOS 13.0, watchOS 9.1, tvOS 16.1, *) { | |
return scene as! LimitedAvailabilityScene | |
} else { | |
return _EmptyScene() | |
} | |
} | |
@available(*, unavailable, message: "if statements in a SceneBuilder can only be used with #available clauses") | |
public static func buildOptional<S>(_ scene: S?) where S : Scene | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability(_ scene: some Scene) -> any Scene & _LimitedAvailabilitySceneMarker { | |
if #available(iOS 16.1, macOS 13.0, watchOS 9.1, tvOS 16.1, *) { | |
return LimitedAvailabilityScene(scene) | |
} else { | |
fatalError("Unavailable") | |
} | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_marker public protocol _LimitedAvailabilitySceneMarker { | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, tvOS 16.0, *) | |
public func navigationDocument<D>(_ document: D) -> some View where D : Transferable | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public func navigationDocument<D>(_ document: D, preview: SharePreview<Never, Never>) -> some View where D : Transferable | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public func navigationDocument<D, I>(_ document: D, preview: SharePreview<Never, I>) -> some View where D : Transferable, I : Transferable | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public func navigationDocument<D, I>(_ document: D, preview: SharePreview<I, Never>) -> some View where D : Transferable, I : Transferable | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public func navigationDocument<D, I1, I2>(_ document: D, preview: SharePreview<I1, I2>) -> some View where D : Transferable, I1 : Transferable, I2 : Transferable | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, tvOS 16.0, *) | |
public func navigationDocument(_ url: URL) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension TabViewStyle where Self == DefaultTabViewStyle { | |
@_alwaysEmitIntoClient public static var automatic: DefaultTabViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct DefaultTabViewStyle : TabViewStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<DefaultTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
public static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<DefaultTabViewStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension DefaultTabViewStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PlainTextEditorStyle : TextEditorStyle { | |
public func makeBody(configuration: PlainTextEditorStyle.Configuration) -> some View | |
public init() | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI20PlainTextEditorStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PlainTextEditorStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextEditorStyle where Self == PlainTextEditorStyle { | |
@_alwaysEmitIntoClient public static var plain: PlainTextEditorStyle { | |
get { .init() } | |
} | |
} | |
extension TimelineView where Content : View { | |
@available(iOS 16.4, macOS 13.3, watchOS 9.4, tvOS 16.4, *) | |
@usableFromInline | |
@_disfavoredOverload internal init(_ schedule: Schedule, @ViewBuilder content: @escaping (TimelineView<PeriodicTimelineSchedule, Never>.Context) -> Content) | |
} | |
@available(iOS 13.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
extension DatePickerStyle where Self == WheelDatePickerStyle { | |
@_alwaysEmitIntoClient public static var wheel: WheelDatePickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct WheelDatePickerStyle : DatePickerStyle { | |
public init() | |
@available(iOS 16.0, watchOS 10.0, *) | |
public func makeBody(configuration: WheelDatePickerStyle.Configuration) -> some View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI20WheelDatePickerStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
public typealias _Body = EmptyView | |
} | |
@available(*, unavailable) | |
extension WheelDatePickerStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
public func accessibilityIdentifier(_ identifier: String) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityIdentifier(_ identifier: String) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension EnvironmentValues { | |
public var accessibilityEnabled: Bool { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
@inlinable public func listRowSpacing(_ spacing: CGFloat?) -> some View { | |
environment(\.listRowSpacing, spacing) | |
} | |
} | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
@usableFromInline | |
internal var listRowSpacing: CGFloat? { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public func toolbar(removing defaultItemKind: ToolbarDefaultItemKind?) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Gesture { | |
@inlinable public func exclusively<Other>(before other: Other) -> ExclusiveGesture<Self, Other> where Other : Gesture { | |
return ExclusiveGesture(self, other) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ExclusiveGesture<First, Second> : Gesture where First : Gesture, Second : Gesture { | |
@frozen public enum Value { | |
case first(First.Value) | |
case second(Second.Value) | |
} | |
public var first: First | |
public var second: Second | |
@inlinable public init(_ first: First, _ second: Second) { | |
(self.first, self.second) = (first, second) | |
} | |
public static func _makeGesture(gesture: _GraphValue<ExclusiveGesture<First, Second>>, inputs: _GestureInputs) -> _GestureOutputs<ExclusiveGesture<First, Second>.Value> | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ExclusiveGesture.Value : Sendable where First.Value : Sendable, Second.Value : Sendable { | |
} | |
@available(*, unavailable) | |
extension ExclusiveGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ExclusiveGesture.Value : Equatable where First.Value : Equatable, Second.Value : Equatable { | |
public static func == (a: ExclusiveGesture<First, Second>.Value, b: ExclusiveGesture<First, Second>.Value) -> Bool | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
public struct LongPressGesture : Gesture { | |
public var minimumDuration: Double | |
@available(tvOS, unavailable) | |
public var maximumDistance: CGFloat { | |
get | |
set | |
} | |
@available(tvOS, unavailable) | |
public init(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public init(minimumDuration: Double = 0.5) | |
public static func _makeGesture(gesture: _GraphValue<LongPressGesture>, inputs: _GestureInputs) -> _GestureOutputs<LongPressGesture.Value> | |
public typealias Value = Bool | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LongPressGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
extension View { | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public func onLongPressGesture(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10, perform action: @escaping () -> Void, onPressingChanged: ((Bool) -> Void)? = nil) -> some View { | |
onLongPressGesture( | |
minimumDuration: minimumDuration, | |
maximumDistance: maximumDistance, | |
pressing: onPressingChanged, | |
perform: action) | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_alwaysEmitIntoClient public func onLongPressGesture(minimumDuration: Double = 0.5, perform action: @escaping () -> Void, onPressingChanged: ((Bool) -> Void)? = nil) -> some View { | |
onLongPressGesture( | |
minimumDuration: minimumDuration, | |
pressing: onPressingChanged, | |
perform: action) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
extension View { | |
@available(iOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@available(macOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@available(tvOS, unavailable) | |
@available(watchOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@_disfavoredOverload public func onLongPressGesture(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View | |
@available(iOS, unavailable) | |
@available(tvOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:perform:onPressingChanged:)") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload public func onLongPressGesture(minimumDuration: Double = 0.5, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func confirmationDialog<A>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A) -> some View where A : View | |
@_disfavoredOverload public func confirmationDialog<S, A>(_ title: S, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A) -> some View where S : StringProtocol, A : View | |
public func confirmationDialog<A>(_ title: Text, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A) -> some View where A : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func confirmationDialog<A, M>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
@_disfavoredOverload public func confirmationDialog<S, A, M>(_ title: S, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where S : StringProtocol, A : View, M : View | |
public func confirmationDialog<A, M>(_ title: Text, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func confirmationDialog<A, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
@_disfavoredOverload public func confirmationDialog<S, A, T>(_ title: S, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where S : StringProtocol, A : View | |
public func confirmationDialog<A, T>(_ title: Text, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
public func confirmationDialog<A, M, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where A : View, M : View | |
@_disfavoredOverload public func confirmationDialog<S, A, M, T>(_ title: S, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where S : StringProtocol, A : View, M : View | |
public func confirmationDialog<A, M, T>(_ title: Text, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, presenting data: T?, @ViewBuilder actions: (T) -> A, @ViewBuilder message: (T) -> M) -> some View where A : View, M : View | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ContentUnavailableView<Label, Description, Actions> : View where Label : View, Description : View, Actions : View { | |
public init(@ViewBuilder label: () -> Label, @ViewBuilder description: () -> Description = { EmptyView() }, @ViewBuilder actions: () -> Actions = { EmptyView() }) | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22ContentUnavailableViewV4bodyQrvp", 0) __<Label, Description, Actions> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ContentUnavailableView where Label == Label<Text, Image>, Description == Text?, Actions == EmptyView { | |
public init(_ title: LocalizedStringKey, image name: String, description: Text? = nil) | |
public init(_ title: LocalizedStringKey, systemImage name: String, description: Text? = nil) | |
@_disfavoredOverload public init<S>(_ title: S, image name: String, description: Text? = nil) where S : StringProtocol | |
@_disfavoredOverload public init<S>(_ title: S, systemImage name: String, description: Text? = nil) where S : StringProtocol | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ContentUnavailableView where Label == SearchUnavailableContent.Label, Description == SearchUnavailableContent.Description, Actions == SearchUnavailableContent.Actions { | |
public static var search: ContentUnavailableView<SearchUnavailableContent.Label, SearchUnavailableContent.Description, SearchUnavailableContent.Actions> { | |
get | |
} | |
public static func search(text: String) -> ContentUnavailableView<Label, Description, Actions> | |
} | |
@available(*, unavailable) | |
extension ContentUnavailableView : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct SearchUnavailableContent { | |
public struct Label : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24SearchUnavailableContentV5LabelV4bodyQrvp", 0) __ | |
} | |
public struct Description : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24SearchUnavailableContentV11DescriptionV4bodyQrvp", 0) __ | |
} | |
public struct Actions : View { | |
@MainActor(unsafe) public var body: some View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI24SearchUnavailableContentV7ActionsV4bodyQrvp", 0) __ | |
} | |
} | |
@available(*, unavailable) | |
extension SearchUnavailableContent : Sendable { | |
} | |
@available(*, unavailable) | |
extension SearchUnavailableContent.Label : Sendable { | |
} | |
@available(*, unavailable) | |
extension SearchUnavailableContent.Description : Sendable { | |
} | |
@available(*, unavailable) | |
extension SearchUnavailableContent.Actions : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct AnyLayout : Layout { | |
internal var storage: AnyLayoutBox | |
public init<L>(_ layout: L) where L : Layout | |
public struct Cache { | |
} | |
public typealias AnimatableData = _AnyAnimatableData | |
public func makeCache(subviews: AnyLayout.Subviews) -> AnyLayout.Cache | |
public func updateCache(_ cache: inout AnyLayout.Cache, subviews: AnyLayout.Subviews) | |
public func spacing(subviews: AnyLayout.Subviews, cache: inout AnyLayout.Cache) -> ViewSpacing | |
public func sizeThatFits(proposal: ProposedViewSize, subviews: AnyLayout.Subviews, cache: inout AnyLayout.Cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment