Created
June 13, 2024 07:49
-
-
Save juliensagot/c4aab3876d0b84a96cdcca4c64ea6d9e to your computer and use it in GitHub Desktop.
SwiftUI Interface (from Xcode 16.0 Beta, 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 6.0 effective-5.10 (swiftlang-6.0.0.3.38 clang-1600.0.20.6) | |
// swift-module-flags: -target arm64e-apple-ios18.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -library-level api -enable-experimental-feature Macros -enable-experimental-feature ExtensionMacros -enable-experimental-feature IsolatedAny -enable-bare-slash-regex -user-module-version 6.0.70.5.103 -module-name SwiftUI -package-name SwiftUI | |
import Accessibility | |
import Combine | |
import CoreData | |
import CoreFoundation | |
@_exported import CoreGraphics | |
@_exported import CoreTransferable | |
import Darwin | |
@_exported import DeveloperToolsSupport | |
import Foundation | |
import OSLog | |
import Observation | |
import Spatial | |
import Swift | |
@_exported import SwiftUI | |
@_exported import SwiftUICore | |
import Symbols | |
import UIKit | |
import UniformTypeIdentifiers | |
import _Concurrency | |
import _StringProcessing | |
import _SwiftConcurrencyShims | |
import log | |
import os | |
import simd | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityValue(_ valueDescription: Text, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityValue(_ valueKey: LocalizedStringKey, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated public func accessibilityValue<S>(_ value: S, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityValue(_ valueDescription: Text, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
public func accessibilityValue(_ valueKey: LocalizedStringKey, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityValue<S>(_ value: S, isEnabled: Bool) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated public func accessibilityValue(_ valueDescription: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityValue(_ valueKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated 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 { | |
nonisolated 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 { | |
nonisolated public func accessibilityValue(_ valueKey: LocalizedStringKey) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated public func accessibility(value: Text) -> ModifiedContent<Content, Modifier> | |
} | |
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, *) | |
nonisolated 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, *) | |
nonisolated public func accessibilityShowsLargeContentViewer() -> some View | |
} | |
extension TextField where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S, F>(_ title: S, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where S : StringProtocol, F : ParseableFormatStyle, F.FormatOutput == String | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S, F>(_ title: S, value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil) where S : StringProtocol, F : ParseableFormatStyle, F.FormatOutput == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(_ titleKey: LocalizedStringKey, value: Binding<F.FormatInput>, format: F, prompt: Text? = nil) where F : ParseableFormatStyle, F.FormatOutput == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S, F>(_ title: S, value: Binding<F.FormatInput>, format: F, prompt: Text? = nil) where S : StringProtocol, F : ParseableFormatStyle, F.FormatOutput == String | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S, F>(_ title: S, value: Binding<F.FormatInput>, format: F, prompt: Text? = nil) where S : StringProtocol, F : ParseableFormatStyle, F.FormatOutput == String | |
#endif | |
} | |
extension TextField { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil, @ViewBuilder label: () -> Label) where F : ParseableFormatStyle, F.FormatOutput == String | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(value: Binding<F.FormatInput?>, format: F, prompt: Text? = nil, @ViewBuilder label: () -> Label) where F : ParseableFormatStyle, F.FormatOutput == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(value: Binding<F.FormatInput>, format: F, prompt: Text? = nil, @ViewBuilder label: () -> Label) where F : ParseableFormatStyle, F.FormatOutput == String | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<F>(value: Binding<F.FormatInput>, format: F, prompt: Text? = nil, @ViewBuilder label: () -> Label) where F : ParseableFormatStyle, F.FormatOutput == String | |
#endif | |
} | |
extension TextField where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter, prompt: Text?) | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<V>(_ titleKey: LocalizedStringKey, value: Binding<V>, formatter: Formatter, prompt: Text?) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter, prompt: Text?) where S : StringProtocol | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S, V>(_ title: S, value: Binding<V>, formatter: Formatter, prompt: Text?) where S : StringProtocol | |
#endif | |
} | |
extension TextField { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<V>(value: Binding<V>, formatter: Formatter, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init<V>(value: Binding<V>, formatter: Formatter, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
#endif | |
} | |
extension TextField where Label == Text { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient nonisolated 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 nonisolated 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.") | |
nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct SceneRestorationBehavior : Sendable { | |
public static let automatic: SceneRestorationBehavior | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let disabled: SceneRestorationBehavior | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Scene { | |
nonisolated public func restorationBehavior(_ behavior: SceneRestorationBehavior) -> some Scene | |
} | |
@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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<CarouselTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 @preconcurrency public var safeAreaRegions: SafeAreaRegions { | |
get | |
set | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
nonisolated public func navigationSplitViewColumnWidth(_ width: CGFloat) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func navigationSplitViewColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View | |
#else | |
nonisolated public func navigationSplitViewColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View | |
#endif | |
} | |
@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 | |
@MainActor @preconcurrency internal init(@TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
@MainActor @preconcurrency internal init(selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
#else | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
@MainActor @preconcurrency internal init(selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
#endif | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
@MainActor @preconcurrency 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 { | |
nonisolated public func accessibilityLinkedGroup<ID>(id: ID, in namespace: Namespace.ID) -> some View where ID : Hashable | |
nonisolated 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) | |
@MainActor @preconcurrency public struct MenuButton<Label, Content> : View where Label : View, Content : View { | |
nonisolated public init(label: Label, @ViewBuilder content: () -> Content) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS, unavailable, introduced: 13.0, message: "Use `Menu` instead.") | |
@available(tvOS, unavailable, introduced: 13.0, message: "Use `Menu` instead.") | |
@available(watchOS, unavailable, introduced: 6.0, message: "Use `Menu` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `Menu` instead.") | |
@available(visionOS, unavailable, message: "Use `Menu` instead.") | |
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 { | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
@frozen internal struct LimitedAvailabilityTableColumnContent<TableRowValue, TableColumnSortComparator> : TableColumnContent where TableRowValue : Identifiable, TableColumnSortComparator : SortComparator { | |
public typealias TableRowValue = TableRowValue | |
public typealias TableColumnSortComparator = TableColumnSortComparator | |
public typealias TableColumnBody = Never | |
internal let storage: LimitedAvailabilityTableColumnContentStorageBase<TableRowValue, TableColumnSortComparator> | |
@usableFromInline | |
internal init(erasing: some TableColumnContent<TableRowValue, TableColumnSortComparator>) | |
public static func _makeContent(content: _GraphValue<LimitedAvailabilityTableColumnContent<TableRowValue, TableColumnSortComparator>>, inputs: _TableColumnInputs) -> _TableColumnOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? { | |
return nil | |
} | |
#else | |
@_alwaysEmitIntoClient public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? { | |
return nil | |
} | |
#endif | |
public var tableColumnBody: Never { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityTableColumnContent : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 17.5, macOS 14.5, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal class LimitedAvailabilityTableColumnContentStorageBase<TableRowValue, TableColumnSortComparator> where TableRowValue : Identifiable, TableColumnSortComparator : SortComparator { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityTableColumnContentStorageBase : Sendable { | |
} | |
@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 } | |
} | |
@available(macCatalyst 16.2, *) | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension NavigationSplitViewOpaqueBackgroundTraitKey : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func handGestureShortcut(_ shortcut: HandGestureShortcut, isEnabled: Bool = true) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
@available(visionOS, unavailable) | |
public struct HandGestureShortcut : Sendable, Equatable { | |
public static let primaryAction: HandGestureShortcut | |
public static func == (a: HandGestureShortcut, b: HandGestureShortcut) -> Bool | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct Settings<Content> : Scene where Content : View { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@MainActor @preconcurrency public var body: some Scene { | |
get | |
} | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable, introduced: 14.0) | |
@available(tvOS, unavailable, introduced: 14.0) | |
@available(watchOS, unavailable, introduced: 7.0) | |
@available(visionOS, unavailable) | |
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 { | |
nonisolated 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 { | |
nonisolated public func listStyle<S>(_ style: S) -> some View where S : ListStyle | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@frozen @MainActor @preconcurrency public struct EmptyControlWidgetConfiguration : ControlWidgetConfiguration { | |
public typealias Body = Never | |
@inlinable @MainActor @preconcurrency public init() {} | |
@MainActor @preconcurrency public static func _makeWidgetControlConfiguration(control: _GraphValue<EmptyControlWidgetConfiguration>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(*, unavailable) | |
extension EmptyControlWidgetConfiguration : Sendable { | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct WindowLevel : Sendable, Hashable { | |
public static var automatic: WindowLevel { | |
get | |
} | |
public static var desktop: WindowLevel { | |
get | |
} | |
public static var floating: WindowLevel { | |
get | |
} | |
public static var normal: WindowLevel { | |
get | |
} | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: WindowLevel, b: WindowLevel) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
nonisolated public func windowLevel(_ level: WindowLevel) -> some Scene | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _TestApp { | |
public func run() -> Never | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()]) | |
#else | |
public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()]) | |
#endif | |
public typealias Button = Alert.Button | |
} | |
@available(*, unavailable) | |
extension ActionSheet : Sendable { | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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.") | |
nonisolated public func actionSheet<T>(item: Binding<T?>, content: (T) -> ActionSheet) -> some View where T : Identifiable | |
#else | |
@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.") | |
nonisolated public func actionSheet<T>(item: Binding<T?>, content: (T) -> ActionSheet) -> some View where T : Identifiable | |
#endif | |
@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.") | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where RowValue == C.TableRowValue, Sort == C.TableColumnSortComparator, C : TableColumnContent { | |
content | |
} | |
#else | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where RowValue == C.TableRowValue, Sort == C.TableColumnSortComparator, C : TableColumnContent { | |
content | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildIf<C>(_ content: C?) -> C? where RowValue == C.TableRowValue, C : TableColumnContent, C.TableColumnSortComparator == Never { | |
content | |
} | |
#else | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildIf<C>(_ content: C?) -> C? where RowValue == C.TableRowValue, C : TableColumnContent, C.TableColumnSortComparator == Never { | |
content | |
} | |
#endif | |
@_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 @_disfavoredOverload public static func buildEither<T, F>(first: T) -> _ConditionalContent<T, F> where RowValue == T.TableRowValue, T : TableColumnContent, F : TableColumnContent, T.TableColumnSortComparator == Never, T.TableRowValue == F.TableRowValue, F.TableColumnSortComparator == Never { | |
_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)) | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildEither<T, F>(second: F) -> _ConditionalContent<T, F> where RowValue == T.TableRowValue, T : TableColumnContent, F : TableColumnContent, T.TableColumnSortComparator == Never, T.TableRowValue == F.TableRowValue, F.TableColumnSortComparator == Never { | |
_ConditionalContent<T, F>(storage: .falseContent(second)) | |
} | |
} | |
@available(iOS 17.5, macOS 14.5, visionOS 1.2, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableColumnBuilder { | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability(_ content: any TableColumnContent<RowValue, Sort>) -> some TableColumnContent<RowValue, Sort> { | |
if #unavailable(iOS 17.5, macOS 14.5, visionOS 1.2) { | |
return TupleTableColumnContent((), valueType: RowValue.self, sortType: Sort.self) | |
} else { | |
return LimitedAvailabilityTableColumnContent<_, _>(erasing: content) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public static func buildLimitedAvailability(_ content: any TableColumnContent<RowValue, Never>) -> some TableColumnContent<RowValue, Never> { | |
if #unavailable(iOS 17.5, macOS 14.5, visionOS 1.2) { | |
return TupleTableColumnContent((), valueType: RowValue.self, sortType: Never.self) | |
} else { | |
return LimitedAvailabilityTableColumnContent<_, _>(erasing: content) | |
} | |
} | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#else | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#endif | |
@usableFromInline | |
internal init(storage: _ConditionalContent<TrueContent, FalseContent>.Storage) | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias TableColumnBody = Never | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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? | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias TableColumnBody = Never | |
} | |
#else | |
@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? | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias TableColumnBody = Never | |
} | |
#endif | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityLabel(_ label: Text, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityLabel(_ labelKey: LocalizedStringKey, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated public func accessibilityLabel<S>(_ label: S, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
nonisolated public func accessibilityLabel(_ label: Text, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
nonisolated public func accessibilityLabel(_ labelKey: LocalizedStringKey, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload nonisolated public func accessibilityLabel<S>(_ label: S, isEnabled: Bool) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityLabel<V>(@ViewBuilder content: (_ label: PlaceholderContentView<Self>) -> V) -> some View where V : View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated public func accessibilityLabel(_ label: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityLabel(_ labelKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated 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 @MainActor @preconcurrency public static var slide: SlideTransition { | |
get { Self() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@MainActor @preconcurrency public struct SlideTransition : Transition { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func body(content: SlideTransition.Content, phase: TransitionPhase) -> some View | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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 | |
@available(iOS 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5, *) | |
public static let pathComplete: 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 | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(tvOS, unavailable, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(watchOS, unavailable, introduced: 7.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(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI25ColumnNavigationViewStyleV5_body13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
@available(iOS, introduced: 15.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(tvOS, unavailable, introduced: 13.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
@available(watchOS, unavailable, introduced: 7.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(visionOS, introduced: 1.0, deprecated: 100000.0, message: "replace styled NavigationView with NavigationSplitView") | |
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, *) | |
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 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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension EnvironmentValues { | |
public var accessibilityAssistiveAccessEnabled: Bool { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PrimitiveButtonStyle where Self == DefaultButtonStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var automatic: DefaultButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct DefaultButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: DefaultButtonStyle.Configuration) -> some View | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI18DefaultButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultButtonStyle : Sendable { | |
} | |
@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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<WheelPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: EdgeInsets? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: EdgeInsets? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func listRowInsets(_ insets: EdgeInsets?) -> some View { | |
return _trait(ListRowInsetsTraitKey.self, insets) | |
} | |
#else | |
@inlinable nonisolated public func listRowInsets(_ insets: EdgeInsets?) -> some View { | |
return _trait(ListRowInsetsTraitKey.self, insets) | |
} | |
#endif | |
} | |
@available(iOS 17.0, macOS 13.0, tvOS 17.0, watchOS 10.0, *) | |
@available(visionOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func dialogIcon(_ icon: Image?) -> some View | |
#else | |
nonisolated public func dialogIcon(_ icon: Image?) -> some View | |
#endif | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func dialogIcon(_ icon: Image?) -> some Scene | |
#else | |
nonisolated public func dialogIcon(_ icon: Image?) -> some Scene | |
#endif | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(title: Text, message: Text? = nil, dismissButton: Alert.Button? = nil) | |
#else | |
public init(title: Text, message: Text? = nil, dismissButton: Alert.Button? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(title: Text, message: Text? = nil, primaryButton: Alert.Button, secondaryButton: Alert.Button) | |
#else | |
public init(title: Text, message: Text? = nil, primaryButton: Alert.Button, secondaryButton: Alert.Button) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 | |
#else | |
@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 | |
#endif | |
public struct Button { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func `default`(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
#else | |
public static func `default`(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func cancel(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
#else | |
public static func cancel(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func cancel(_ action: (() -> Void)? = {}) -> Alert.Button | |
#else | |
public static func cancel(_ action: (() -> Void)? = {}) -> Alert.Button | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func destructive(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
#else | |
public static func destructive(_ label: Text, action: (() -> Void)? = {}) -> Alert.Button | |
#endif | |
} | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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.") | |
nonisolated public func alert<Item>(item: Binding<Item?>, content: (Item) -> Alert) -> some View where Item : Identifiable | |
#else | |
@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.") | |
nonisolated public func alert<Item>(item: Binding<Item?>, content: (Item) -> Alert) -> some View where Item : Identifiable | |
#endif | |
@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.") | |
nonisolated public func alert(isPresented: Binding<Bool>, content: () -> Alert) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension ToggleStyle where Self == ButtonToggleStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var button: ButtonToggleStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
@MainActor @preconcurrency public struct ButtonToggleStyle : ToggleStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: ButtonToggleStyle.Configuration) -> some View | |
@available(iOS 15.0, watchOS 9.0, macOS 12.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17ButtonToggleStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ButtonToggleStyle : Sendable { | |
} | |
#if compiler(>=5.3) && $RetroactiveAttribute | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _Velocity : @retroactive 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 } | |
} | |
} | |
#else | |
@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 } | |
} | |
} | |
#endif | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct Table<Value, Rows, Columns> : View where Value == Rows.TableRowValue, Rows : TableRowContent, Columns : TableColumnContent, Rows.TableRowValue == Columns.TableRowValue { | |
nonisolated public static func _makeViewList(view: _GraphValue<Table<Value, Rows, Columns>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 nonisolated public init(of valueType: Value.Type, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
self.init(columns: columns, rows: rows) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient nonisolated public init(of valueType: Value.Type, selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
self.init(selection: selection, columns: columns, rows: rows) | |
} | |
#else | |
@_alwaysEmitIntoClient nonisolated public init(of valueType: Value.Type, selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
self.init(selection: selection, columns: columns, rows: rows) | |
} | |
#endif | |
@_alwaysEmitIntoClient nonisolated public init(of valueType: Value.Type, selection: Binding<Set<Value.ID>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) { | |
self.init(selection: selection, columns: columns, rows: rows) | |
} | |
nonisolated public init<Sort>(sortOrder: Binding<[Sort]>, @TableColumnBuilder<Value, Sort> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) where Sort : SortComparator, Columns.TableRowValue == Sort.Compared | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
#else | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
#endif | |
nonisolated 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 nonisolated 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 { | |
nonisolated public init<Data>(_ data: Data, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<Data>(_ data: Data, selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
#else | |
nonisolated public init<Data>(_ data: Data, selection: Binding<Value.ID?>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
#endif | |
nonisolated 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 | |
nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
nonisolated 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 { | |
nonisolated public init(of valueType: Value.Type, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(of valueType: Value.Type, selection: Binding<Value.ID?>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
#else | |
nonisolated public init(of valueType: Value.Type, selection: Binding<Value.ID?>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
#endif | |
nonisolated public init(of valueType: Value.Type, selection: Binding<Set<Value.ID>>, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns, @TableRowBuilder<Value> rows: () -> Rows) | |
nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
nonisolated 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 | |
nonisolated public init<Data>(_ data: Data, columnCustomization: Binding<TableColumnCustomization<Value>>, @TableColumnBuilder<Value, Never> columns: () -> Columns) where Rows == TableForEachContent<Data>, Data : RandomAccessCollection, Columns.TableRowValue == Data.Element | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
nonisolated 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 | |
nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
} | |
@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 | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias TableRowBody = @_opaqueReturnTypeOf("$s7SwiftUI19TableForEachContentV12tableRowBodyQrvp", 0) __<Data> | |
} | |
@available(*, unavailable) | |
extension TableForEachContent : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct DefaultDateProgressLabel : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 { | |
nonisolated 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 { | |
nonisolated 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 { | |
nonisolated 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 @MainActor @preconcurrency public static var automatic: DefaultLabelStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct DefaultLabelStyle : LabelStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: DefaultLabelStyle.Configuration) -> some View | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
nonisolated 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 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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
func _updateEnvironment(_ env: inout EnvironmentValues, context: _ScrollTargetBehaviorEnvironmentContext) | |
} | |
@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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ScrollTargetBehavior { | |
public func _updateEnvironment(_ env: inout EnvironmentValues, context: _ScrollTargetBehaviorEnvironmentContext) | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct _ScrollTargetBehaviorEnvironmentContext { | |
} | |
@available(*, unavailable) | |
extension _ScrollTargetBehaviorEnvironmentContext : 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, *) | |
nonisolated public func scrollTargetBehavior(_ behavior: some ScrollTargetBehavior) -> some View | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func scrollTargetLayout(isEnabled: Bool = true) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@preconcurrency @MainActor public struct DismissAction { | |
@MainActor @preconcurrency public func callAsFunction() | |
} | |
@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 13.0, macOS 10.15, tvOS 17.0, watchOS 8.0, *) | |
extension PrimitiveButtonStyle where Self == BorderlessButtonStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var borderless: BorderlessButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 17.0, watchOS 8.0, *) | |
@MainActor @preconcurrency public struct BorderlessButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: BorderlessButtonStyle.Configuration) -> some View | |
@available(iOS 13.0, tvOS 17.0, watchOS 8.0, macOS 10.15, *) | |
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, *) | |
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated 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, *) | |
nonisolated public func containerRelativeFrame(_ axes: Axis.Set, alignment: Alignment = .center, _ length: @escaping (CGFloat, Axis) -> CGFloat) -> some View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension View { | |
nonisolated public func navigationDestination<D, C>(for data: D.Type, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func navigationDestination<D, C>(item: Binding<Optional<D>>, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View | |
#else | |
nonisolated public func navigationDestination<D, C>(item: Binding<Optional<D>>, @ViewBuilder destination: @escaping (D) -> C) -> some View where D : Hashable, C : View | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct _ScrollableLayoutView<Data, Layout> : View where Data : RandomAccessCollection, Layout : _ScrollableLayout, Data.Element : View, Data.Index : Hashable { | |
nonisolated public static func _makeView(view: _GraphValue<_ScrollableLayoutView<Data, Layout>>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
@MainActor @preconcurrency public var scrollableContent: _ScrollableLayoutView<Data, Layout> { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
#else | |
@MainActor @preconcurrency public func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Root = _ScrollViewRoot<_ScrollableLayoutView<Data, Layout>> | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias ScrollableContent = _ScrollableLayoutView<Data, Layout> | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct MenuBarExtra<Label, Content> : Scene where Label : View, Content : View { | |
nonisolated public init(isInserted: Binding<Bool>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
nonisolated public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
@MainActor @preconcurrency public var body: some Scene { | |
get | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable, introduced: 14.0) | |
@available(tvOS, unavailable, introduced: 14.0) | |
@available(watchOS, unavailable, introduced: 7.0) | |
@available(visionOS, unavailable) | |
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 { | |
nonisolated public init(_ titleKey: LocalizedStringKey, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated 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> { | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, systemImage: String, isInserted: Binding<Bool>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: String, @ViewBuilder content: () -> Content) where S : StringProtocol | |
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Color? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Color? { | |
get { nil } | |
} | |
#endif | |
@available(watchOS 6.0, *) | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
@available(visionOS, unavailable) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "listItemTint(_:)") | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@inlinable nonisolated public func listRowPlatterColor(_ color: Color?) -> some View { | |
_trait(ListRowPlatterColorTraitKey.self, color) | |
} | |
#else | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "listItemTint(_:)") | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@inlinable nonisolated public func listRowPlatterColor(_ color: Color?) -> some View { | |
_trait(ListRowPlatterColorTraitKey.self, color) | |
} | |
#endif | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationSplitViewStyle where Self == BalancedNavigationSplitViewStyle { | |
@MainActor @preconcurrency public static var balanced: BalancedNavigationSplitViewStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct BalancedNavigationSplitViewStyle : NavigationSplitViewStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: BalancedNavigationSplitViewStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 { | |
@MainActor @preconcurrency public static var columns: ColumnsFormStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct ColumnsFormStyle : FormStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: ColumnsFormStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16ColumnsFormStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ColumnsFormStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func textSelection<S>(_ selectability: S) -> some View where S : TextSelectability | |
} | |
@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 { | |
nonisolated 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, *) | |
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 { | |
nonisolated public func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated 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, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
extension Image { | |
public init(uiImage: UIImage) | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func allowsWindowActivationEvents(_ value: Bool? = true) -> some View | |
#else | |
nonisolated public func allowsWindowActivationEvents(_ value: Bool? = true) -> some View | |
#endif | |
} | |
@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 | |
@MainActor @preconcurrency public struct _Body : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21DefaultTextFieldStyleV5_BodyV4bodyQrvp", 0) __ | |
} | |
} | |
@available(*, unavailable) | |
extension DefaultTextFieldStyle : Sendable { | |
} | |
@available(*, unavailable) | |
extension DefaultTextFieldStyle._Body : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct WindowGroup<Content> : Scene where Content : View { | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
nonisolated public init(id: String, @ViewBuilder content: () -> Content) | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(_:id:makeContent:)") | |
@_disfavoredOverload nonisolated public init(_ title: Text, id: String, @ViewBuilder content: () -> Content) | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
nonisolated public init(_ titleKey: LocalizedStringKey, id: String, @ViewBuilder content: () -> Content) | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(_:id:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(_:id:makeContent:)") | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, id: String, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(makeContent:)") | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@_disfavoredOverload nonisolated public init(_ title: Text, @ViewBuilder content: () -> Content) | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@available(iOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(macOS, introduced: 11.0, deprecated: 15.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(tvOS, introduced: 14.0, deprecated: 18.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(watchOS, introduced: 7.0, deprecated: 11.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@available(visionOS, introduced: 1.0, deprecated: 2.0, renamed: "init(_:makeContent:)", message: "Use the initializer which takes an escaping view builder instead.") | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@MainActor @preconcurrency public var body: some Scene { | |
get | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
nonisolated public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
nonisolated 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 { | |
nonisolated public static func _makeView(modifier: _GraphValue<Self>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
nonisolated 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 { | |
nonisolated public func sensoryFeedback<T>(_ feedback: SensoryFeedback, trigger: T) -> some View where T : Equatable | |
nonisolated public func sensoryFeedback<T>(_ feedback: SensoryFeedback, trigger: T, condition: @escaping (_ oldValue: T, _ newValue: T) -> Bool) -> some View where T : Equatable | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func sensoryFeedback<T>(trigger: T, _ feedback: @escaping (_ oldValue: T, _ newValue: T) -> SensoryFeedback?) -> some View where T : Equatable | |
#else | |
nonisolated public func sensoryFeedback<T>(trigger: T, _ feedback: @escaping (_ oldValue: T, _ newValue: T) -> SensoryFeedback?) -> some View where T : Equatable | |
#endif | |
} | |
@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) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Resolved = Never | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View | |
#else | |
nonisolated public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View | |
#else | |
nonisolated public func onDrop(of supportedContentTypes: [UTType], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View | |
#endif | |
nonisolated 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) | |
nonisolated 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) | |
@preconcurrency @MainActor public protocol DropDelegate { | |
@MainActor @preconcurrency func validateDrop(info: DropInfo) -> Bool | |
@MainActor @preconcurrency func performDrop(info: DropInfo) -> Bool | |
@MainActor @preconcurrency func dropEntered(info: DropInfo) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency func dropUpdated(info: DropInfo) -> DropProposal? | |
#else | |
@MainActor @preconcurrency func dropUpdated(info: DropInfo) -> DropProposal? | |
#endif | |
@MainActor @preconcurrency func dropExited(info: DropInfo) | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DropDelegate { | |
@MainActor @preconcurrency public func validateDrop(info: DropInfo) -> Bool | |
@MainActor @preconcurrency public func dropEntered(info: DropInfo) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public func dropUpdated(info: DropInfo) -> DropProposal? | |
#else | |
@MainActor @preconcurrency public func dropUpdated(info: DropInfo) -> DropProposal? | |
#endif | |
@MainActor @preconcurrency 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func onDrop(of supportedTypes: [String], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View | |
#else | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func onDrop(of supportedTypes: [String], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider]) -> Bool) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func onDrop(of supportedTypes: [String], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View | |
#else | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func onDrop(of supportedTypes: [String], isTargeted: Binding<Bool>?, perform action: @escaping (_ providers: [NSItemProvider], _ location: CGPoint) -> Bool) -> some View | |
#endif | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 { | |
nonisolated 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> | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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, *) | |
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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<DefaultListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor public protocol PreviewModifier { | |
associatedtype Context = Void | |
associatedtype Body : View | |
typealias Content = PreviewModifierContent | |
@MainActor static func makeSharedContext() async throws -> Self.Context | |
@ViewBuilder @MainActor func body(content: Self.Content, context: Self.Context) -> Self.Body | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension PreviewModifier where Self.Context == () { | |
@MainActor public static func makeSharedContext() async throws -> Self.Context | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor @preconcurrency public struct PreviewModifierContent : View { | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension PreviewModifierContent : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension PreviewTrait where T == Preview.ViewTraits { | |
@MainActor public static func modifier(_ modifier: some PreviewModifier) -> PreviewTrait<T> | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func listRowHoverEffect(_ effect: HoverEffect?) -> some View | |
#else | |
nonisolated public func listRowHoverEffect(_ effect: HoverEffect?) -> some View | |
#endif | |
nonisolated public func listRowHoverEffectDisabled(_ disabled: Bool = true) -> some View | |
} | |
@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 { | |
nonisolated public func findNavigator(isPresented: Binding<Bool>) -> some View | |
nonisolated public func findDisabled(_ isDisabled: Bool = true) -> some View | |
nonisolated public func replaceDisabled(_ isDisabled: Bool = true) -> some View | |
} | |
extension View { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public func _onEnvironmentChange<Value>(_ keyPath: KeyPath<EnvironmentValues, Value>, perform action: @escaping (_ newValue: Value) -> Void) -> some View where Value : Equatable | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor @preconcurrency public func _onEnvironmentChange<Value>(_ keyPath: KeyPath<EnvironmentValues, Value>, perform action: @escaping (_ oldValue: Value?, _ newValue: Value) -> Void) -> some View where Value : Equatable | |
#else | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor @preconcurrency public func _onEnvironmentChange<Value>(_ keyPath: KeyPath<EnvironmentValues, Value>, perform action: @escaping (_ oldValue: Value?, _ newValue: Value) -> Void) -> some View where Value : Equatable | |
#endif | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct WindowVisibilityToggle<Label> : View where Label : View { | |
nonisolated public init(windowID: String) where Label == DefaultWindowVisibilityToggleLabel | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22WindowVisibilityToggleV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension WindowVisibilityToggle : Sendable { | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct DefaultWindowVisibilityToggleLabel : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI34DefaultWindowVisibilityToggleLabelV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultWindowVisibilityToggleLabel : Sendable { | |
} | |
@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 { | |
nonisolated public func speechAlwaysIncludesPunctuation(_ value: Bool = true) -> some View | |
nonisolated public func speechSpellsOutCharacters(_ value: Bool = true) -> some View | |
nonisolated public func speechAdjustedPitch(_ value: Double) -> some View | |
nonisolated public func speechAnnouncementsQueued(_ value: Bool = true) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct _AlignmentWritingModifier : ViewModifier { | |
@MainActor @preconcurrency public let key: AlignmentKey | |
@usableFromInline | |
@MainActor @preconcurrency internal let computeValue: (ViewDimensions) -> CGFloat | |
@inlinable @MainActor @preconcurrency internal init(key: AlignmentKey, computeValue: @escaping (ViewDimensions) -> CGFloat) { | |
self.key = key | |
self.computeValue = computeValue | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_AlignmentWritingModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 nonisolated public func alignmentGuide(_ g: HorizontalAlignment, computeValue: @escaping (ViewDimensions) -> CGFloat) -> some View { | |
return modifier( | |
_AlignmentWritingModifier(key: g.key, computeValue: computeValue)) | |
} | |
@inlinable nonisolated 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 | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
nonisolated public func windowBackgroundDragBehavior(_ behavior: WindowInteractionBehavior) -> some Scene | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.4, *) | |
@available(watchOS, unavailable) | |
nonisolated 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) | |
nonisolated public func searchScopes<V, S>(_ scope: Binding<V>, activation: SearchScopeActivation, @ViewBuilder _ scopes: () -> S) -> some View where V : Hashable, S : View | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func pointerVisibility(_ visibility: Visibility) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct TabView<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
@available(macOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
@available(tvOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
@available(watchOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
nonisolated public init(selection: Binding<SelectionValue>?, @ViewBuilder content: () -> Content) | |
#else | |
@available(iOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
@available(macOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
@available(tvOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
@available(watchOS, deprecated: 100000.0, message: "Use TabContentBuilder-based TabView initializers instead") | |
nonisolated public init(selection: Binding<SelectionValue>?, @ViewBuilder content: () -> Content) | |
#endif | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public init<C>(selection: Binding<SelectionValue>, @TabContentBuilder<SelectionValue> content: () -> C) where Content == TabContentBuilder<SelectionValue>.Content<C>, C : TabContent | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 7.0, macOS 10.15, *) | |
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 { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension TabView { | |
nonisolated public init<C>(@TabContentBuilder<Never> content: () -> C) where SelectionValue == Never, Content == TabContentBuilder<Never>.Content<C>, C : TabContent | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@_alwaysEmitIntoClient nonisolated 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 @MainActor @preconcurrency public struct _SymbolEffectsRemovedModifier : ViewModifier, _GraphInputsModifier { | |
@usableFromInline | |
@MainActor @preconcurrency internal var isEnabled: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(isEnabled: Bool) { self.isEnabled = isEnabled } | |
@MainActor @preconcurrency public static func _makeInputs(modifier: _GraphValue<_SymbolEffectsRemovedModifier>, inputs: inout _GraphInputs) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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 nonisolated 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 | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
@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 { | |
nonisolated public func userActivity(_ activityType: String, isActive: Bool = true, _ update: @escaping (NSUserActivity) -> ()) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func userActivity<P>(_ activityType: String, element: P?, _ update: @escaping (P, NSUserActivity) -> ()) -> some View | |
#else | |
nonisolated public func userActivity<P>(_ activityType: String, element: P?, _ update: @escaping (P, NSUserActivity) -> ()) -> some View | |
#endif | |
nonisolated public func onContinueUserActivity(_ activityType: String, perform action: @escaping (NSUserActivity) -> ()) -> some View | |
nonisolated public func onOpenURL(perform action: @escaping (URL) -> ()) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func handlesExternalEvents(preferring: Set<String>, allowing: Set<String>) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct LazyVStack<Content> : View where Content : View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content) | |
#else | |
nonisolated public init(alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content) | |
#endif | |
nonisolated public static func _makeView(view: _GraphValue<LazyVStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LazyVStack : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension DisclosureGroupStyle where Self == AutomaticDisclosureGroupStyle { | |
@MainActor @preconcurrency public static var automatic: AutomaticDisclosureGroupStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct AutomaticDisclosureGroupStyle : DisclosureGroupStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AutomaticDisclosureGroupStyle.Configuration) -> some View | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI29AutomaticDisclosureGroupStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticDisclosureGroupStyle : Sendable { | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct LimitedAvailabilityCommandContent : Commands { | |
@MainActor @preconcurrency internal let storage: LimitedAvailabilityCommandContentStorageBase | |
@usableFromInline | |
@MainActor @preconcurrency internal init<C>(erasing commands: C) where C : Commands | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
nonisolated public static func _makeCommands(content: _GraphValue<LimitedAvailabilityCommandContent>, inputs: _CommandsInputs) -> _CommandsOutputs | |
@available(iOS 17.5, macOS 14.5, *) | |
@usableFromInline | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
internal typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityCommandContent : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 17.5, macOS 14.5, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal class LimitedAvailabilityCommandContentStorageBase { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityCommandContentStorageBase : 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) | |
nonisolated public func touchBar<Content>(_ touchBar: TouchBar<Content>) -> some View where Content : View | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated 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) | |
@MainActor @preconcurrency public struct _TouchBarModifier<Content> : ViewModifier where Content : View { | |
nonisolated public static func _makeView(modifier: _GraphValue<_TouchBarModifier<Content>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _TouchBarModifier : Sendable { | |
} | |
@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 | |
} | |
#if compiler(>=5.3) && $RetroactiveAttribute | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension _ShaderFilterEffect : @retroactive VisualEffect { | |
@MainActor @preconcurrency public static func _makeVisualEffect(effect: _GraphValue<_ShaderFilterEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 17.0, tvOS 17.0, macOS 14.0, *) | |
@available(watchOS, unavailable) | |
public typealias AnimatableData = EmptyAnimatableData | |
} | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension _ShaderFilterEffect : VisualEffect { | |
@MainActor @preconcurrency public static func _makeVisualEffect(effect: _GraphValue<_ShaderFilterEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 17.0, tvOS 17.0, macOS 14.0, *) | |
@available(watchOS, unavailable) | |
public typealias AnimatableData = EmptyAnimatableData | |
} | |
#endif | |
@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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<SidebarListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<SidebarListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension SidebarListStyle : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityHint(_ hint: Text, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityHint(_ hintKey: LocalizedStringKey, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated public func accessibilityHint<S>(_ hint: S, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityHint(_ hint: Text, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
public func accessibilityHint(_ hintKey: LocalizedStringKey, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityHint<S>(_ hint: S, isEnabled: Bool) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated public func accessibilityHint(_ hint: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityHint(_ hintKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated public func accessibilityHint<S>(_ hint: 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(_ hint: Text) -> ModifiedContent<Content, Modifier> | |
public func accessibilityHint(_ hintKey: LocalizedStringKey) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityHint<S>(_ hint: S) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct OffsetShape<Content> : Shape where Content : Shape { | |
@MainActor @preconcurrency public var shape: Content | |
@MainActor @preconcurrency public var offset: CGSize | |
@inlinable nonisolated public init(shape: Content, offset: CGSize) { | |
self.shape = shape | |
self.offset = offset | |
} | |
nonisolated public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<Content.AnimatableData, CGSize.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: OffsetShape<Content>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 @MainActor @preconcurrency public func inset(by amount: CGFloat) -> OffsetShape<Content.InsetShape> { | |
return shape.inset(by: amount).offset(offset) | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias InsetShape = OffsetShape<Content.InsetShape> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct ScaledShape<Content> : Shape where Content : Shape { | |
@MainActor @preconcurrency public var shape: Content | |
@MainActor @preconcurrency public var scale: CGSize | |
@MainActor @preconcurrency public var anchor: UnitPoint | |
@inlinable nonisolated public init(shape: Content, scale: CGSize, anchor: UnitPoint = .center) { | |
self.shape = shape | |
self.scale = scale | |
self.anchor = anchor | |
} | |
nonisolated public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<Content.AnimatableData, AnimatablePair<CGSize.AnimatableData, UnitPoint.AnimatableData>> | |
@MainActor @preconcurrency public var animatableData: ScaledShape<Content>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = _ShapeView<ScaledShape<Content>, ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct RotatedShape<Content> : Shape where Content : Shape { | |
@MainActor @preconcurrency public var shape: Content | |
@MainActor @preconcurrency public var angle: Angle | |
@MainActor @preconcurrency public var anchor: UnitPoint | |
@inlinable nonisolated public init(shape: Content, angle: Angle, anchor: UnitPoint = .center) { | |
self.shape = shape | |
self.angle = angle | |
self.anchor = anchor | |
} | |
nonisolated public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<Content.AnimatableData, AnimatablePair<Angle.AnimatableData, UnitPoint.AnimatableData>> | |
@MainActor @preconcurrency public var animatableData: RotatedShape<Content>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 @MainActor @preconcurrency public func inset(by amount: CGFloat) -> RotatedShape<Content.InsetShape> { | |
return shape.inset(by: amount).rotation(angle, anchor: anchor) | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias InsetShape = RotatedShape<Content.InsetShape> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct TransformedShape<Content> : Shape where Content : Shape { | |
@MainActor @preconcurrency public var shape: Content | |
@MainActor @preconcurrency public var transform: CGAffineTransform | |
@inlinable nonisolated public init(shape: Content, transform: CGAffineTransform) { | |
self.shape = shape | |
self.transform = transform | |
} | |
nonisolated public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = Content.AnimatableData | |
@MainActor @preconcurrency public var animatableData: TransformedShape<Content>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 @MainActor @preconcurrency public struct SubscriptionView<PublisherType, Content> : View where PublisherType : Publisher, Content : View, PublisherType.Failure == Never { | |
@MainActor @preconcurrency public var content: Content | |
@MainActor @preconcurrency public var publisher: PublisherType | |
@MainActor @preconcurrency public var action: (PublisherType.Output) -> Void | |
@inlinable nonisolated public init(content: Content, publisher: PublisherType, action: @escaping (PublisherType.Output) -> Void) { | |
self.content = content | |
self.publisher = publisher | |
self.action = action | |
} | |
nonisolated public static func _makeView(view: _GraphValue<SubscriptionView<PublisherType, Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
nonisolated public static func _makeViewList(view: _GraphValue<SubscriptionView<PublisherType, Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#else | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 nonisolated 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) | |
@preconcurrency @MainActor public protocol MenuStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Label : View { | |
@available(iOS 14.0, tvOS 17.0, macOS 11.0, *) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = Never | |
} | |
@MainActor @preconcurrency public struct Content : View { | |
@available(iOS 14.0, tvOS 17.0, macOS 11.0, *) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
nonisolated public func menuStyle<S>(_ style: S) -> some View where S : MenuStyle | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@preconcurrency @MainActor public struct OpenWindowAction { | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
public struct SharingBehavior : Sendable { | |
public static let requested: OpenWindowAction.SharingBehavior | |
public static let required: OpenWindowAction.SharingBehavior | |
} | |
@MainActor @preconcurrency public func callAsFunction<D>(value: D) where D : Decodable, D : Encodable, D : Hashable | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@MainActor public func callAsFunction<D>(value: D, sharingBehavior: OpenWindowAction.SharingBehavior) async throws where D : Decodable, D : Encodable, D : Hashable | |
@MainActor @preconcurrency public func callAsFunction(id: String) | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@MainActor public func callAsFunction(id: String, sharingBehavior: OpenWindowAction.SharingBehavior) async throws | |
@MainActor @preconcurrency public func callAsFunction<D>(id: String, value: D) where D : Decodable, D : Encodable, D : Hashable | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@MainActor public func callAsFunction<D>(id: String, value: D, sharingBehavior: OpenWindowAction.SharingBehavior) async throws where D : Decodable, D : Encodable, D : Hashable | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var openWindow: OpenWindowAction { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct ToolbarItemGroup<Content> : ToolbarContent where Content : View { | |
nonisolated public init(placement: ToolbarItemPlacement = .automatic, @ViewBuilder content: () -> Content) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public static func _makeToolbar(content: _GraphValue<ToolbarItemGroup<Content>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
@MainActor @preconcurrency public static func _makeContent(content: _GraphValue<ToolbarItemGroup<Content>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension ToolbarItemGroup : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension ToolbarItemGroup { | |
nonisolated 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, *) | |
@MainActor @preconcurrency public struct LabeledToolbarItemGroupContent<Content, Label> : View where Content : View, Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI30LabeledToolbarItemGroupContentV4bodyQrvp", 0) __<Content, Label> | |
} | |
@available(*, unavailable) | |
extension LabeledToolbarItemGroupContent : Sendable { | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WorldAlignmentBehavior : Equatable, Sendable { | |
public static var automatic: WorldAlignmentBehavior { | |
get | |
} | |
public static var adaptive: WorldAlignmentBehavior { | |
get | |
} | |
public static var gravityAligned: WorldAlignmentBehavior { | |
get | |
} | |
public static func == (a: WorldAlignmentBehavior, b: WorldAlignmentBehavior) -> Bool | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
nonisolated public func volumeWorldAlignment(_ behavior: WorldAlignmentBehavior) -> some Scene | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct _FlipForRTLEffect : ViewModifier, Equatable { | |
@MainActor @preconcurrency public var isEnabled: Bool | |
@inlinable nonisolated public init(isEnabled: Bool) { | |
self.isEnabled = isEnabled | |
} | |
nonisolated public static func == (a: _FlipForRTLEffect, b: _FlipForRTLEffect) -> Bool | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated 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 { | |
nonisolated 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) | |
@MainActor public struct OpenDocumentAction { | |
@MainActor public func callAsFunction(at url: URL) async throws | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@preconcurrency @MainActor public struct NewDocumentAction { | |
@MainActor @preconcurrency public func callAsFunction<D>(_ newDocument: @autoclosure @escaping () -> D) where D : FileDocument | |
@MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public func callAsFunction(contentType: UTType) | |
} | |
@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) | |
@preconcurrency @MainActor public protocol TextEditorStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
nonisolated public func textEditorStyle(_ style: some TextEditorStyle) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct TextEditor : View { | |
nonisolated public init(text: Binding<String>) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
nonisolated public init(text: Binding<String>, selection: Binding<TextSelection?>) | |
#else | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
nonisolated public init(text: Binding<String>, selection: Binding<TextSelection?>) | |
#endif | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10TextEditorV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension TextEditor : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@preconcurrency @MainActor public protocol ToggleStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Label : View { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
nonisolated 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, *) | |
@MainActor @preconcurrency public struct _ScrollViewRoot<P> : View where P : _ScrollableContentProvider { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 @MainActor @preconcurrency 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) | |
@MainActor @preconcurrency public struct BorderedButtonMenuStyle : MenuStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: BorderedButtonMenuStyle.Configuration) -> some View | |
@available(iOS, unavailable, introduced: 14.0, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
@available(tvOS, unavailable, introduced: 17.0, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
@available(watchOS, unavailable, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
@available(visionOS, unavailable, message: "Use .menuStyle(.button) and .buttonStyle(.bordered).") | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI23BorderedButtonMenuStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderedButtonMenuStyle : Sendable { | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement : Identifiable, DataElement == Data.Element | |
#else | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement : Identifiable, DataElement == Data.Element | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement : Identifiable, DataElement == Data.Element | |
#else | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement : Identifiable, DataElement == Data.Element | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where Parent : View, Parent == Leaf, Subgroup == DisclosureGroup<Parent, OutlineSubgroupChildren> { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<DataElement>(_ root: DataElement, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where DataElement == Data.Element | |
#else | |
public init<DataElement>(_ root: DataElement, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where DataElement == Data.Element | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<DataElement>(_ data: Data, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where DataElement == Data.Element | |
#else | |
public init<DataElement>(_ data: Data, id: KeyPath<DataElement, ID>, children: KeyPath<DataElement, Data?>, @ViewBuilder content: @escaping (DataElement) -> Leaf) where DataElement == Data.Element | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup : View where Parent : View, Leaf : View, Subgroup : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension OutlineGroup where Parent : View, Parent == Leaf, Subgroup == DisclosureGroup<Parent, OutlineSubgroupChildren> { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct OutlineSubgroupChildren : View { | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension OutlineSubgroupChildren : Sendable { | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#else | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#endif | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func width(_ width: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label> | |
#else | |
public func width(_ width: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label> | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func width(min: CGFloat? = nil, ideal: CGFloat? = nil, max: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label> | |
#else | |
public func width(min: CGFloat? = nil, ideal: CGFloat? = nil, max: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label> | |
#endif | |
@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 } | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension CustomHoverEffect { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func hoverEffect(_ effect: some CustomHoverEffect, in group: HoverEffectGroup? = nil, isEnabled: Bool = true) -> some CustomHoverEffect | |
#else | |
public func hoverEffect(_ effect: some CustomHoverEffect, in group: HoverEffectGroup? = nil, isEnabled: Bool = true) -> some CustomHoverEffect | |
#endif | |
} | |
@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 nonisolated 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 @MainActor @preconcurrency 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(_:)") | |
nonisolated 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(_:)") | |
@MainActor @preconcurrency public func _statusBar(hidden: Bool) -> some View | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func itemProvider(_ action: (() -> NSItemProvider?)?) -> ModifiedContent<Self, ItemProviderTableRowModifier> | |
#else | |
public func itemProvider(_ action: (() -> NSItemProvider?)?) -> ModifiedContent<Self, ItemProviderTableRowModifier> | |
#endif | |
} | |
@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 | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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) | |
nonisolated 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(_:)") | |
nonisolated public func autocapitalization(_ style: UITextAutocapitalizationType) -> some View | |
} | |
@available(iOS 15.0, tvOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextInputAutocapitalization { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init?(_ type: UITextAutocapitalizationType) | |
#else | |
public init?(_ type: UITextAutocapitalizationType) | |
#endif | |
} | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func textInputAutocapitalization(_ autocapitalization: TextInputAutocapitalization?) -> some View | |
#else | |
nonisolated public func textInputAutocapitalization(_ autocapitalization: TextInputAutocapitalization?) -> some View | |
#endif | |
} | |
@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> | |
@available(iOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
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 { | |
nonisolated 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 { | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func focusedValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable | |
#else | |
nonisolated public func focusedValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient nonisolated public func focusedSceneValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable { | |
focusedSceneValue(T.focusedValueKey, object) | |
} | |
#else | |
@_alwaysEmitIntoClient nonisolated public func focusedSceneValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable { | |
focusedSceneValue(T.focusedValueKey, object) | |
} | |
#endif | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Observable { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
internal static var focusedValueKey: WritableKeyPath<FocusedValues, Self?> { | |
get | |
} | |
#else | |
@usableFromInline | |
internal static var focusedValueKey: WritableKeyPath<FocusedValues, Self?> { | |
get | |
} | |
#endif | |
} | |
@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 | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension GestureState : Sendable where Value : 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> | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension GestureStateGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
@MainActor @preconcurrency public struct Slider<Label, ValueLabel> : View where Label : View, ValueLabel : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
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 { | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
@_alwaysEmitIntoClient nonisolated 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 { | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
@_alwaysEmitIntoClient nonisolated 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 { | |
nonisolated public init<V>(value: Binding<V>, in bounds: ClosedRange<V> = 0...1, onEditingChanged: @escaping (Bool) -> Void = { _ in }) where V : BinaryFloatingPoint, V.Stride : BinaryFloatingPoint | |
nonisolated 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(tvOS, deprecated: 100000.0, renamed: "Slider(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)") | |
nonisolated 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(tvOS, 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:)") | |
nonisolated 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(tvOS, deprecated: 100000.0, renamed: "Slider(value:in:label:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:label:onEditingChanged:)") | |
@_disfavoredOverload nonisolated 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(tvOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:onEditingChanged:)") | |
@available(visionOS, deprecated: 100000.0, renamed: "Slider(value:in:step:label:onEditingChanged:)") | |
@_disfavoredOverload nonisolated 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, *) | |
@MainActor @preconcurrency public struct _SymmetricallyScaledText : View { | |
@MainActor @preconcurrency public var source: Text | |
@MainActor @preconcurrency public var reference: Text | |
nonisolated public init(source: Text, reference: Text) | |
nonisolated public static func _makeView(view: _GraphValue<_SymmetricallyScaledText>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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) | |
nonisolated 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) | |
nonisolated 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) | |
nonisolated 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 { | |
nonisolated public func exportsItemProviders(_ contentTypes: [UTType], onExport: @escaping () -> [NSItemProvider]) -> some View | |
nonisolated public func exportsItemProviders(_ contentTypes: [UTType], onExport: @escaping () -> [NSItemProvider], onEdit: @escaping ([NSItemProvider]) -> Bool) -> some View | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<RowValue>(wrappedValue: Value = TableColumnCustomization<RowValue>(), _ key: String, store: UserDefaults? = nil) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable | |
#else | |
public init<RowValue>(wrappedValue: Value = TableColumnCustomization<RowValue>(), _ key: String, store: UserDefaults? = nil) where Value == TableColumnCustomization<RowValue>, RowValue : Identifiable | |
#endif | |
} | |
@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, *) | |
@MainActor @preconcurrency public struct ProgressView<Label, CurrentValueLabel> : View where Label : View, CurrentValueLabel : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
nonisolated public init() where Label == EmptyView | |
nonisolated public init(@ViewBuilder label: () -> Label) | |
nonisolated public init(_ titleKey: LocalizedStringKey) where Label == Text | |
@_disfavoredOverload nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V?, total: V = 1.0) where Label == EmptyView, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
#else | |
nonisolated public init<V>(value: V?, total: V = 1.0) where Label == EmptyView, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V?, total: V = 1.0, @ViewBuilder label: () -> Label) where CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
#else | |
nonisolated public init<V>(value: V?, total: V = 1.0, @ViewBuilder label: () -> Label) where CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V?, total: V = 1.0, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> CurrentValueLabel) where V : BinaryFloatingPoint | |
#else | |
nonisolated public init<V>(value: V?, total: V = 1.0, @ViewBuilder label: () -> Label, @ViewBuilder currentValueLabel: () -> CurrentValueLabel) where V : BinaryFloatingPoint | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(_ titleKey: LocalizedStringKey, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
#else | |
nonisolated public init<V>(_ titleKey: LocalizedStringKey, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, V : BinaryFloatingPoint | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, V>(_ title: S, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, S : StringProtocol, V : BinaryFloatingPoint | |
#else | |
@_disfavoredOverload nonisolated public init<S, V>(_ title: S, value: V?, total: V = 1.0) where Label == Text, CurrentValueLabel == EmptyView, S : StringProtocol, V : BinaryFloatingPoint | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressView { | |
nonisolated public init(_ progress: Progress) where Label == EmptyView, CurrentValueLabel == EmptyView | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressView { | |
nonisolated public init(_ configuration: ProgressViewStyleConfiguration) where Label == ProgressViewStyleConfiguration.Label, CurrentValueLabel == ProgressViewStyleConfiguration.CurrentValueLabel | |
} | |
@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 { | |
nonisolated public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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) | |
} | |
#if compiler(>=5.3) && $RetroactiveAttribute | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Color : @retroactive Transferable { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static var transferRepresentation: some TransferRepresentation { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ColorV22transferRepresentationQrvpZ", 0) __ | |
} | |
#else | |
@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 | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ColorV22transferRepresentationQrvpZ", 0) __ | |
} | |
#endif | |
@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 { | |
nonisolated 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 @MainActor @preconcurrency public struct EmptyWidgetConfiguration : WidgetConfiguration { | |
@inlinable nonisolated public init() {} | |
nonisolated public static func _makeWidgetConfiguration(widget: _GraphValue<EmptyWidgetConfiguration>, inputs: _WidgetInputs) -> _WidgetOutputs | |
@available(iOS 14.0, watchOS 9.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#else | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#endif | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#else | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#endif | |
@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 | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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, *) | |
nonisolated 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) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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 { | |
nonisolated public func tabViewStyle<S>(_ style: S) -> some View where S : TabViewStyle | |
} | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func contentMargins(_ edges: Edge.Set = .all, _ insets: EdgeInsets, for placement: ContentMarginPlacement = .automatic) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func contentMargins(_ edges: Edge.Set = .all, _ length: CGFloat?, for placement: ContentMarginPlacement = .automatic) -> some View | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func contentMargins(_ edges: Edge.Set = .all, _ length: CGFloat?, for placement: ContentMarginPlacement = .automatic) -> some View | |
#endif | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func contentMargins(_ length: CGFloat, for placement: ContentMarginPlacement = .automatic) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, watchOS 10.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal enum SectionIndexLabel { | |
case text(Text) | |
case image(Image) | |
} | |
@available(*, unavailable) | |
extension SectionIndexLabel : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, watchOS 10.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct SectionIndexLabelKey : _ViewTraitKey { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient internal static var defaultValue: SectionIndexLabel? { | |
get { nil } | |
} | |
#else | |
@_alwaysEmitIntoClient internal static var defaultValue: SectionIndexLabel? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 18.0, watchOS 10.0, macOS 15.0, visionOS 2.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable, introduced: 13.0) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Text? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Text? { | |
get { nil } | |
} | |
#endif | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 13.0, renamed: "SectionIndexLabelKey") | |
@available(tvOS, unavailable, introduced: 13.0, renamed: "SectionIndexLabelKey") | |
@available(watchOS, introduced: 10.0, deprecated: 100000.0, renamed: "SectionIndexLabelKey") | |
@available(macOS, unavailable, introduced: 10.15, renamed: "SectionIndexLabelKey") | |
internal typealias Value = Text? | |
} | |
@available(*, unavailable) | |
extension SectionIndexTitleKey : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@preconcurrency @MainActor public protocol DisclosureGroupStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Label : View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = Never | |
} | |
public let label: DisclosureGroupStyleConfiguration.Label | |
@MainActor @preconcurrency public struct Content : View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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) | |
nonisolated public func disclosureGroupStyle<S>(_ style: S) -> some View where S : DisclosureGroupStyle | |
} | |
@available(iOS 17.0, visionOS 1.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var isSceneCaptured: Bool { | |
get | |
set | |
} | |
} | |
extension View { | |
@available(iOS 17.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated 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 nonisolated 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) | |
nonisolated 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(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct WindowInteractionBehavior : Sendable { | |
public static let automatic: WindowInteractionBehavior | |
public static let enabled: WindowInteractionBehavior | |
public static let disabled: WindowInteractionBehavior | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func windowDismissBehavior(_ behavior: WindowInteractionBehavior) -> some View | |
nonisolated public func windowMinimizeBehavior(_ behavior: WindowInteractionBehavior) -> some View | |
nonisolated public func windowResizeBehavior(_ behavior: WindowInteractionBehavior) -> some View | |
nonisolated public func windowFullScreenBehavior(_ behavior: WindowInteractionBehavior) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Scene { | |
nonisolated public func windowManagerRole(_ role: WindowManagerRole) -> some Scene | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct WindowManagerRole : Sendable { | |
public static let automatic: WindowManagerRole | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let principal: WindowManagerRole | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let associated: WindowManagerRole | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension LabeledContentStyle where Self == AutomaticLabeledContentStyle { | |
@MainActor @preconcurrency public static var automatic: AutomaticLabeledContentStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct AutomaticLabeledContentStyle : LabeledContentStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AutomaticLabeledContentStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 nonisolated 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 nonisolated 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 @MainActor @preconcurrency public struct _IndefiniteSymbolEffectModifier : ViewModifier, _GraphInputsModifier { | |
@usableFromInline | |
@MainActor @preconcurrency internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
@MainActor @preconcurrency internal var options: SymbolEffectOptions | |
@usableFromInline | |
@MainActor @preconcurrency internal var isActive: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init<T>(effect: T, options: SymbolEffectOptions, isActive: Bool) where T : IndefiniteSymbolEffect, T : SymbolEffect { | |
self.config = effect.configuration | |
self.options = options | |
self.isActive = isActive | |
} | |
@MainActor @preconcurrency public static func _makeInputs(modifier: _GraphValue<_IndefiniteSymbolEffectModifier>, inputs: inout _GraphInputs) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _IndefiniteSymbolEffectModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _DiscreteSymbolEffectModifier<T> : ViewModifier, _GraphInputsModifier where T : Equatable { | |
@usableFromInline | |
@MainActor @preconcurrency internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
@MainActor @preconcurrency internal var options: SymbolEffectOptions | |
@usableFromInline | |
@MainActor @preconcurrency internal var value: T | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init<U>(effect: U, options: SymbolEffectOptions, value: T) where U : DiscreteSymbolEffect, U : SymbolEffect { | |
config = effect.configuration | |
self.options = options | |
self.value = value | |
} | |
@MainActor @preconcurrency public static func _makeInputs(modifier: _GraphValue<_DiscreteSymbolEffectModifier<T>>, inputs: inout _GraphInputs) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _DiscreteSymbolEffectModifier : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@frozen @MainActor @preconcurrency public struct _ConditionalSymbolEffectModifier : ViewModifier, _GraphInputsModifier { | |
@usableFromInline | |
@MainActor @preconcurrency internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
@MainActor @preconcurrency internal var options: SymbolEffectOptions | |
@usableFromInline | |
@MainActor @preconcurrency internal var condition: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init<U>(effect: U, options: SymbolEffectOptions, condition: Bool) where U : DiscreteSymbolEffect, U : SymbolEffect { | |
config = effect.configuration | |
self.options = options | |
self.condition = condition | |
} | |
@MainActor @preconcurrency public static func _makeInputs(modifier: _GraphValue<_ConditionalSymbolEffectModifier>, inputs: inout _GraphInputs) | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ConditionalSymbolEffectModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == SymbolEffectTransition { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static func symbolEffect<T>(_ effect: T, options: SymbolEffectOptions = .default) -> SymbolEffectTransition where T : SymbolEffect, T : TransitionSymbolEffect { | |
return SymbolEffectTransition(effect: effect, options: options) | |
} | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var symbolEffect: SymbolEffectTransition { | |
get { | |
return symbolEffect(.automatic) | |
} | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct SymbolEffectTransition : Transition { | |
@usableFromInline | |
@MainActor @preconcurrency internal var config: SymbolEffectConfiguration | |
@usableFromInline | |
@MainActor @preconcurrency internal var options: SymbolEffectOptions | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public init<T>(effect: T, options: SymbolEffectOptions) where T : SymbolEffect, T : TransitionSymbolEffect { | |
config = effect.configuration | |
self.options = options | |
} | |
@MainActor @preconcurrency public func body(content: SymbolEffectTransition.Content, phase: TransitionPhase) -> some View | |
@MainActor @preconcurrency public static let properties: TransitionProperties | |
@MainActor @preconcurrency public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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) | |
} | |
} | |
} | |
extension WiggleSymbolEffect { | |
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@_alwaysEmitIntoClient public func custom(angle: Angle) -> WiggleSymbolEffect { | |
return custom(angle: angle.degrees) | |
} | |
} | |
@available(visionOS 1.0, iOS 18.0, macOS 15.0, watchOS 11.0, *) | |
@available(tvOS, unavailable) | |
public struct SpatialEventCollection : Collection { | |
@available(visionOS 1.0, iOS 18.0, macOS 15.0, watchOS 11.0, *) | |
@available(tvOS, 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 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
case pencil | |
@available(visionOS 1.0, iOS 18.0, macOS 15.0, *) | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(visionOS 1.0, iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public var inputDevicePose: SpatialEventCollection.Event.InputDevicePose? { | |
get | |
set | |
} | |
#else | |
@available(visionOS 1.0, iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public var inputDevicePose: SpatialEventCollection.Event.InputDevicePose? { | |
get | |
set | |
} | |
#endif | |
public static func == (a: SpatialEventCollection.Event, b: SpatialEventCollection.Event) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public subscript(index: SpatialEventCollection.Event.ID) -> SpatialEventCollection.Event? { | |
get | |
} | |
#else | |
public subscript(index: SpatialEventCollection.Event.ID) -> SpatialEventCollection.Event? { | |
get | |
} | |
#endif | |
public struct Iterator : IteratorProtocol { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public mutating func next() -> SpatialEventCollection.Event? | |
#else | |
public mutating func next() -> SpatialEventCollection.Event? | |
#endif | |
@available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
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 | |
@available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
public typealias Element = SpatialEventCollection.Event | |
@available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
public typealias Indices = DefaultIndices<SpatialEventCollection> | |
@available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
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, iOS 18.0, macOS 15.0, watchOS 11.0, *) | |
@available(tvOS, 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 @MainActor @preconcurrency public static var linear: LinearProgressViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct LinearProgressViewStyle : ProgressViewStyle { | |
@MainActor @preconcurrency 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.") | |
@MainActor @preconcurrency public init(tint: Color) | |
@MainActor @preconcurrency public func makeBody(configuration: LinearProgressViewStyle.Configuration) -> some View | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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) | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension PagingScrollTargetBehavior { | |
public func _updateEnvironment(_ env: inout EnvironmentValues, context: _ScrollTargetBehaviorEnvironmentContext) | |
} | |
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 | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public static var alwaysByFew: ViewAlignedScrollTargetBehavior.LimitBehavior { | |
get | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public var alwaysByOne: 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) | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ViewAlignedScrollTargetBehavior { | |
public func _updateEnvironment(_ env: inout EnvironmentValues, context: _ScrollTargetBehaviorEnvironmentContext) | |
} | |
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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@frozen public struct AnyScrollTargetBehavior : ScrollTargetBehavior { | |
public var base: (any ScrollTargetBehavior) | |
@inlinable public init(_ base: some ScrollTargetBehavior) { | |
self.base = base | |
} | |
@inlinable public func updateTarget(_ target: inout ScrollTarget, context: AnyScrollTargetBehavior.TargetContext) { | |
base.updateTarget(&target, context: context) | |
} | |
@inlinable public func _updateEnvironment(_ env: inout EnvironmentValues, context: _ScrollTargetBehaviorEnvironmentContext) { | |
base._updateEnvironment(&env, context: context) | |
} | |
} | |
@available(*, unavailable) | |
extension AnyScrollTargetBehavior : Sendable { | |
} | |
extension TabContent { | |
@available(iOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func customizationBehavior(_ behavior: TabCustomizationBehavior, for placements: AdaptableTabBarPlacement...) -> some TabContent<Self.TabValue> | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func customizationID(_ id: String) -> some TabContent<Self.TabValue> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct TabCustomizationBehavior : Equatable { | |
public static var automatic: TabCustomizationBehavior { | |
get | |
} | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static var reorderable: TabCustomizationBehavior { | |
get | |
} | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static var disabled: TabCustomizationBehavior { | |
get | |
} | |
public static func == (a: TabCustomizationBehavior, b: TabCustomizationBehavior) -> Bool | |
} | |
@available(*, unavailable) | |
extension TabCustomizationBehavior : Sendable { | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@preconcurrency @MainActor public protocol ControlWidget { | |
@MainActor @preconcurrency init() | |
associatedtype Body : ControlWidgetConfiguration | |
@ControlWidgetConfigurationBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Group { | |
public init<Base, Result>(subviewsOf view: Base, @ViewBuilder transform: @escaping (SubviewsCollection) -> Result) where Content == GroupElementsOfContent<Base, Result>, Base : View, Result : View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor @preconcurrency public struct GroupElementsOfContent<Subviews, Content> : View where Subviews : View, Content : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22GroupElementsOfContentV4bodyQrvp", 0) __<Subviews, Content> | |
} | |
@available(*, unavailable) | |
extension GroupElementsOfContent : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct SubviewsCollection : RandomAccessCollection { | |
public func index(before i: Int) -> Int | |
public func index(after i: Int) -> Int | |
public subscript(index: Int) -> Subview { | |
get | |
} | |
public subscript(bounds: Range<Int>) -> SubviewsCollectionSlice { | |
get | |
} | |
public var startIndex: Int { | |
get | |
} | |
public var endIndex: Int { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Element = Subview | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Index = Int | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Indices = Range<Int> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Iterator = IndexingIterator<SubviewsCollection> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias SubSequence = SubviewsCollectionSlice | |
} | |
@available(*, unavailable) | |
extension SubviewsCollection : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension SubviewsCollection : View { | |
nonisolated public static func _makeViewList(view: _GraphValue<SubviewsCollection>, inputs: _ViewListInputs) -> _ViewListOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#else | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#endif | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = Never | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct SubviewsCollectionSlice : RandomAccessCollection { | |
public subscript(index: Int) -> Subview { | |
get | |
} | |
public subscript(bounds: Range<Int>) -> SubviewsCollectionSlice { | |
get | |
} | |
public var startIndex: Int { | |
get | |
} | |
public var endIndex: Int { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Element = Subview | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Index = Int | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Indices = Range<Int> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Iterator = IndexingIterator<SubviewsCollectionSlice> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias SubSequence = SubviewsCollectionSlice | |
} | |
@available(*, unavailable) | |
extension SubviewsCollectionSlice : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension SubviewsCollectionSlice : View { | |
nonisolated public static func _makeViewList(view: _GraphValue<SubviewsCollectionSlice>, inputs: _ViewListInputs) -> _ViewListOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#else | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#endif | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = Never | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@inlinable nonisolated 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 @MainActor @preconcurrency public struct _LayoutDirectionBehaviorEffect : ViewModifier { | |
@MainActor @preconcurrency public var behavior: LayoutDirectionBehavior | |
@inlinable nonisolated public init(behavior: LayoutDirectionBehavior) { | |
self.behavior = behavior | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_LayoutDirectionBehaviorEffect>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = Never | |
} | |
extension View { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func onScrollTargetVisibilityChange<ID>(idType: ID.Type, threshold: Double = 0.5, _ action: @escaping ([ID]) -> Void) -> some View where ID : Hashable | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func onScrollVisibilityChange(threshold: Double = 0.5, _ action: @escaping (Bool) -> Void) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ProgressViewStyle where Self == CircularProgressViewStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var circular: CircularProgressViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct CircularProgressViewStyle : ProgressViewStyle { | |
@MainActor @preconcurrency 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.") | |
@MainActor @preconcurrency public init(tint: Color) | |
@MainActor @preconcurrency public func makeBody(configuration: CircularProgressViewStyle.Configuration) -> some View | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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, *) | |
@MainActor @preconcurrency public struct Toggle<Label> : View where Label : View { | |
nonisolated public init(isOn: Binding<Bool>, @ViewBuilder label: () -> Label) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public init<C>(sources: C, isOn: KeyPath<C.Element, Binding<Bool>>, @ViewBuilder label: () -> Label) where C : RandomAccessCollection | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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, *) | |
nonisolated public init(_ configuration: ToggleStyleConfiguration) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Toggle where Label == Text { | |
nonisolated public init(_ titleKey: LocalizedStringKey, isOn: Binding<Bool>) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, isOn: Binding<Bool>) where S : StringProtocol | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated 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 nonisolated 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 nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, isOn: Binding<Bool>) { | |
self.init(isOn: isOn) { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload nonisolated 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 nonisolated 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 nonisolated 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> { | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: ImageResource, isOn: Binding<Bool>) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: ImageResource, isOn: Binding<Bool>) where S : StringProtocol | |
nonisolated public init<C>(_ titleKey: LocalizedStringKey, image: ImageResource, sources: C, isOn: KeyPath<C.Element, Binding<Bool>>) where C : RandomAccessCollection | |
@_disfavoredOverload nonisolated 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 | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable nonisolated public func task(priority: TaskPriority = .userInitiated, @_inheritActorContext _ action: @escaping @Sendable () async -> Void) -> some View { | |
modifier(_TaskModifier(priority: priority, action: action)) | |
} | |
@inlinable nonisolated 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)) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen @MainActor @preconcurrency public struct _TaskModifier : ViewModifier { | |
nonisolated(unsafe) public var action: @Sendable () async -> Void | |
@MainActor @preconcurrency public var priority: TaskPriority | |
@inlinable nonisolated public init(priority: TaskPriority, action: @escaping @Sendable () async -> Void) { | |
self.priority = priority | |
self.action = action | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_TaskModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
nonisolated public static func _makeViewList(modifier: _GraphValue<_TaskModifier>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
#else | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
#endif | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen @MainActor @preconcurrency public struct _TaskValueModifier<Value> : ViewModifier where Value : Equatable { | |
nonisolated(unsafe) public var action: @Sendable () async -> Void | |
@MainActor @preconcurrency public var priority: TaskPriority | |
@MainActor @preconcurrency public var value: Value | |
@inlinable nonisolated public init(value: Value, priority: TaskPriority, action: @escaping @Sendable () async -> Void) { | |
self.action = action | |
self.priority = priority | |
self.value = value | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_TaskValueModifier<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
nonisolated public static func _makeViewList(modifier: _GraphValue<_TaskValueModifier<Value>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
#else | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs, body: (_ViewListCountInputs) -> Int?) -> Int? | |
#endif | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
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 | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "RotateGesture") | |
@available(tvOS, unavailable, introduced: 13.0, renamed: "RotateGesture") | |
@available(watchOS, unavailable, introduced: 6.0, renamed: "RotateGesture") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "RotateGesture") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "RotateGesture") | |
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> | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension RotateGesture : 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 { | |
nonisolated public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
nonisolated 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 { | |
nonisolated public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
nonisolated public static func _makeViewList(view: _GraphValue<Self>, inputs: _ViewListInputs) -> _ViewListOutputs | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct TextField<Label> : View where Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, axis: Axis) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?, axis: Axis) | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?, axis: Axis) | |
#endif | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, axis: Axis) where S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, prompt: Text?, axis: Axis) where S : StringProtocol | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, prompt: Text?, axis: Axis) where S : StringProtocol | |
#endif | |
} | |
extension TextField { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public init(text: Binding<String>, prompt: Text? = nil, axis: Axis, @ViewBuilder label: () -> Label) | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public init(text: Binding<String>, prompt: Text? = nil, axis: Axis, @ViewBuilder label: () -> Label) | |
#endif | |
} | |
extension TextField where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?) | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, prompt: Text?) where S : StringProtocol | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, prompt: Text?) where S : StringProtocol | |
#endif | |
} | |
extension TextField { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TextField where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, selection: Binding<TextSelection?>, prompt: Text? = nil, axis: Axis? = nil) | |
#else | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, selection: Binding<TextSelection?>, prompt: Text? = nil, axis: Axis? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, selection: Binding<TextSelection?>, prompt: Text? = nil, axis: Axis? = nil) where S : StringProtocol | |
#else | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, selection: Binding<TextSelection?>, prompt: Text? = nil, axis: Axis? = nil) where S : StringProtocol | |
#endif | |
} | |
extension TextField where Label == Text { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient nonisolated 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 nonisolated 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.") | |
nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 } | |
} | |
@available(watchOS 6.0, *) | |
@usableFromInline | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
@available(visionOS, unavailable) | |
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 @MainActor @preconcurrency 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 { | |
nonisolated 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 18.0, macOS 15.0, tvOS 18.0, *) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension EnvironmentValues { | |
public var isTabBarShowingSections: Bool { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var tabBarPlacement: TabBarPlacement? { | |
get | |
} | |
#else | |
public var tabBarPlacement: TabBarPlacement? { | |
get | |
} | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct TabBarPlacement : Hashable { | |
public static let topBar: TabBarPlacement | |
public static let sidebar: TabBarPlacement | |
public static let bottomBar: TabBarPlacement | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: TabBarPlacement, b: TabBarPlacement) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension TabBarPlacement : 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<RadioGroupPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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) | |
nonisolated 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) | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var defaultMinListHeaderHeight: CGFloat? { | |
get | |
set | |
} | |
#else | |
public var defaultMinListHeaderHeight: CGFloat? { | |
get | |
set | |
} | |
#endif | |
} | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension EnvironmentValues { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public var _plainListSectionSpacing: CGFloat? { | |
get | |
set | |
} | |
#else | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public var _plainListSectionSpacing: CGFloat? { | |
get | |
set | |
} | |
#endif | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
nonisolated 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 { | |
nonisolated public func defaultSize(_ size: CGSize) -> some Scene | |
nonisolated public func defaultSize(width: CGFloat, height: CGFloat) -> some Scene | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@MainActor @preconcurrency public static func _printChanges() | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension ViewModifier { | |
@MainActor @preconcurrency public static func _printChanges() | |
} | |
@available(iOS 17.1, macOS 14.1, tvOS 17.1, watchOS 10.1, *) | |
extension ViewModifier { | |
@MainActor @preconcurrency public static func _logChanges() | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension PrimitiveButtonStyle where Self == LinkButtonStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var link: LinkButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct LinkButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: LinkButtonStyle.Configuration) -> some View | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15LinkButtonStyleV8makeBody13configurationQrAA09PrimitivedE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension LinkButtonStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func searchable(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil) -> some View | |
#else | |
nonisolated public func searchable(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil) -> some View | |
#endif | |
nonisolated public func searchable(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: LocalizedStringKey) -> some View | |
@_disfavoredOverload nonisolated public func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: S) -> some View where S : StringProtocol | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func searchable(text: Binding<String>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil) -> some View | |
#else | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func searchable(text: Binding<String>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil) -> some View | |
#endif | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 nonisolated public func searchable<S>(text: Binding<String>, isPresented: Binding<Bool>, placement: SearchFieldPlacement = .automatic, prompt: S) -> some View where S : StringProtocol | |
} | |
@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) | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
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 @MainActor @preconcurrency public static func push(from edge: Edge) -> Self { Self(edge: edge) } | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@MainActor @preconcurrency public struct PushTransition : Transition { | |
@MainActor @preconcurrency public var edge: Edge | |
@MainActor @preconcurrency public init(edge: Edge) | |
@MainActor @preconcurrency public func body(content: PushTransition.Content, phase: TransitionPhase) -> some View | |
@MainActor @preconcurrency public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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 | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias ArrayLiteralElement = EditActions<Data> | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Element = EditActions<Data> | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Indices = DefaultIndices<IndexedIdentifierCollection<Base, ID>> | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Iterator = IndexingIterator<IndexedIdentifierCollection<Base, ID>> | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen @MainActor @preconcurrency public struct _GeometryActionModifier<Value> where Value : Equatable { | |
@MainActor @preconcurrency public var value: (GeometryProxy) -> Value | |
@MainActor @preconcurrency public var action: (Value) -> Void | |
@inlinable @MainActor @preconcurrency public init(value: @escaping (GeometryProxy) -> Value, action: @escaping (Value) -> Void) { | |
self.value = value | |
self.action = action | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_GeometryActionModifier<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _GeometryActionModifier : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _GeometryActionModifier2<Value> where Value : Equatable { | |
@MainActor @preconcurrency public var value: (GeometryProxy) -> Value | |
@MainActor @preconcurrency public var action: (Value, Value) -> Void | |
@inlinable @MainActor @preconcurrency public init(value: @escaping (GeometryProxy) -> Value, action: @escaping (Value, Value) -> Void) { | |
self.value = value | |
self.action = action | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_GeometryActionModifier2<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 18.0, tvOS 18.0, watchOS 10.0, macOS 15.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _GeometryActionModifier2 : Sendable { | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_alwaysEmitIntoClient nonisolated public func onGeometryChange<T>(for type: T.Type, of transform: @escaping (GeometryProxy) -> T, action: @escaping (_ newValue: T) -> Void) -> some View where T : Equatable { | |
modifier(_GeometryActionModifier<T>(value: transform, action: action)) | |
} | |
} | |
extension View { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 10.0, *) | |
nonisolated public func onGeometryChange<T>(for type: T.Type, of transform: @escaping (GeometryProxy) -> T, action: @escaping (_ oldValue: T, _ newValue: T) -> Void) -> some View where T : Equatable | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
@MainActor @preconcurrency internal struct SafeAreaPaddingModifier : ViewModifier { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@MainActor @preconcurrency internal init(edges: Edge.Set, insets: EdgeInsets?) | |
#else | |
@usableFromInline | |
@MainActor @preconcurrency internal init(edges: Edge.Set, insets: EdgeInsets?) | |
#endif | |
@usableFromInline | |
@MainActor @preconcurrency internal func body(content: SafeAreaPaddingModifier.Content) -> some View | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
@usableFromInline | |
internal typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI23SafeAreaPaddingModifierV4body7contentQrAA05_ViewF8_ContentVyACG_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension SafeAreaPaddingModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated public func safeAreaPadding(_ insets: EdgeInsets) -> some View { | |
modifier( | |
SafeAreaPaddingModifier(edges: .all, insets: insets) | |
) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated public func safeAreaPadding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View { | |
modifier( | |
SafeAreaPaddingModifier( | |
edges: edges, | |
insets: length.map { EdgeInsets(_all: $0) } | |
) | |
) | |
} | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated public func safeAreaPadding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> some View { | |
modifier( | |
SafeAreaPaddingModifier( | |
edges: edges, | |
insets: length.map { EdgeInsets(_all: $0) } | |
) | |
) | |
} | |
#endif | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated 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 { | |
} | |
extension View { | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func searchFocused(_ binding: FocusState<Bool>.Binding) -> some View | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func searchFocused<V>(_ binding: FocusState<V>.Binding, equals value: V) -> some View where V : Hashable | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ForEach { | |
public init<V>(sectionOf view: V, @ViewBuilder content: @escaping (SectionConfiguration) -> Content) where Data == ForEachSectionCollection<Content>, ID == SectionConfiguration.ID, Content : View, V : View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct ForEachSectionCollection<Content> : RandomAccessCollection where Content : View { | |
public var startIndex: Int { | |
get | |
} | |
public var endIndex: Int { | |
get | |
} | |
public subscript(index: Int) -> SectionConfiguration { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Element = SectionConfiguration | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Index = Int | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Indices = Range<Int> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Iterator = IndexingIterator<ForEachSectionCollection<Content>> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias SubSequence = Slice<ForEachSectionCollection<Content>> | |
} | |
@available(*, unavailable) | |
extension ForEachSectionCollection : Sendable { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@preconcurrency @MainActor public protocol NavigationSplitViewStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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, *) | |
nonisolated 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 @MainActor @preconcurrency public struct _ShapeIntersection<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var lhs: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var rhs: U | |
@usableFromInline | |
@MainActor @preconcurrency internal var eoFill: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
nonisolated public func path(in r: CGRect) -> Path | |
nonisolated public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _ShapeIntersection<T, U>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = _ShapeView<_ShapeIntersection<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _ShapeUnion<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var lhs: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var rhs: U | |
@usableFromInline | |
@MainActor @preconcurrency internal var eoFill: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
nonisolated public func path(in r: CGRect) -> Path | |
nonisolated public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _ShapeUnion<T, U>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = _ShapeView<_ShapeUnion<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _ShapeSubtraction<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var lhs: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var rhs: U | |
@usableFromInline | |
@MainActor @preconcurrency internal var eoFill: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
nonisolated public func path(in r: CGRect) -> Path | |
nonisolated public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _ShapeSubtraction<T, U>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = _ShapeView<_ShapeSubtraction<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _ShapeSymmetricDifference<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var lhs: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var rhs: U | |
@usableFromInline | |
@MainActor @preconcurrency internal var eoFill: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
nonisolated public func path(in r: CGRect) -> Path | |
nonisolated public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _ShapeSymmetricDifference<T, U>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = _ShapeView<_ShapeSymmetricDifference<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _ShapeLineIntersection<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var lhs: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var rhs: U | |
@usableFromInline | |
@MainActor @preconcurrency internal var eoFill: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
nonisolated public func path(in r: CGRect) -> Path | |
nonisolated public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _ShapeLineIntersection<T, U>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = _ShapeView<_ShapeLineIntersection<T, U>, ForegroundStyle> | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@frozen @MainActor @preconcurrency public struct _ShapeLineSubtraction<T, U> : Shape where T : Shape, U : Shape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var lhs: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var rhs: U | |
@usableFromInline | |
@MainActor @preconcurrency internal var eoFill: Bool | |
@_alwaysEmitIntoClient @MainActor @preconcurrency internal init(_ lhs: T, _ rhs: U, eoFill: Bool) { | |
(self.lhs, self.rhs, self.eoFill) = (lhs, rhs, eoFill) | |
} | |
nonisolated public func path(in r: CGRect) -> Path | |
nonisolated public func sizeThatFits(_ p: ProposedViewSize) -> CGSize | |
public typealias AnimatableData = AnimatablePair<T.AnimatableData, U.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _ShapeLineSubtraction<T, U>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
extension TabContent { | |
nonisolated public func sectionActions<Content>(@ViewBuilder content: () -> Content) -> some TabContent<Self.TabValue> where Content : View | |
} | |
@available(iOS 15.0, macOS 10.15, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public enum ControlSize : CaseIterable, Sendable { | |
case mini | |
case small | |
case regular | |
@available(macOS 11.0, *) | |
case large | |
@available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 1.0, *) | |
case extraLarge | |
public static var allCases: [ControlSize] { | |
get | |
} | |
public static func == (a: ControlSize, b: ControlSize) -> Bool | |
public func hash(into hasher: inout Hasher) | |
@available(iOS 15.0, watchOS 9.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
public typealias AllCases = [ControlSize] | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 10.15, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension EnvironmentValues { | |
public var controlSize: ControlSize { | |
get | |
set | |
} | |
} | |
@available(iOS 15.0, macOS 10.15, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension View { | |
@inlinable nonisolated public func controlSize(_ controlSize: ControlSize) -> some View { | |
return environment(\.controlSize, controlSize) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct _AllowsHitTestingModifier : Equatable { | |
@MainActor @preconcurrency public var allowsHitTesting: Bool | |
@inlinable @MainActor @preconcurrency public init(allowsHitTesting: Bool) { | |
self.allowsHitTesting = allowsHitTesting | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_AllowsHitTestingModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
nonisolated public static func == (a: _AllowsHitTestingModifier, b: _AllowsHitTestingModifier) -> Bool | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated public func allowsHitTesting(_ enabled: Bool) -> some View { | |
return modifier(_AllowsHitTestingModifier(allowsHitTesting: enabled)) | |
} | |
} | |
@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) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Resolved = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable nonisolated 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 @MainActor @preconcurrency public struct _ContentShapeKindModifier<ContentShape> : ViewModifier where ContentShape : Shape { | |
@MainActor @preconcurrency public var shape: ContentShape | |
@MainActor @preconcurrency public var eoFill: Bool | |
@MainActor @preconcurrency public var kind: ContentShapeKinds | |
@inlinable nonisolated public init(shape: ContentShape, eoFill: Bool = false, kind: ContentShapeKinds) { | |
self.shape = shape | |
self.eoFill = eoFill | |
self.kind = kind | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_ContentShapeKindModifier<ContentShape>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var codable: NavigationPath.CodableRepresentation? { | |
get | |
} | |
#else | |
public var codable: NavigationPath.CodableRepresentation? { | |
get | |
} | |
#endif | |
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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 | |
#else | |
@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 | |
#endif | |
@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 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func scrollTransition(_ configuration: ScrollTransitionConfiguration = .interactive, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View | |
#else | |
nonisolated public func scrollTransition(_ configuration: ScrollTransitionConfiguration = .interactive, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func scrollTransition(topLeading: ScrollTransitionConfiguration, bottomTrailing: ScrollTransitionConfiguration, axis: Axis? = nil, transition: @escaping @Sendable (EmptyVisualEffect, ScrollTransitionPhase) -> some VisualEffect) -> some View | |
#else | |
nonisolated 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 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") | |
nonisolated 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") | |
nonisolated 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") | |
nonisolated 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 | |
nonisolated public static func _makeView<S>(view: _GraphValue<_ShapeView<S, _SystemShapeStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape | |
@available(iOS, unavailable, introduced: 17.0, message: "Use `HierarchicalShapeStyle` instead.") | |
@available(tvOS, unavailable, introduced: 17.0, message: "Use `HierarchicalShapeStyle` instead.") | |
@available(watchOS, unavailable, introduced: 10.0, message: "Use `HierarchicalShapeStyle` instead.") | |
@available(macOS, introduced: 14.0, deprecated: 13.0, message: "Use `HierarchicalShapeStyle` instead.") | |
@available(visionOS, unavailable, message: "Use `HierarchicalShapeStyle` instead.") | |
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) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#else | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#endif | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Text? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Text? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func typeSelectEquivalent(_ text: Text?) -> some View { | |
_trait(TypeSelectEquivalentKey.self, text) | |
} | |
#else | |
@inlinable nonisolated public func typeSelectEquivalent(_ text: Text?) -> some View { | |
_trait(TypeSelectEquivalentKey.self, text) | |
} | |
#endif | |
@_alwaysEmitIntoClient nonisolated public func typeSelectEquivalent(_ stringKey: LocalizedStringKey) -> some View { | |
typeSelectEquivalent(Text(stringKey)) | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload nonisolated 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 | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 nonisolated 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 @MainActor @preconcurrency public struct _HoverRegionModifier : ViewModifier { | |
@MainActor @preconcurrency public let callback: (Bool) -> Void | |
@inlinable nonisolated public init(_ callback: @escaping (Bool) -> Void) { | |
self.callback = callback | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_HoverRegionModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _HoverRegionModifier : Sendable { | |
} | |
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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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) | |
nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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, *) | |
@MainActor @preconcurrency public struct List<SelectionValue, Content> : View where SelectionValue : Hashable, Content : View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
nonisolated public init(selection: Binding<Set<SelectionValue>>?, @ViewBuilder content: () -> Content) | |
#else | |
@available(watchOS, unavailable) | |
nonisolated public init(selection: Binding<Set<SelectionValue>>?, @ViewBuilder content: () -> Content) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS 10.0, *) | |
nonisolated public init(selection: Binding<SelectionValue?>?, @ViewBuilder content: () -> Content) | |
#else | |
@available(watchOS 10.0, *) | |
nonisolated public init(selection: Binding<SelectionValue?>?, @ViewBuilder content: () -> Content) | |
#endif | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated public init(selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#endif | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#endif | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_semantics("requires_constant_range") nonisolated 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 | |
#else | |
@available(watchOS, unavailable) | |
@_semantics("requires_constant_range") nonisolated 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 | |
#endif | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_semantics("requires_constant_range") @_disfavoredOverload nonisolated public init<RowContent>(_ data: Range<Int>, selection: Binding<SelectionValue>, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS 10.0, *) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient @_semantics("requires_constant_range") nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient @_semantics("requires_constant_range") nonisolated 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) | |
} | |
} | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 @preconcurrency 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 | |
#else | |
@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 @preconcurrency 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 @preconcurrency 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 | |
#else | |
@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 @preconcurrency 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 @preconcurrency 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 | |
#else | |
@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 @preconcurrency 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 @preconcurrency 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 | |
#else | |
@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 @preconcurrency 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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("requires_constant_range") @MainActor @preconcurrency internal init<RowContent>(_ data: Range<Int>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
#else | |
@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("requires_constant_range") @MainActor @preconcurrency internal init<RowContent>(_ data: Range<Int>, selection: Binding<SelectionValue?>?, @ViewBuilder rowContent: @escaping (Int) -> RowContent) where Content == ForEach<Range<Int>, Int, HStack<RowContent>>, RowContent : View | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension List where SelectionValue == Never { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@_semantics("requires_constant_range") @_alwaysEmitIntoClient nonisolated 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 @preconcurrency 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 @preconcurrency 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("requires_constant_range") @_disfavoredOverload @MainActor @preconcurrency 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#else | |
@available(watchOS, unavailable) | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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) | |
} | |
} | |
} | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension List where SelectionValue == Never { | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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 nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension List where SelectionValue == Never { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
} | |
@available(iOS 15.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func listRowSeparator(_ visibility: Visibility, edges: VerticalEdge.Set = .all) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func listRowSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View | |
#else | |
nonisolated public func listRowSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View | |
#endif | |
} | |
@available(iOS 15.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func listSectionSeparator(_ visibility: Visibility, edges: VerticalEdge.Set = .all) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func listSectionSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View | |
#else | |
nonisolated public func listSectionSeparatorTint(_ color: Color?, edges: VerticalEdge.Set = .all) -> some View | |
#endif | |
} | |
@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 nonisolated 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 @MainActor @preconcurrency public struct _PreferenceActionModifier<Key> : ViewModifier where Key : PreferenceKey, Key.Value : Equatable { | |
@MainActor @preconcurrency public var action: (Key.Value) -> Void | |
@inlinable nonisolated public init(action: @escaping (Key.Value) -> Void) { | |
self.action = action | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_PreferenceActionModifier<Key>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _PreferenceActionModifier : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct ToolbarItem<ID, Content> : ToolbarContent where Content : View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public static func _makeToolbar(content: _GraphValue<ToolbarItem<ID, Content>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
@MainActor @preconcurrency public static func _makeContent(content: _GraphValue<ToolbarItem<ID, Content>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 == () { | |
nonisolated 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 nonisolated 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") | |
nonisolated 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 { | |
@MainActor @preconcurrency 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 | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<GroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 { | |
nonisolated 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(macOS 15.0, visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowLayoutRoot { | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
} | |
@available(*, unavailable) | |
extension WindowLayoutRoot : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileDialogDefaultDirectory(_ defaultDirectory: URL?) -> some View | |
#else | |
nonisolated public func fileDialogDefaultDirectory(_ defaultDirectory: URL?) -> some View | |
#endif | |
nonisolated public func fileDialogCustomizationID(_ id: String) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileDialogMessage(_ message: Text?) -> some View | |
#else | |
nonisolated public func fileDialogMessage(_ message: Text?) -> some View | |
#endif | |
nonisolated public func fileDialogMessage(_ messageKey: LocalizedStringKey) -> some View | |
@_disfavoredOverload nonisolated public func fileDialogMessage<S>(_ message: S) -> some View where S : StringProtocol | |
@_disfavoredOverload nonisolated public func fileDialogConfirmationLabel<S>(_ label: S) -> some View where S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileDialogConfirmationLabel(_ label: Text?) -> some View | |
#else | |
nonisolated public func fileDialogConfirmationLabel(_ label: Text?) -> some View | |
#endif | |
nonisolated public func fileDialogConfirmationLabel(_ labelKey: LocalizedStringKey) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileExporterFilenameLabel(_ label: Text?) -> some View | |
#else | |
nonisolated public func fileExporterFilenameLabel(_ label: Text?) -> some View | |
#endif | |
nonisolated public func fileExporterFilenameLabel(_ labelKey: LocalizedStringKey) -> some View | |
@_disfavoredOverload nonisolated public func fileExporterFilenameLabel<S>(_ label: S) -> some View where S : StringProtocol | |
#if compiler(>=5.3) && $ParameterPacks | |
nonisolated public func fileDialogURLEnabled(_ predicate: Predicate<URL>) -> some View | |
#endif | |
nonisolated public func fileDialogImportsUnresolvedAliases(_ imports: Bool) -> some View | |
nonisolated 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 | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias ArrayLiteralElement = FileDialogBrowserOptions | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Element = FileDialogBrowserOptions | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SceneStorage : @unchecked Sendable where Value : 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String) where Value == Bool? | |
#else | |
public init(_ key: String) where Value == Bool? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String) where Value == Int? | |
#else | |
public init(_ key: String) where Value == Int? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String) where Value == Double? | |
#else | |
public init(_ key: String) where Value == Double? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String) where Value == String? | |
#else | |
public init(_ key: String) where Value == String? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String) where Value == URL? | |
#else | |
public init(_ key: String) where Value == URL? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String) where Value == Data? | |
#else | |
public init(_ key: String) where Value == Data? | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SceneStorage { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == String | |
#else | |
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == Int | |
#else | |
public init<R>(_ key: String) where Value == R?, R : RawRepresentable, R.RawValue == Int | |
#endif | |
} | |
@_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) | |
@MainActor @preconcurrency public struct Menu<Label, Content> : View where Label : View, Content : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, tvOS 17.0, macOS 11.0, *) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
nonisolated public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) where Label == Text | |
@_disfavoredOverload nonisolated 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 { | |
nonisolated public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label, primaryAction: @escaping () -> Void) | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content, primaryAction: @escaping () -> Void) where Label == Text | |
@_disfavoredOverload nonisolated 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 nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content) { | |
self.init { | |
content() | |
} label: { | |
Label(titleKey, systemImage: systemImage) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload nonisolated 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 nonisolated 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> { | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: ImageResource, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: ImageResource, @ViewBuilder content: () -> Content) where S : StringProtocol | |
nonisolated 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 { | |
nonisolated public init(_ configuration: MenuStyleConfiguration) | |
} | |
extension TabContent { | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func dropDestination<T>(for payloadType: T.Type = T.self, action: @escaping ([T]) -> Void) -> some TabContent<Self.TabValue> where T : Transferable | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func springLoadingBehavior(_ behavior: SpringLoadingBehavior) -> some TabContent<Self.TabValue> | |
} | |
@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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<InlinePickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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, 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 | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable, introduced: 16.0) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22_HoverTableRowModifierV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension _HoverTableRowModifier : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
nonisolated public func dialogSuppressionToggle(_ titleKey: LocalizedStringKey, isSuppressed: Binding<Bool>) -> some View | |
@_disfavoredOverload nonisolated public func dialogSuppressionToggle<S>(_ title: S, isSuppressed: Binding<Bool>) -> some View where S : StringProtocol | |
nonisolated public func dialogSuppressionToggle(_ label: Text, isSuppressed: Binding<Bool>) -> some View | |
nonisolated public func dialogSuppressionToggle(isSuppressed: Binding<Bool>) -> some View | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
nonisolated public func dialogSuppressionToggle(_ titleKey: LocalizedStringKey, isSuppressed: Binding<Bool>) -> some Scene | |
@_disfavoredOverload nonisolated public func dialogSuppressionToggle<S>(_ title: S, isSuppressed: Binding<Bool>) -> some Scene where S : StringProtocol | |
nonisolated public func dialogSuppressionToggle(_ label: Text, isSuppressed: Binding<Bool>) -> some Scene | |
nonisolated public func dialogSuppressionToggle(isSuppressed: Binding<Bool>) -> some Scene | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 { | |
nonisolated 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 | |
nonisolated 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 | |
nonisolated 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 | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], onCompletion: @escaping (_ result: Result<URL, any Error>) -> Void) -> some View | |
#else | |
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], onCompletion: @escaping (_ result: Result<URL, any Error>) -> Void) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void) -> some View | |
#else | |
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void) -> some View | |
#endif | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void, onCancellation: @escaping () -> Void) -> some View | |
#else | |
nonisolated public func fileImporter(isPresented: Binding<Bool>, allowedContentTypes: [UTType], allowsMultipleSelection: Bool, onCompletion: @escaping (_ result: Result<[URL], any Error>) -> Void, onCancellation: @escaping () -> Void) -> some View | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _EnvironmentKeyWritingModifier : _SceneModifier { | |
} | |
extension Scene { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@_alwaysEmitIntoClient nonisolated public func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some Scene { | |
modifier(_EnvironmentKeyWritingModifier(keyPath: keyPath, value: value)) | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension _EnvironmentKeyTransformModifier : _SceneModifier { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Scene { | |
nonisolated public func transformEnvironment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, transform: @escaping (inout V) -> Void) -> some Scene | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == PaletteControlGroupStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var palette: PaletteControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct PaletteControlGroupStyle : ControlGroupStyle { | |
nonisolated public init() | |
@MainActor @preconcurrency public func makeBody(configuration: PaletteControlGroupStyle.Configuration) -> some View | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable, introduced: 17.0) | |
@available(watchOS, unavailable) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func sheet<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#else | |
nonisolated public func sheet<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func sheet<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
#else | |
nonisolated public func sheet<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
#endif | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *) | |
@available(macOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#else | |
nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)") | |
@MainActor @preconcurrency public func _cover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#else | |
@available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)") | |
@MainActor @preconcurrency public func _cover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
#else | |
nonisolated public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(*, deprecated, renamed: "fullScreenCover(isPresented:onDismiss:content:)") | |
@MainActor @preconcurrency public func _cover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
#else | |
@available(*, deprecated, renamed: "fullScreenCover(isPresented:onDismiss:content:)") | |
@MainActor @preconcurrency public func _cover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func aspectRatio(_ aspectRatio: CGFloat? = nil, contentMode: ContentMode) -> some View { | |
return modifier(_AspectRatioLayout( | |
aspectRatio: aspectRatio, contentMode: contentMode)) | |
} | |
#else | |
@inlinable nonisolated public func aspectRatio(_ aspectRatio: CGFloat? = nil, contentMode: ContentMode) -> some View { | |
return modifier(_AspectRatioLayout( | |
aspectRatio: aspectRatio, contentMode: contentMode)) | |
} | |
#endif | |
@inlinable nonisolated public func aspectRatio(_ aspectRatio: CGSize, contentMode: ContentMode) -> some View { | |
return self.aspectRatio( | |
aspectRatio.width / aspectRatio.height, contentMode: contentMode) | |
} | |
@inlinable nonisolated public func scaledToFit() -> some View { | |
return aspectRatio(contentMode: .fit) | |
} | |
@inlinable nonisolated public func scaledToFill() -> some View { | |
return aspectRatio(contentMode: .fill) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct _CALayerView<LayerType> : View where LayerType : QuartzCore.CALayer { | |
@MainActor @preconcurrency public var update: (LayerType) -> Void | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _CALayerView : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension _CALayerView { | |
nonisolated public init(type: LayerType.Type, onUpdate update: @escaping (LayerType) -> Void) | |
nonisolated 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 { | |
nonisolated 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(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension AppStorage : Sendable where Value : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension AppStorage { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Bool | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Bool | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Int | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Int | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Double | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Double | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == String | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == URL | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == URL | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Data | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value == Data | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == Int | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == Int | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == String | |
#else | |
public init(wrappedValue: Value, _ key: String, store: UserDefaults? = nil) where Value : RawRepresentable, Value.RawValue == String | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension AppStorage where Value : ExpressibleByNilLiteral { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Bool? | |
#else | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Bool? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Int? | |
#else | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Int? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Double? | |
#else | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Double? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String, store: UserDefaults? = nil) where Value == String? | |
#else | |
public init(_ key: String, store: UserDefaults? = nil) where Value == String? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String, store: UserDefaults? = nil) where Value == URL? | |
#else | |
public init(_ key: String, store: UserDefaults? = nil) where Value == URL? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Data? | |
#else | |
public init(_ key: String, store: UserDefaults? = nil) where Value == Data? | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension AppStorage { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == String | |
#else | |
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == String | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == Int | |
#else | |
public init<R>(_ key: String, store: UserDefaults? = nil) where Value == R?, R : RawRepresentable, R.RawValue == Int | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated public func defaultAppStorage(_ store: UserDefaults) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Scene { | |
nonisolated 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 | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
extension AppStorage { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(wrappedValue: Value = ToolbarLabelStyle.automatic, _ key: String, store: UserDefaults? = nil) where Value == ToolbarLabelStyle | |
#else | |
public init(wrappedValue: Value = ToolbarLabelStyle.automatic, _ key: String, store: UserDefaults? = nil) where Value == ToolbarLabelStyle | |
#endif | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal class UserDefaultLocation<Value> : @unchecked Sendable { | |
@usableFromInline | |
internal var wasRead: Bool | |
@usableFromInline | |
internal func get() -> Value | |
@usableFromInline | |
internal func set(_ value: Value, transaction: Transaction) | |
@usableFromInline | |
internal func update() -> (Value, Bool) | |
@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 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
extension TabViewStyle where Self == SidebarAdaptableTabViewStyle { | |
@_alwaysEmitIntoClient public static var sidebarAdaptable: SidebarAdaptableTabViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
public struct SidebarAdaptableTabViewStyle : TabViewStyle { | |
public init() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<SidebarAdaptableTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated public static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<SidebarAdaptableTabViewStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension SidebarAdaptableTabViewStyle : Sendable { | |
} | |
@available(iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1, *) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct LimitedAvailabilityScene : Scene, _LimitedAvailabilitySceneMarker { | |
@usableFromInline | |
@MainActor @preconcurrency internal var storage: LimitedAvailabilitySceneStorageBase | |
@usableFromInline | |
@MainActor @preconcurrency internal init<S>(_ scene: S) where S : Scene | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: Never { | |
get | |
} | |
@usableFromInline | |
nonisolated internal static func _makeScene(scene: _GraphValue<LimitedAvailabilityScene>, inputs: _SceneInputs) -> _SceneOutputs | |
@available(iOS 16.1, tvOS 16.1, watchOS 9.1, macOS 13.0, *) | |
@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 { | |
nonisolated public init(newDocument: @escaping () -> Document, @ViewBuilder editor: @escaping (ReferenceFileDocumentConfiguration<Document>) -> Content) | |
nonisolated 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 @preconcurrency public struct ReferenceFileDocumentConfiguration<Document> where Document : ReferenceFileDocument { | |
@ObservedObject @_projectedValueProperty($document) @MainActor @preconcurrency 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 @preconcurrency public var $document: ObservedObject<Document>.Wrapper { | |
get | |
} | |
@MainActor @preconcurrency public var fileURL: URL? | |
@MainActor @preconcurrency public var isEditable: Bool | |
} | |
@available(*, unavailable) | |
extension ReferenceFileDocumentConfiguration : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated public func onSubmit(of triggers: SubmitTriggers = .text, _ action: @escaping (() -> Void)) -> some View | |
nonisolated 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 | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI27RoundedBorderTextFieldStyleV5_body13configurationQrAA0eF0VyAA01_efG5LabelVG_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension RoundedBorderTextFieldStyle : Sendable { | |
} | |
@available(iOS 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5, *) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct LimitedAvailabilityToolbarContent : ToolbarContent, CustomizableToolbarContent { | |
public typealias Body = Never | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
@MainActor @preconcurrency internal let storage: LimitedAvailabilityToolbarContentStorageBase | |
@usableFromInline | |
@MainActor @preconcurrency internal init(erasing content: some ToolbarContent) | |
nonisolated public static func _makeToolbar(content: _GraphValue<LimitedAvailabilityToolbarContent>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityToolbarContent : Sendable { | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5, *) | |
@usableFromInline | |
internal class LimitedAvailabilityToolbarContentStorageBase { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(*, unavailable) | |
extension LimitedAvailabilityToolbarContentStorageBase : 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)") | |
nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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 nonisolated 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(_:)") | |
nonisolated 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(_:)") | |
nonisolated 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 nonisolated public func navigationBarTitle<S>(_ title: S, displayMode: NavigationBarItem.TitleDisplayMode) -> some View where S : StringProtocol | |
nonisolated 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(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func textInputSuggestions<S>(@ViewBuilder _ suggestions: () -> S) -> some View where S : View | |
nonisolated public func textInputSuggestions<Data, ID, Content>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> Content) -> some View where Data : RandomAccessCollection, ID : Hashable, Content : View | |
nonisolated public func textInputSuggestions<Data, Content>(_ data: Data, @ViewBuilder content: @escaping (Data.Element) -> Content) -> some View where Data : RandomAccessCollection, Content : View, Data.Element : Identifiable | |
} | |
@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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func viewForIdentifier<V, I>(_ identifier: I, _ type: V.Type = V.self) -> V? where V : View, I : Hashable | |
#else | |
public func viewForIdentifier<V, I>(_ identifier: I, _ type: V.Type = V.self) -> V? where V : View, I : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
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) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func setEnvironment(_ environment: EnvironmentValues?) | |
#else | |
public func setEnvironment(_ environment: EnvironmentValues?) | |
#endif | |
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 @MainActor @preconcurrency public struct _SizedShape<S> : Shape where S : Shape { | |
@MainActor @preconcurrency public var shape: S | |
@MainActor @preconcurrency public var size: CGSize | |
@inlinable nonisolated public init(shape: S, size: CGSize) { | |
self.shape = shape | |
self.size = size | |
} | |
nonisolated public func path(in rect: CGRect) -> Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public static var role: ShapeRole { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
public typealias AnimatableData = AnimatablePair<S.AnimatableData, CGSize.AnimatableData> | |
@MainActor @preconcurrency public var animatableData: _SizedShape<S>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Shape { | |
public func size(_ size: CGSize, anchor: UnitPoint) -> some Shape | |
public func size(width: CGFloat, height: CGFloat, anchor: UnitPoint) -> some Shape | |
} | |
@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 { | |
@MainActor @preconcurrency 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 @MainActor @preconcurrency 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 { | |
nonisolated public static func _makeScene(scene: _GraphValue<ModifiedContent<Content, Modifier>>, inputs: _SceneInputs) -> _SceneOutputs | |
@MainActor @preconcurrency 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, *) | |
@MainActor @preconcurrency public struct _SceneModifier_Content<Modifier> : Scene where Modifier : _SceneModifier { | |
nonisolated public static func _makeScene(scene: _GraphValue<_SceneModifier_Content<Modifier>>, inputs: _SceneInputs) -> _SceneOutputs | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension CustomHoverEffect { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func hoverEffect(in group: HoverEffectGroup? = nil, isEnabled: Bool = true, body: @escaping (EmptyHoverEffectContent, Bool, GeometryProxy) -> some HoverEffectContent) -> some CustomHoverEffect | |
#else | |
public func hoverEffect(in group: HoverEffectGroup? = nil, isEnabled: Bool = true, body: @escaping (EmptyHoverEffectContent, Bool, GeometryProxy) -> some HoverEffectContent) -> some CustomHoverEffect | |
#endif | |
} | |
@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 { | |
nonisolated public func scenePadding(_ edges: Edge.Set = .all) -> some View | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated 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) | |
@MainActor 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 | |
} | |
} | |
@discardableResult | |
@MainActor public func callAsFunction(id: String) async -> OpenImmersiveSpaceAction.Result | |
@discardableResult | |
@MainActor public func callAsFunction<D>(value: D) async -> OpenImmersiveSpaceAction.Result where D : Decodable, D : Encodable, D : Hashable | |
@discardableResult | |
@MainActor public func callAsFunction<D>(id: String, value: D) async -> OpenImmersiveSpaceAction.Result where D : Decodable, D : Encodable, D : Hashable | |
} | |
@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 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityRespondsToUserInteraction(_ respondsToUserInteraction: Bool, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityRespondsToUserInteraction(_ respondsToUserInteraction: Bool, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated 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 | |
@MainActor @preconcurrency internal struct TupleWidget<T> : Widget { | |
@usableFromInline | |
@MainActor @preconcurrency internal init() | |
@usableFromInline | |
@MainActor @preconcurrency internal init(_ value: T) | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: some WidgetConfiguration { | |
get | |
} | |
@available(iOS 14.0, watchOS 9.0, macOS 11.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable) | |
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 | |
@MainActor @preconcurrency internal struct TupleWidgetConfiguration<T> : WidgetConfiguration { | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: Never { | |
get | |
} | |
@usableFromInline | |
nonisolated internal static func _makeWidgetConfiguration(widget: _GraphValue<TupleWidgetConfiguration<T>>, inputs: _WidgetInputs) -> _WidgetOutputs | |
@available(iOS 14.0, watchOS 9.0, macOS 11.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable) | |
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) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public mutating func remove(_ member: TableColumnCustomizationBehavior.Element) -> TableColumnCustomizationBehavior.Element? | |
#else | |
public mutating func remove(_ member: TableColumnCustomizationBehavior.Element) -> TableColumnCustomizationBehavior.Element? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public mutating func update(with newMember: TableColumnCustomizationBehavior.Element) -> TableColumnCustomizationBehavior.Element? | |
#else | |
public mutating func update(with newMember: TableColumnCustomizationBehavior.Element) -> TableColumnCustomizationBehavior.Element? | |
#endif | |
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 | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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) | |
@preconcurrency @MainActor @propertyWrapper public struct UIApplicationDelegateAdaptor<DelegateType> : DynamicProperty where DelegateType : ObjectiveC.NSObject, DelegateType : UIApplicationDelegate { | |
@MainActor @preconcurrency public var wrappedValue: DelegateType { | |
get | |
} | |
@MainActor @preconcurrency 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 @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self) | |
@MainActor @preconcurrency 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 @preconcurrency public init(_ delegateType: DelegateType.Type = DelegateType.self) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @propertyWrapper @preconcurrency @MainActor public struct StateObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject { | |
@usableFromInline | |
@preconcurrency @MainActor @frozen internal enum Storage { | |
case initially(() -> ObjectType) | |
case object(ObservedObject<ObjectType>) | |
} | |
@usableFromInline | |
@MainActor @preconcurrency internal var storage: StateObject<ObjectType>.Storage | |
@inlinable @MainActor @preconcurrency public init(wrappedValue thunk: @autoclosure @escaping () -> ObjectType) { | |
storage = .initially(thunk) | |
} | |
@MainActor @preconcurrency public var wrappedValue: ObjectType { | |
get | |
} | |
@MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { | |
get | |
} | |
nonisolated 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 StateObject { | |
@MainActor @preconcurrency 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 | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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, *) | |
@preconcurrency @MainActor public protocol AccessibilityRotorContent { | |
nonisolated static func _makeEntries(content: _GraphValue<Self>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#else | |
nonisolated static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#endif | |
associatedtype Body : AccessibilityRotorContent | |
@AccessibilityRotorContentBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension AccessibilityRotorContent { | |
nonisolated public static func _makeEntries(content: _GraphValue<Self>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#else | |
nonisolated public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#endif | |
} | |
@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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient public static func buildIf<Content>(_ content: Content?) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent { | |
AccessibilityOptionalRotorContent(content) | |
} | |
#else | |
@_alwaysEmitIntoClient public static func buildIf<Content>(_ content: Content?) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent { | |
AccessibilityOptionalRotorContent(content) | |
} | |
#endif | |
} | |
@available(*, unavailable) | |
extension AccessibilityRotorContentBuilder : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct AccessibilityTupleRotorContent<T> : AccessibilityRotorContent { | |
@usableFromInline | |
@MainActor @preconcurrency internal var value: T | |
@inlinable @MainActor @preconcurrency internal init(_ value: T) { self.value = value } | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: Never { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
nonisolated internal static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#else | |
@usableFromInline | |
nonisolated internal static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#endif | |
@usableFromInline | |
nonisolated internal static func _makeEntries(content: _GraphValue<AccessibilityTupleRotorContent<T>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
@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 { | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#else | |
nonisolated public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#endif | |
nonisolated public static func _makeEntries(content: _GraphValue<ForEach<Data, ID, Content>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
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 { | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
nonisolated public static func _makeEntries(content: _GraphValue<AccessibilityRotorEntry<ID>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#else | |
nonisolated public static func _entryCount(inputs: _AccessibilityRotorEntryInputs) -> Int? | |
#endif | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias Body = Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct AccessibilityOptionalRotorContent<Content> where Content : AccessibilityRotorContent { | |
@usableFromInline | |
@MainActor @preconcurrency internal var content: Content? | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable @MainActor @preconcurrency internal init(_ content: Content?) { | |
self.content = content | |
} | |
#else | |
@inlinable @MainActor @preconcurrency internal init(_ content: Content?) { | |
self.content = content | |
} | |
#endif | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: Never { | |
get | |
} | |
@usableFromInline | |
nonisolated internal static func _makeEntries(content: _GraphValue<AccessibilityOptionalRotorContent<Content>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
@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 { | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
public init(@AccessibilityRotorContentBuilder content: () -> Content) | |
nonisolated public static func _makeEntries(content: _GraphValue<Group<Content>>, inputs: _AccessibilityRotorEntryInputs) -> _AccessibilityRotorEntryOutputs | |
} | |
@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, *) | |
@preconcurrency @MainActor public protocol PrimitiveButtonStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Label : View { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
nonisolated 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 @MainActor @preconcurrency public static var automatic: AutomaticControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct AutomaticControlGroupStyle : ControlGroupStyle { | |
@usableFromInline | |
@MainActor @preconcurrency internal init() | |
@MainActor @preconcurrency public func makeBody(configuration: AutomaticControlGroupStyle.Configuration) -> some View | |
@available(iOS 15.0, tvOS 17.0, macOS 12.0, *) | |
@available(watchOS, unavailable) | |
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 @MainActor @preconcurrency public static var automatic: DefaultGroupBoxStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct DefaultGroupBoxStyle : GroupBoxStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: DefaultGroupBoxStyle.Configuration) -> some View | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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, *) | |
@preconcurrency @MainActor public protocol App { | |
associatedtype Body : Scene | |
@SceneBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
@MainActor @preconcurrency init() | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension App { | |
@MainActor @preconcurrency public static func main() | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@frozen public enum FrameResizePosition : Int8, CaseIterable { | |
case top | |
case leading | |
case bottom | |
case trailing | |
case topLeading | |
case topTrailing | |
case bottomLeading | |
case bottomTrailing | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init?(rawValue: Int8) | |
#else | |
public init?(rawValue: Int8) | |
#endif | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias AllCases = [FrameResizePosition] | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias RawValue = Int8 | |
public static var allCases: [FrameResizePosition] { | |
get | |
} | |
public var rawValue: Int8 { | |
get | |
} | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@frozen public enum FrameResizeDirection : Int8, CaseIterable { | |
case inward | |
case outward | |
@frozen public struct Set : OptionSet, Equatable, Hashable { | |
public typealias Element = FrameResizeDirection.Set | |
public let rawValue: Int8 | |
public init(rawValue: Int8) | |
public static let inward: FrameResizeDirection.Set | |
public static let outward: FrameResizeDirection.Set | |
public static let all: FrameResizeDirection.Set | |
public init(_ direction: FrameResizeDirection) | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias ArrayLiteralElement = FrameResizeDirection.Set.Element | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias RawValue = Int8 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init?(rawValue: Int8) | |
#else | |
public init?(rawValue: Int8) | |
#endif | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias AllCases = [FrameResizeDirection] | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias RawValue = Int8 | |
public static var allCases: [FrameResizeDirection] { | |
get | |
} | |
public var rawValue: Int8 { | |
get | |
} | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<T>() where Value == T?, T : Hashable | |
#else | |
public init<T>() where Value == T?, T : Hashable | |
#endif | |
} | |
@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 { | |
nonisolated public func focused<Value>(_ binding: FocusState<Value>.Binding, equals value: Value) -> some View where Value : Hashable | |
nonisolated public func focused(_ condition: FocusState<Bool>.Binding) -> some View | |
} | |
@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 | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension HoverEffectContent { | |
public func offset(_ offset: CGSize) -> some HoverEffectContent | |
public func offset(x: CGFloat = 0, y: CGFloat = 0) -> some HoverEffectContent | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func onModifierKeysChanged(mask: EventModifiers = .all, initial: Bool = true, _ action: @escaping (_ old: EventModifiers, _ new: EventModifiers) -> Void) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct _PositionLayout { | |
@MainActor @preconcurrency public var position: CGPoint | |
@inlinable @MainActor @preconcurrency public init(position: CGPoint) { | |
self.position = position | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias AnimatableData = EmptyAnimatableData | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated public func position(_ position: CGPoint) -> some View { | |
return modifier(_PositionLayout(position: position)) | |
} | |
@inlinable nonisolated 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) | |
@MainActor @preconcurrency public struct AutomaticTextEditorStyle : TextEditorStyle { | |
@MainActor @preconcurrency public func makeBody(configuration: AutomaticTextEditorStyle.Configuration) -> AutomaticTextEditorStyle.Body | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public struct Body : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 @MainActor @preconcurrency 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() } | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient public static func animation(minimumInterval: Double? = nil, paused: Bool = false) -> AnimationTimelineSchedule { | |
.init(minimumInterval: minimumInterval, paused: paused) | |
} | |
#else | |
@_alwaysEmitIntoClient public static func animation(minimumInterval: Double? = nil, paused: Bool = false) -> AnimationTimelineSchedule { | |
.init(minimumInterval: minimumInterval, paused: paused) | |
} | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AnimationTimelineSchedule : TimelineSchedule, Sendable { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(minimumInterval: Double? = nil, paused: Bool = false) | |
#else | |
public init(minimumInterval: Double? = nil, paused: Bool = false) | |
#endif | |
public func entries(from start: Date, mode: TimelineScheduleMode) -> AnimationTimelineSchedule.Entries | |
public struct Entries : Sequence, IteratorProtocol, Sendable { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public mutating func next() -> Date? | |
#else | |
public mutating func next() -> Date? | |
#endif | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias Element = Date | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias Iterator = AnimationTimelineSchedule.Entries | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PrimitiveButtonStyle where Self == PlainButtonStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var plain: PlainButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct PlainButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: PlainButtonStyle.Configuration) -> some View | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
#else | |
public init<DataElement>(_ root: DataElement, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
#else | |
public init<DataElement>(_ data: Data, children: KeyPath<DataElement, Data?>, @TableRowBuilder<DataElement> content: @escaping (DataElement) -> Leaf) where ID == DataElement.ID, DataElement == Data.Element | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
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 | |
#else | |
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 | |
#endif | |
} | |
@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 | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 { | |
nonisolated public func submitLabel(_ submitLabel: SubmitLabel) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public protocol NavigationTransition { | |
func _outputs(for inputs: _NavigationTransitionInputs) -> _NavigationTransitionOutputs | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct _NavigationTransitionInputs : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct _NavigationTransitionOutputs : Sendable { | |
} | |
extension View { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func navigationTransition(_ style: some NavigationTransition) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct AutomaticNavigationTransition : NavigationTransition { | |
public func _outputs(for inputs: _NavigationTransitionInputs) -> _NavigationTransitionOutputs | |
} | |
@available(*, unavailable) | |
extension AutomaticNavigationTransition : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension NavigationTransition where Self == AutomaticNavigationTransition { | |
public static var automatic: AutomaticNavigationTransition { | |
get | |
} | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
public struct ZoomNavigationTransition : NavigationTransition { | |
public func _outputs(for inputs: _NavigationTransitionInputs) -> _NavigationTransitionOutputs | |
} | |
@available(*, unavailable) | |
extension ZoomNavigationTransition : Sendable { | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
extension NavigationTransition where Self == ZoomNavigationTransition { | |
public static func zoom(sourceID: some Hashable, in namespace: Namespace.ID) -> ZoomNavigationTransition | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct Divider : View { | |
nonisolated public init() | |
nonisolated public static func _makeView(view: _GraphValue<Divider>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 @MainActor @preconcurrency public static var button: ButtonMenuStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct ButtonMenuStyle : MenuStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: ButtonMenuStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 17.0, macOS 13.0, *) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15ButtonMenuStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension ButtonMenuStyle : Sendable { | |
} | |
@available(tvOS 16.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func onLongTouchGesture(minimumDuration: Double = 0.5, perform action: @escaping () -> Void, onTouchingChanged: ((Bool) -> Void)? = nil) -> some View | |
#else | |
nonisolated public func onLongTouchGesture(minimumDuration: Double = 0.5, perform action: @escaping () -> Void, onTouchingChanged: ((Bool) -> Void)? = nil) -> some View | |
#endif | |
} | |
@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, *) | |
nonisolated public func customizationBehavior(_ behavior: ToolbarCustomizationBehavior) -> some CustomizableToolbarContent | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor public struct PushWindowAction { | |
@MainActor public func callAsFunction<D>(value: D) where D : Decodable, D : Encodable, D : Hashable | |
@MainActor public func callAsFunction(id: String) | |
@MainActor public func callAsFunction<D>(id: String, value: D) where D : Decodable, D : Encodable, D : Hashable | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
public var pushWindow: PushWindowAction { | |
get | |
} | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
nonisolated public func defaultLaunchBehavior(_ behavior: SceneLaunchBehavior) -> some Scene | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SceneLaunchBehavior : Sendable { | |
public static let automatic: SceneLaunchBehavior | |
public static let presented: SceneLaunchBehavior | |
public static let suppressed: SceneLaunchBehavior | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct TextFieldLink<Label> : View where Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
@available(visionOS, unavailable) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(prompt: Text? = nil, @ViewBuilder label: () -> Label, onSubmit: @escaping (String) -> Void) | |
#else | |
nonisolated public init(prompt: Text? = nil, @ViewBuilder label: () -> Label, onSubmit: @escaping (String) -> Void) | |
#endif | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension TextFieldLink where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(_ titleKey: LocalizedStringKey, prompt: Text? = nil, onSubmit: @escaping (String) -> Void) | |
#else | |
nonisolated public init(_ titleKey: LocalizedStringKey, prompt: Text? = nil, onSubmit: @escaping (String) -> Void) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, prompt: Text? = nil, onSubmit: @escaping (String) -> Void) where S : StringProtocol | |
#else | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, prompt: Text? = nil, onSubmit: @escaping (String) -> Void) where S : StringProtocol | |
#endif | |
} | |
@available(macOS 15.0, visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
nonisolated public func defaultWindowPlacement(_ makePlacement: @escaping (_ content: WindowLayoutRoot, _ context: WindowPlacementContext) -> WindowPlacement) -> some Scene | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
nonisolated public func windowIdealPlacement(_ makePlacement: @escaping (_ content: WindowLayoutRoot, _ context: WindowPlacementContext) -> WindowPlacement) -> some Scene | |
nonisolated public func windowIdealSize(_ idealSize: WindowIdealSize) -> some Scene | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowIdealSize : Sendable { | |
public static let automatic: WindowIdealSize | |
public static let fitToContent: WindowIdealSize | |
public static let maximum: WindowIdealSize | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct PencilHoverPose : Hashable { | |
public let location: CGPoint | |
public let anchor: UnitPoint | |
public let zDistance: CGFloat | |
public let altitude: Angle | |
public let azimuth: Angle | |
public let roll: Angle | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: PencilHoverPose, b: PencilHoverPose) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension PencilHoverPose : Sendable { | |
} | |
@available(iOS 16.1, macOS 13.0, watchOS 9.1, *) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct LimitedAvailabilityWidget : Widget, _LimitedAvailabilityWidgetMarker { | |
@usableFromInline | |
@MainActor @preconcurrency internal var configuration: LimitedAvailabilityConfiguration | |
nonisolated public init() | |
@usableFromInline | |
@MainActor @preconcurrency internal init<W>(_ widget: W) where W : Widget | |
@MainActor @preconcurrency public var body: some WidgetConfiguration { | |
get | |
} | |
@available(iOS 16.1, watchOS 9.1, macOS 13.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable) | |
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 @MainActor @preconcurrency public struct LimitedAvailabilityConfiguration : WidgetConfiguration { | |
@usableFromInline | |
@MainActor @preconcurrency internal var storage: LimitedAvailabilityConfigurationBase | |
@usableFromInline | |
@MainActor @preconcurrency internal init<W>(_ configuration: W) where W : WidgetConfiguration | |
nonisolated public static func _makeWidgetConfiguration(widget: _GraphValue<LimitedAvailabilityConfiguration>, inputs: _WidgetInputs) -> _WidgetOutputs | |
@available(iOS 16.1, watchOS 9.1, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
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 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TabContent { | |
nonisolated public func badge(_ count: Int) -> some TabContent<Self.TabValue> | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func badge(_ label: Text?) -> some TabContent<Self.TabValue> | |
#else | |
nonisolated public func badge(_ label: Text?) -> some TabContent<Self.TabValue> | |
#endif | |
nonisolated public func badge(_ key: LocalizedStringKey) -> some TabContent<Self.TabValue> | |
@_disfavoredOverload nonisolated public func badge<S>(_ label: S) -> some TabContent<Self.TabValue> where S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated public func refreshable(@_inheritActorContext action: @escaping @Sendable () async -> Void) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension EnvironmentValues { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var refresh: RefreshAction? { | |
get | |
} | |
#else | |
public var refresh: RefreshAction? { | |
get | |
} | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct RefreshAction : Sendable { | |
public func callAsFunction() async | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@preconcurrency @MainActor public protocol ImmersiveSpaceContent { | |
associatedtype Body : ImmersiveSpaceContent | |
@ImmersiveSpaceContentBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public static var prominentDetail: ProminentDetailNavigationSplitViewStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct ProminentDetailNavigationSplitViewStyle : NavigationSplitViewStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: ProminentDetailNavigationSplitViewStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct _ProjectionEffect : GeometryEffect, Equatable { | |
@MainActor @preconcurrency public var transform: ProjectionTransform | |
@inlinable @MainActor @preconcurrency public init(transform: ProjectionTransform) { | |
self.transform = transform | |
} | |
@MainActor @preconcurrency public func effectValue(size: CGSize) -> ProjectionTransform | |
nonisolated public static func == (a: _ProjectionEffect, b: _ProjectionEffect) -> Bool | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias AnimatableData = EmptyAnimatableData | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated 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) | |
@MainActor @preconcurrency public struct SettingsLink<Label> : View where Label : View { | |
nonisolated public init() where Label == DefaultSettingsLinkLabel | |
nonisolated public init(@ViewBuilder label: () -> Label) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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) | |
@MainActor @preconcurrency public struct DefaultSettingsLinkLabel : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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 @MainActor @preconcurrency public struct _TransformEffect : GeometryEffect, Equatable { | |
@MainActor @preconcurrency public var transform: CGAffineTransform | |
@inlinable @MainActor @preconcurrency public init(transform: CGAffineTransform) { | |
self.transform = transform | |
} | |
@MainActor @preconcurrency public func effectValue(size: CGSize) -> ProjectionTransform | |
nonisolated public static func == (a: _TransformEffect, b: _TransformEffect) -> Bool | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias AnimatableData = EmptyAnimatableData | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated 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(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension HoverEffectContent { | |
public func transformEffect(_ transform: CGAffineTransform) -> some HoverEffectContent | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
extension UIView { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public static func animate(with animation: Animation = Animation.default, changes: () -> Void, completion: (() -> Void)? = nil) | |
#else | |
@MainActor @preconcurrency public static func animate(with animation: Animation = Animation.default, changes: () -> Void, completion: (() -> Void)? = nil) | |
#endif | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func hoverEffect(_ effect: some CustomHoverEffect = .automatic, isEnabled: Bool = true) -> some View | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func hoverEffect(_ effect: some CustomHoverEffect, in group: HoverEffectGroup?, isEnabled: Bool = true) -> some View | |
#else | |
nonisolated public func hoverEffect(_ effect: some CustomHoverEffect, in group: HoverEffectGroup?, isEnabled: Bool = true) -> some View | |
#endif | |
} | |
@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) | |
@_disfavoredOverload nonisolated 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 { | |
@_disfavoredOverload nonisolated public func hoverEffect(_ effect: HoverEffect = .automatic, isEnabled: Bool = true) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func defaultHoverEffect(_ effect: HoverEffect?) -> some View | |
#else | |
nonisolated public func defaultHoverEffect(_ effect: HoverEffect?) -> some View | |
#endif | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func defaultHoverEffect(_ effect: some CustomHoverEffect) -> some View | |
nonisolated public func hoverEffectDisabled(_ disabled: Bool = true) -> some View | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func hoverEffect(in group: HoverEffectGroup? = nil, isEnabled: Bool = true, body: @escaping (EmptyHoverEffectContent, Bool, GeometryProxy) -> some HoverEffectContent) -> some View | |
#else | |
nonisolated public func hoverEffect(in group: HoverEffectGroup? = nil, isEnabled: Bool = true, body: @escaping (EmptyHoverEffectContent, Bool, GeometryProxy) -> some HoverEffectContent) -> some View | |
#endif | |
} | |
@available(iOS 13.4, tvOS 16.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct HoverEffect { | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public init<E>(_ effect: E) where E : CustomHoverEffect | |
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 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension HoverEffect : CustomHoverEffect { | |
public static func _makeCustomHoverEffect(effect: _GraphValue<HoverEffect>, inputs: _CustomHoverEffectInputs, body: @escaping (_CustomHoverEffectInputs) -> _CustomHoverEffectOutputs) -> _CustomHoverEffectOutputs | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias Body = Never | |
} | |
@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 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func rotationEffect(_ angle: Angle, anchor: UnitPoint = .center) -> some VisualEffect | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension HoverEffectContent { | |
public func rotationEffect(_ angle: Angle, anchor: UnitPoint = .center) -> some HoverEffectContent | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension PrimitiveButtonStyle where Self == AccessoryBarButtonStyle { | |
@MainActor @preconcurrency public static var accessoryBar: AccessoryBarButtonStyle { | |
get | |
} | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct AccessoryBarButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AccessoryBarButtonStyle.Configuration) -> some View | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
@MainActor @preconcurrency public static var accessoryBarAction: AccessoryBarActionButtonStyle { | |
get | |
} | |
} | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct AccessoryBarActionButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AccessoryBarActionButtonStyle.Configuration) -> some View | |
@available(macOS 14.0, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI29AccessoryBarActionButtonStyleV8makeBody13configurationQrAA09PrimitivefG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AccessoryBarActionButtonStyle : 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(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension HoverEffectContent { | |
public func scaleEffect(_ scale: CGSize, anchor: UnitPoint = .center) -> some HoverEffectContent | |
public func scaleEffect(_ scale: CGFloat, anchor: UnitPoint = .center) -> some HoverEffectContent | |
public func scaleEffect(x: CGFloat = 1.0, y: CGFloat = 1.0, anchor: UnitPoint = .center) -> some HoverEffectContent | |
} | |
@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 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 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func brightness(_ amount: Double) -> some VisualEffect | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension _AppearanceActionModifier : _SceneModifier { | |
@MainActor @preconcurrency public static func _makeScene(modifier: _GraphValue<_AppearanceActionModifier>, inputs: _SceneInputs, body: @escaping (_Graph, _SceneInputs) -> _SceneOutputs) -> _SceneOutputs | |
} | |
@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 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, *) | |
@preconcurrency @MainActor public protocol ToolbarContent { | |
associatedtype Body : ToolbarContent | |
@ToolbarContentBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated static func _makeToolbar(content: _GraphValue<Self>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
@MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency 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 { | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : ToolbarContent | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : ToolbarContent | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : CustomizableToolbarContent | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public static func buildIf<Content>(_ content: Content?) -> Content? where Content : CustomizableToolbarContent | |
#endif | |
@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 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5, *) | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability(_ content: any ToolbarContent) -> some ToolbarContent { | |
if #unavailable(iOS 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5) { | |
return TupleToolbarContent(()) | |
} else { | |
return LimitedAvailabilityToolbarContent(erasing: content) | |
} | |
} | |
@available(iOS, introduced: 14.0, deprecated: 14.0, obsoleted: 17.5, message: "this code may crash on earlier versions of the OS; specify '#available(iOS 17.5, *)' or newer instead") | |
@available(macOS, introduced: 11.0, deprecated: 11.0, obsoleted: 14.5, message: "this code may crash on earlier versions of the OS; specify '#available(macOS 14.5, *)' or newer instead") | |
@available(tvOS, introduced: 14.0, deprecated: 14.0, obsoleted: 17.5, message: "this code may crash on earlier versions of the OS; specify '#available(tvOS 17.5, *)' or newer instead") | |
@available(watchOS, introduced: 7.0, deprecated: 7.0, obsoleted: 10.5, message: "this code may crash on earlier versions of the OS; specify '#available(watchOS 10.5, *)' or newer instead") | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability<Content>(_ content: Content) -> some ToolbarContent where Content : ToolbarContent { | |
content | |
} | |
@available(iOS 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5, *) | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability(_ content: any CustomizableToolbarContent) -> some CustomizableToolbarContent { | |
if #unavailable(iOS 17.5, macOS 14.5, tvOS 17.5, watchOS 10.5) { | |
return TupleToolbarContent(()) | |
} else { | |
return LimitedAvailabilityToolbarContent(erasing: content) | |
} | |
} | |
@available(iOS, introduced: 14.0, deprecated: 14.0, obsoleted: 17.5, message: "this code may crash on earlier versions of the OS; specify '#available(iOS 17.5, *)' or newer instead") | |
@available(macOS, introduced: 11.0, deprecated: 11.0, obsoleted: 14.5, message: "this code may crash on earlier versions of the OS; specify '#available(macOS 14.5, *)' or newer instead") | |
@available(tvOS, introduced: 14.0, deprecated: 14.0, obsoleted: 17.5, message: "this code may crash on earlier versions of the OS; specify '#available(tvOS 17.5, *)' or newer instead") | |
@available(watchOS, introduced: 7.0, deprecated: 7.0, obsoleted: 10.5, message: "this code may crash on earlier versions of the OS; specify '#available(watchOS 10.5, *)' or newer instead") | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability<Content>(_ content: Content) -> some CustomizableToolbarContent where Content : CustomizableToolbarContent { | |
content | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func grayscale(_ amount: Double) -> some VisualEffect | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func hueRotation(_ angle: Angle) -> some VisualEffect | |
} | |
@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 @MainActor @preconcurrency public static var iconOnly: IconOnlyLabelStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct IconOnlyLabelStyle : LabelStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: IconOnlyLabelStyle.Configuration) -> some View | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
@MainActor @preconcurrency public struct Content : View { | |
@available(iOS 13.0, tvOS 13.0, watchOS 7.0, macOS 10.15, *) | |
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") | |
nonisolated public func navigationViewStyle<S>(_ style: S) -> some View where S : NavigationViewStyle | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Scene { | |
nonisolated 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) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public mutating func remove(_ member: AccessibilityTechnologies) -> AccessibilityTechnologies? | |
#else | |
public mutating func remove(_ member: AccessibilityTechnologies) -> AccessibilityTechnologies? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public mutating func update(with newMember: AccessibilityTechnologies) -> AccessibilityTechnologies? | |
#else | |
public mutating func update(with newMember: AccessibilityTechnologies) -> AccessibilityTechnologies? | |
#endif | |
public static func == (a: AccessibilityTechnologies, b: AccessibilityTechnologies) -> Bool | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias ArrayLiteralElement = AccessibilityTechnologies | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias Element = AccessibilityTechnologies | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public func persistentSystemOverlays(_ visibility: Visibility) -> some View | |
} | |
extension Scene { | |
@available(macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func persistentSystemOverlays(_ preferredVisibility: Visibility) -> some Scene | |
} | |
@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 | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "MagnifyGesture") | |
@available(tvOS, unavailable, introduced: 13.0, renamed: "MagnifyGesture") | |
@available(watchOS, unavailable, introduced: 6.0, renamed: "MagnifyGesture") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "MagnifyGesture") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "MagnifyGesture") | |
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> | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
nonisolated 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 { | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func contextMenu<MenuItems>(_ contextMenu: ContextMenu<MenuItems>?) -> some View where MenuItems : View | |
#else | |
nonisolated public func contextMenu<MenuItems>(_ contextMenu: ContextMenu<MenuItems>?) -> some View where MenuItems : View | |
#endif | |
} | |
@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, *) | |
nonisolated 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, *) | |
nonisolated 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 18.0, macOS 15.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct NewDocumentButton<Label> : View where Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 18.0, macOS 15.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17NewDocumentButtonV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension NewDocumentButton : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension NewDocumentButton where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init(_ label: Text? = nil, contentType: UTType? = nil) | |
#else | |
@MainActor @preconcurrency public init(_ label: Text? = nil, contentType: UTType? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init(_ title: LocalizedStringKey, contentType: UTType? = nil) | |
#else | |
@MainActor @preconcurrency public init(_ title: LocalizedStringKey, contentType: UTType? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload @MainActor @preconcurrency public init(_ title: some StringProtocol, contentType: UTType? = nil) | |
#else | |
@_disfavoredOverload @MainActor @preconcurrency public init(_ title: some StringProtocol, contentType: UTType? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init<D>(_ label: Text? = nil, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : FileDocument | |
#else | |
@MainActor @preconcurrency public init<D>(_ label: Text? = nil, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : FileDocument | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init<D>(_ title: LocalizedStringKey, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : FileDocument | |
#else | |
@MainActor @preconcurrency public init<D>(_ title: LocalizedStringKey, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : FileDocument | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload @MainActor @preconcurrency public init<D>(_ title: some StringProtocol, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : FileDocument | |
#else | |
@_disfavoredOverload @MainActor @preconcurrency public init<D>(_ title: some StringProtocol, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : FileDocument | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init<D>(_ label: Text? = nil, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : ReferenceFileDocument | |
#else | |
@MainActor @preconcurrency public init<D>(_ label: Text? = nil, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : ReferenceFileDocument | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init<D>(_ title: LocalizedStringKey, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : ReferenceFileDocument | |
#else | |
@MainActor @preconcurrency public init<D>(_ title: LocalizedStringKey, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : ReferenceFileDocument | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload @MainActor @preconcurrency public init<D>(_ title: some StringProtocol, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : ReferenceFileDocument | |
#else | |
@_disfavoredOverload @MainActor @preconcurrency public init<D>(_ title: some StringProtocol, for documentType: D.Type = D.self, contentType: UTType? = nil, prepareDocument: @escaping () async throws -> D? = { nil }) where D : ReferenceFileDocument | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init(_ label: Text? = nil, contentType: UTType, prepareDocumentURL: @escaping () async throws -> URL? = { nil }) | |
#else | |
@MainActor @preconcurrency public init(_ label: Text? = nil, contentType: UTType, prepareDocumentURL: @escaping () async throws -> URL? = { nil }) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public init(_ title: LocalizedStringKey, contentType: UTType, prepareDocumentURL: @escaping () async throws -> URL? = { nil }) | |
#else | |
@MainActor @preconcurrency public init(_ title: LocalizedStringKey, contentType: UTType, prepareDocumentURL: @escaping () async throws -> URL? = { nil }) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload @MainActor @preconcurrency public init(_ title: some StringProtocol, contentType: UTType, prepareDocumentURL: @escaping () async throws -> URL? = { nil }) | |
#else | |
@_disfavoredOverload @MainActor @preconcurrency public init(_ title: some StringProtocol, contentType: UTType, prepareDocumentURL: @escaping () async throws -> URL? = { nil }) | |
#endif | |
} | |
@available(*, unavailable) | |
extension DefaultDocumentGroupLaunchActions : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct ContainerValues { | |
public subscript<Key>(key: Key.Type) -> Key.Value where Key : ContainerValueKey { | |
get | |
set | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func tag<V>(for type: V.Type) -> V? where V : Hashable | |
#else | |
public func tag<V>(for type: V.Type) -> V? where V : Hashable | |
#endif | |
public func hasTag<V>(_ tag: V) -> Bool where V : Hashable | |
} | |
@available(*, unavailable) | |
extension ContainerValues : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func saturation(_ amount: Double) -> some VisualEffect | |
} | |
@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 | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias ArrayLiteralElement = SubmitTriggers | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias Element = SubmitTriggers | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension VisualEffect { | |
public func opacity(_ opacity: Double) -> some VisualEffect | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
extension HoverEffectContent { | |
public func opacity(_ opacity: Double) -> some HoverEffectContent | |
} | |
@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)) | |
} | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public func toolbarBackground<S>(_ style: S, for bars: ToolbarPlacement...) -> some View where S : ShapeStyle | |
@available(iOS, introduced: 16.0, deprecated: 100000.0, renamed: "toolbarBackgroundVisibility(_:for:)") | |
@available(macOS, introduced: 13.0, deprecated: 100000.0, renamed: "toolbarBackgroundVisibility(_:for:)") | |
@available(tvOS, introduced: 16.0, deprecated: 100000.0, renamed: "toolbarBackgroundVisibility(_:for:)") | |
@available(watchOS, introduced: 9.0, deprecated: 100000.0, renamed: "toolbarBackgroundVisibility(_:for:)") | |
nonisolated public func toolbarBackground(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
nonisolated public func toolbarBackgroundVisibility(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public func toolbarColorScheme(_ colorScheme: ColorScheme?, for bars: ToolbarPlacement...) -> some View | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public func toolbarColorScheme(_ colorScheme: ColorScheme?, for bars: ToolbarPlacement...) -> some View | |
#endif | |
@available(iOS, introduced: 16.0, deprecated: 100000.0, renamed: "toolbarVisibility(_:for:)") | |
@available(macOS, introduced: 13.0, deprecated: 100000.0, renamed: "toolbarVisibility(_:for:)") | |
@available(tvOS, introduced: 16.0, deprecated: 100000.0, renamed: "toolbarVisibility(_:for:)") | |
@available(watchOS, introduced: 9.0, deprecated: 100000.0, renamed: "toolbarVisibility(_:for:)") | |
nonisolated public func toolbar(_ visibility: Visibility, for bars: ToolbarPlacement...) -> some View | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
nonisolated public func toolbarVisibility(_ 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?> | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: ItemProviderTraitKey.Value { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: ItemProviderTraitKey.Value { | |
get { nil } | |
} | |
#endif | |
} | |
@available(*, unavailable) | |
extension ItemProviderTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func itemProvider(_ action: Optional<() -> NSItemProvider?>) -> some View { | |
return _trait(ItemProviderTraitKey.self, action) | |
} | |
#else | |
@inlinable nonisolated public func itemProvider(_ action: Optional<() -> NSItemProvider?>) -> some View { | |
return _trait(ItemProviderTraitKey.self, action) | |
} | |
#endif | |
} | |
@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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension InsetGroupedListStyle : Sendable { | |
} | |
@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) | |
@available(iOS 16.1, tvOS 16.1, watchOS 9.1, macOS 13.0, *) | |
public typealias ArrayLiteralElement = _PlatformViewRepresentableLayoutOptions | |
@available(iOS 16.1, tvOS 16.1, watchOS 9.1, macOS 13.0, *) | |
public typealias Element = _PlatformViewRepresentableLayoutOptions | |
@available(iOS 16.1, tvOS 16.1, watchOS 9.1, macOS 13.0, *) | |
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) | |
nonisolated public func ornament<Content>(visibility: Visibility = .automatic, attachmentAnchor: OrnamentAttachmentAnchor, contentAlignment: Alignment = .center, @ViewBuilder ornament: () -> Content) -> some View where Content : View | |
} | |
#if compiler(>=5.3) && $PrimaryAssociatedTypes2 | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@preconcurrency @MainActor public protocol TabContent<TabValue> { | |
associatedtype TabValue : Hashable where Self.TabValue == Self.Body.TabValue | |
associatedtype _IdentifiedView : View = _TabContentBodyAdaptor<Self> | |
@MainActor @preconcurrency var _identifiedView: Self._IdentifiedView { get } | |
associatedtype Body : TabContent | |
@TabContentBuilder<Self.TabValue> @MainActor @preconcurrency var body: Self.Body { get } | |
} | |
#else | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@preconcurrency @MainActor public protocol TabContent { | |
associatedtype TabValue : Hashable where Self.TabValue == Self.Body.TabValue | |
associatedtype _IdentifiedView : View = _TabContentBodyAdaptor<Self> | |
@MainActor @preconcurrency var _identifiedView: Self._IdentifiedView { get } | |
associatedtype Body : TabContent | |
@TabContentBuilder<Self.TabValue> @MainActor @preconcurrency var body: Self.Body { get } | |
} | |
#endif | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension TabContent where Self._IdentifiedView == _TabContentBodyAdaptor<Self> { | |
@MainActor @preconcurrency public var _identifiedView: _TabContentBodyAdaptor<Self> { | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor @preconcurrency public struct _TabContentBodyAdaptor<C> : View where C : TabContent { | |
@MainActor @preconcurrency public var body: C.Body._IdentifiedView { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = C.Body._IdentifiedView | |
} | |
@available(*, unavailable) | |
extension _TabContentBodyAdaptor : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@_functionBuilder public struct TabContentBuilder<TabValue> where TabValue : Hashable { | |
@MainActor @preconcurrency public struct Content<C> : View where C : TabContent { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17TabContentBuilderV0D0V4bodyQrvp", 0) __<TabValue, C> | |
} | |
@_alwaysEmitIntoClient public static func buildExpression(_ content: some TabContent<TabValue>) -> some TabContent<TabValue> { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildBlock(_ content: some TabContent<TabValue>) -> some TabContent<TabValue> { | |
content | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient public static func buildIf(_ content: (some TabContent<TabValue>)?) -> (some TabContent<TabValue>)? { | |
content | |
} | |
#else | |
@_alwaysEmitIntoClient public static func buildIf(_ content: (some TabContent<TabValue>)?) -> (some TabContent<TabValue>)? { | |
content | |
} | |
#endif | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(first: T) -> _ConditionalContent<T, F> where TabValue == T.TabValue, T : TabContent, F : TabContent, T.TabValue == F.TabValue { | |
.init(storage: .trueContent(first)) | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(second: F) -> _ConditionalContent<T, F> where TabValue == T.TabValue, T : TabContent, F : TabContent, T.TabValue == F.TabValue { | |
.init(storage: .falseContent(second)) | |
} | |
} | |
@available(*, unavailable) | |
extension TabContentBuilder : Sendable { | |
} | |
@available(*, unavailable) | |
extension TabContentBuilder.Content : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension _ConditionalContent : TabContent where TrueContent : TabContent, FalseContent : TabContent, TrueContent.TabValue == FalseContent.TabValue { | |
public typealias TabValue = TrueContent.TabValue | |
@usableFromInline | |
internal init(storage: _ConditionalContent<TrueContent, FalseContent>.Storage) | |
@MainActor @preconcurrency public var _identifiedView: _ConditionalContent<TrueContent._IdentifiedView, FalseContent._IdentifiedView> { | |
get | |
} | |
public typealias Body = _ConditionalContent<TrueContent, FalseContent> | |
@MainActor @preconcurrency public var body: _ConditionalContent<TrueContent, FalseContent> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = _ConditionalContent<TrueContent._IdentifiedView, FalseContent._IdentifiedView> | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Optional : TabContent where Wrapped : TabContent { | |
public typealias TabValue = Wrapped.TabValue | |
@inlinable @MainActor @preconcurrency public var _identifiedView: Wrapped._IdentifiedView? { | |
get { | |
self.map { $0._identifiedView } | |
} | |
} | |
public typealias Body = Optional<Wrapped> | |
@MainActor @preconcurrency public var body: Optional<Wrapped> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = Wrapped._IdentifiedView? | |
} | |
#else | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Optional : TabContent where Wrapped : TabContent { | |
public typealias TabValue = Wrapped.TabValue | |
@inlinable @MainActor @preconcurrency public var _identifiedView: Wrapped._IdentifiedView? { | |
get { | |
self.map { $0._identifiedView } | |
} | |
} | |
public typealias Body = Optional<Wrapped> | |
@MainActor @preconcurrency public var body: Optional<Wrapped> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = Wrapped._IdentifiedView? | |
} | |
#endif | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ForEach : TabContent where Content : TabContent { | |
public typealias TabValue = Content.TabValue | |
nonisolated public init<V>(_ data: Data, id: KeyPath<Data.Element, ID>, @TabContentBuilder<V> content: @escaping (Data.Element) -> Content) where V == Content.TabValue | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(_ data: Data, id: KeyPath<Data.Element, ID>, @TabContentBuilder<V?> liftedContent content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#else | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(_ data: Data, id: KeyPath<Data.Element, ID>, @TabContentBuilder<V?> liftedContent content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<V>(_ data: Data, id: KeyPath<Data.Element, ID>, @TabContentBuilder<V?> content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#else | |
@_disfavoredOverload nonisolated public init<V>(_ data: Data, id: KeyPath<Data.Element, ID>, @TabContentBuilder<V?> content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#endif | |
@MainActor @preconcurrency public var _identifiedView: ForEach<Data, ID, Content._IdentifiedView> { | |
get | |
} | |
public typealias Body = ForEach<Data, ID, Content> | |
@MainActor @preconcurrency public var body: ForEach<Data, ID, Content> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = ForEach<Data, ID, Content._IdentifiedView> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ForEach where ID == Data.Element.ID, Content : TabContent, Data.Element : Identifiable { | |
public init<V>(_ data: Data, @TabContentBuilder<V> content: @escaping (Data.Element) -> Content) where V == Content.TabValue | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(_ data: Data, @TabContentBuilder<V?> liftedContent content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#else | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(_ data: Data, @TabContentBuilder<V?> liftedContent content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<V>(_ data: Data, @TabContentBuilder<V?> content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#else | |
@_disfavoredOverload public init<V>(_ data: Data, @TabContentBuilder<V?> content: @escaping (Data.Element) -> Content) where V : Hashable, Content.TabValue == V? | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ForEach where Data == Range<Int>, ID == Int, Content : TabContent { | |
@_semantics("requires_constant_range") public init<V>(_ data: Range<Int>, @TabContentBuilder<V> content: @escaping (Int) -> Content) where V == Content.TabValue | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload @_semantics("requires_constant_range") internal init<V>(_ data: Range<Int>, @TabContentBuilder<V?> liftedContent content: @escaping (Int) -> Content) where V : Hashable, Content.TabValue == V? | |
#else | |
@usableFromInline | |
@_disfavoredOverload @_semantics("requires_constant_range") internal init<V>(_ data: Range<Int>, @TabContentBuilder<V?> liftedContent content: @escaping (Int) -> Content) where V : Hashable, Content.TabValue == V? | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload @_semantics("requires_constant_range") public init<V>(_ data: Range<Int>, @TabContentBuilder<V?> content: @escaping (Int) -> Content) where V : Hashable, Content.TabValue == V? | |
#else | |
@_disfavoredOverload @_semantics("requires_constant_range") public init<V>(_ data: Range<Int>, @TabContentBuilder<V?> content: @escaping (Int) -> Content) where V : Hashable, Content.TabValue == V? | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Group : TabContent where Content : TabContent { | |
public typealias TabValue = Content.TabValue | |
@inlinable @MainActor @preconcurrency public var _identifiedView: Content._IdentifiedView { | |
get { | |
content._identifiedView | |
} | |
} | |
public typealias Body = Group<Content> | |
@MainActor @preconcurrency public var body: Group<Content> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = Content._IdentifiedView | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct _TupleTabContent<T, U> where T : Hashable { | |
@usableFromInline | |
internal typealias TabValue = T | |
@usableFromInline | |
@MainActor @preconcurrency internal let _identifiedView: TupleView<U> | |
@inlinable @MainActor @preconcurrency internal init(_ content: U) { _identifiedView = .init(content) } | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: _TupleTabContent<T, U> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
@usableFromInline | |
internal typealias Body = _TupleTabContent<T, U> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
@usableFromInline | |
internal typealias _IdentifiedView = TupleView<U> | |
} | |
@available(*, unavailable) | |
extension _TupleTabContent : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
public struct ScrollContentOffsetAdjustmentBehavior { | |
public static var automatic: ScrollContentOffsetAdjustmentBehavior { | |
get | |
} | |
public static var disabled: ScrollContentOffsetAdjustmentBehavior { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ScrollContentOffsetAdjustmentBehavior : Sendable { | |
} | |
extension Transaction { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
public var scrollContentOffsetAdjustmentBehavior: ScrollContentOffsetAdjustmentBehavior { | |
get | |
set | |
} | |
} | |
@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) | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<PageTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 { | |
nonisolated 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) | |
@MainActor @preconcurrency public struct AccessoryCircularCapacityGaugeStyle : GaugeStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AccessoryCircularCapacityGaugeStyle.Configuration) -> some View | |
@available(iOS 16.0, watchOS 9.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
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 @MainActor @preconcurrency public static var accessoryCircularCapacity: AccessoryCircularCapacityGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@preconcurrency @MainActor public protocol ButtonStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Label : View { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
nonisolated 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 @MainActor @preconcurrency public static var circular: CircularGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct CircularGaugeStyle : GaugeStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public init(tint: Color) | |
@MainActor @preconcurrency public init(tint: Gradient) | |
@MainActor @preconcurrency public func makeBody(configuration: CircularGaugeStyle.Configuration) -> some View | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable, introduced: 16.0) | |
@available(tvOS, unavailable) | |
@available(macOS, unavailable, introduced: 13.0) | |
@available(visionOS, unavailable) | |
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, *) | |
@MainActor @preconcurrency public struct _TextFieldStyleLabel : View { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _TextFieldStyleLabel : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
nonisolated 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> | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func minSize(width: CGFloat? = nil, height: CGFloat? = nil) -> UIHostingConfiguration<Content, Background> | |
#else | |
public func minSize(width: CGFloat? = nil, height: CGFloat? = nil) -> UIHostingConfiguration<Content, Background> | |
#endif | |
@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) | |
@MainActor @preconcurrency public struct _UIHostingConfigurationBackgroundView<Style> : View where Style : ShapeStyle { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, *) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Hashable | |
#else | |
nonisolated public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Hashable | |
#else | |
nonisolated public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Hashable | |
#else | |
@_disfavoredOverload nonisolated public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Decodable, P : Encodable, P : Hashable | |
#else | |
nonisolated public init<P>(value: P?, @ViewBuilder label: () -> Label) where P : Decodable, P : Encodable, P : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Decodable, P : Encodable, P : Hashable | |
#else | |
nonisolated public init<P>(_ titleKey: LocalizedStringKey, value: P?) where Label == Text, P : Decodable, P : Encodable, P : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Decodable, P : Encodable, P : Hashable | |
#else | |
@_disfavoredOverload nonisolated public init<S, P>(_ title: S, value: P?) where Label == Text, S : StringProtocol, P : Decodable, P : Encodable, P : Hashable | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated public func alert<A>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A) -> some View where A : View | |
@_disfavoredOverload nonisolated public func alert<S, A>(_ title: S, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A) -> some View where S : StringProtocol, A : View | |
nonisolated 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 { | |
nonisolated public func alert<A, M>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
@_disfavoredOverload nonisolated 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 | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func alert<A, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
#else | |
nonisolated public func alert<A, T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func alert<A, T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
#else | |
nonisolated public func alert<A, T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> A) -> some View where A : View | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func alert<E, A>(isPresented: Binding<Bool>, error: E?, @ViewBuilder actions: () -> A) -> some View where E : LocalizedError, A : View | |
#else | |
nonisolated public func alert<E, A>(isPresented: Binding<Bool>, error: E?, @ViewBuilder actions: () -> A) -> some View where E : LocalizedError, A : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
} | |
extension View { | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated 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) | |
nonisolated 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) | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onCommand(_ selector: ObjectiveC.Selector, perform action: (() -> Void)?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onCommand(_ selector: ObjectiveC.Selector, perform action: (() -> Void)?) -> some View | |
#endif | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onPasteCommand(of supportedContentTypes: [UTType], perform payloadAction: @escaping ([NSItemProvider]) -> Void) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onPasteCommand<Payload>(of supportedContentTypes: [UTType], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View | |
#else | |
@available(macOS 11.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onPasteCommand<Payload>(of supportedContentTypes: [UTType], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onCopyCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onCopyCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onCutCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onCutCommand(perform payloadAction: (() -> [NSItemProvider])?) -> some View | |
#endif | |
} | |
@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 { | |
nonisolated public func onPasteCommand(of supportedTypes: [String], perform payloadAction: @escaping ([NSItemProvider]) -> Void) -> some View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func onPasteCommand<Payload>(of supportedTypes: [String], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View | |
#else | |
nonisolated public func onPasteCommand<Payload>(of supportedTypes: [String], validator: @escaping ([NSItemProvider]) -> Payload?, perform payloadAction: @escaping (Payload) -> Void) -> some View | |
#endif | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public func searchSuggestions<S>(@ViewBuilder _ suggestions: () -> S) -> some View where S : View | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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") | |
nonisolated public func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder suggestions: () -> S) -> some View where S : View | |
#else | |
@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") | |
nonisolated public func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement = .automatic, prompt: Text? = nil, @ViewBuilder suggestions: () -> S) -> some View where S : View | |
#endif | |
@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") | |
nonisolated 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 nonisolated 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 { | |
@available(iOS, deprecated: 100000.0, message: "Use `Tab(title:image:value:content:)` and related initializers instead") | |
@available(macOS, deprecated: 100000.0, message: "Use `Tab(title:image:value:content:)` and related initializers instead") | |
@available(tvOS, deprecated: 100000.0, message: "Use `Tab(title:image:value:content:)` and related initializers instead") | |
@available(watchOS, deprecated: 100000.0, message: "Use `Tab(title:image:value:content:)` and related initializers instead") | |
nonisolated public func tabItem<V>(@ViewBuilder _ label: () -> V) -> some View where V : View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@usableFromInline | |
internal struct KeyboardShortcutPickerOptionTraitKey : _ViewTraitKey { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: KeyboardShortcut? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: KeyboardShortcut? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 14.0, macOS 11.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
internal typealias Value = KeyboardShortcut? | |
} | |
@available(*, unavailable) | |
extension KeyboardShortcutPickerOptionTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated 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 @MainActor @preconcurrency public struct _AnchorWritingModifier<AnchorValue, Key> : ViewModifier where Key : PreferenceKey { | |
@MainActor @preconcurrency public var anchor: Anchor<AnchorValue>.Source | |
@MainActor @preconcurrency public var transform: (Anchor<AnchorValue>) -> Key.Value | |
@inlinable nonisolated public init(anchor: Anchor<AnchorValue>.Source, transform: @escaping (Anchor<AnchorValue>) -> Key.Value) { | |
self.anchor = anchor | |
self.transform = transform | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_AnchorWritingModifier<AnchorValue, Key>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Optional<(IndexSet, Int) -> Void> { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Optional<(IndexSet, Int) -> Void> { | |
get { nil } | |
} | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 } | |
} | |
@available(iOS 15.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
internal typealias Value = Bool | |
} | |
@available(*, unavailable) | |
extension OnMoveClipBackgroundTraitKey : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension DynamicViewContent { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func onMove(perform action: Optional<(IndexSet, Int) -> Void>) -> some DynamicViewContent { | |
modifier(_TraitWritingModifier<OnMoveTraitKey>(value: action)) | |
} | |
#else | |
@inlinable nonisolated public func onMove(perform action: Optional<(IndexSet, Int) -> Void>) -> some DynamicViewContent { | |
modifier(_TraitWritingModifier<OnMoveTraitKey>(value: action)) | |
} | |
#endif | |
} | |
@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 } | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 nonisolated public func moveDisabled(_ isDisabled: Bool) -> some View { | |
return _trait(IsMoveDisabledTraitKey.self, isDisabled) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension View { | |
nonisolated public func scrollContentBackground(_ visibility: Visibility) -> some View | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
@preconcurrency @MainActor public protocol WidgetBundle { | |
associatedtype Body : Widget | |
@MainActor @preconcurrency init() | |
@WidgetBundleBuilder @MainActor @preconcurrency 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<DefaultPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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) | |
@MainActor public struct DismissImmersiveSpaceAction { | |
@MainActor public func callAsFunction() async | |
} | |
@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 18.0, macOS 15.0, tvOS 18.0, visionOS 1.0, watchOS 11.0, *) | |
public protocol PresentationSizing { | |
func proposedSize(for root: PresentationSizingRoot, context: PresentationSizingContext) -> ProposedViewSize | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public struct PresentationSizingRoot { | |
public func sizeThatFits(_ proposal: ProposedViewSize) -> CGSize | |
} | |
@available(*, unavailable) | |
extension PresentationSizingRoot : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public struct PresentationSizingContext { | |
} | |
extension PresentationSizing { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public func sticky(horizontal: Bool = false, vertical: Bool = false) -> some PresentationSizing | |
} | |
extension PresentationSizing { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public func fitted(horizontal: Bool, vertical: Bool) -> some PresentationSizing | |
} | |
@available(*, unavailable) | |
extension PresentationSizingContext : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public struct FormPresentationSizing : PresentationSizing, Sendable { | |
public func proposedSize(for root: PresentationSizingRoot, context: PresentationSizingContext) -> ProposedViewSize | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
extension PresentationSizing where Self == FormPresentationSizing { | |
public static var form: FormPresentationSizing { | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public struct PagePresentationSizing : PresentationSizing, Sendable { | |
public func proposedSize(for root: PresentationSizingRoot, context: PresentationSizingContext) -> ProposedViewSize | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
extension PresentationSizing where Self == PagePresentationSizing { | |
public static var page: PagePresentationSizing { | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public struct FittedPresentationSizing : PresentationSizing, Sendable { | |
public func proposedSize(for root: PresentationSizingRoot, context: PresentationSizingContext) -> ProposedViewSize | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
extension PresentationSizing where Self == FittedPresentationSizing { | |
public static var fitted: FittedPresentationSizing { | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
extension View { | |
nonisolated public func presentationSizing(_ sizing: some PresentationSizing) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
extension PresentationSizing where Self == AutomaticPresentationSizing { | |
public static var automatic: AutomaticPresentationSizing { | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0, *) | |
public struct AutomaticPresentationSizing : PresentationSizing, Sendable { | |
public func proposedSize(for root: PresentationSizingRoot, context: PresentationSizingContext) -> ProposedViewSize | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
static func _tableRowCount(inputs: _TableRowInputs, body: @escaping (_TableRowInputs) -> Int?) -> Int? | |
#else | |
static func _tableRowCount(inputs: _TableRowInputs, body: @escaping (_TableRowInputs) -> Int?) -> Int? | |
#endif | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableRowCount(inputs: _TableRowInputs, body: @escaping (_TableRowInputs) -> Int?) -> Int? | |
#else | |
public static func _tableRowCount(inputs: _TableRowInputs, body: @escaping (_TableRowInputs) -> Int?) -> Int? | |
#endif | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#else | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#endif | |
@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 | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
public typealias Data = Content.Data | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@preconcurrency @MainActor public protocol UIViewControllerRepresentable : View where Self.Body == Never { | |
associatedtype UIViewControllerType : UIViewController | |
@MainActor @preconcurrency func makeUIViewController(context: Self.Context) -> Self.UIViewControllerType | |
@MainActor @preconcurrency func updateUIViewController(_ uiViewController: Self.UIViewControllerType, context: Self.Context) | |
@MainActor @preconcurrency static func dismantleUIViewController(_ uiViewController: Self.UIViewControllerType, coordinator: Self.Coordinator) | |
associatedtype Coordinator = Void | |
@MainActor @preconcurrency func makeCoordinator() -> Self.Coordinator | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, tvOS 16.0, *) | |
@MainActor @preconcurrency func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize? | |
#else | |
@available(iOS 16.0, tvOS 16.0, *) | |
@MainActor @preconcurrency func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize? | |
#endif | |
@MainActor @preconcurrency func _identifiedViewTree(in uiViewController: Self.UIViewControllerType) -> _IdentifiedViewTree | |
@available(iOS 17.0, tvOS 17.0, *) | |
@MainActor @preconcurrency 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 == () { | |
@MainActor @preconcurrency 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, *) | |
@MainActor @preconcurrency public func _resetUIViewController(_ uiViewController: Self.UIViewControllerType, coordinator: Self.Coordinator, destroy: () -> Void) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize? | |
#else | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize? | |
#endif | |
@MainActor @preconcurrency public static func dismantleUIViewController(_ uiViewController: Self.UIViewControllerType, coordinator: Self.Coordinator) | |
nonisolated public static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs | |
nonisolated public static func _makeViewList(view: _GraphValue<Self>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@MainActor @preconcurrency public func _identifiedViewTree(in uiViewController: Self.UIViewControllerType) -> _IdentifiedViewTree | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, *) | |
@MainActor @preconcurrency public static func _layoutOptions(_ provider: Self.UIViewControllerType) -> Self.LayoutOptions | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
} | |
@available(iOS 13.0, tvOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@preconcurrency @MainActor public struct UIViewControllerRepresentableContext<Representable> where Representable : UIViewControllerRepresentable { | |
@MainActor @preconcurrency public let coordinator: Representable.Coordinator | |
@MainActor @preconcurrency public var transaction: Transaction { | |
get | |
} | |
@MainActor @preconcurrency public var environment: EnvironmentValues { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public func animate(changes: () -> Void, completion: (() -> Void)? = nil) | |
#else | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public func animate(changes: () -> Void, completion: (() -> Void)? = nil) | |
#endif | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#else | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
nonisolated public static func _viewListCount(inputs: _ViewListCountInputs) -> Int? | |
#endif | |
} | |
@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 } | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension CustomHoverEffect where Self == AutomaticHoverEffect { | |
public static var automatic: AutomaticHoverEffect { | |
get | |
} | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct AutomaticHoverEffect : CustomHoverEffect { | |
public init() | |
public func body(content: AutomaticHoverEffect.Content) -> some CustomHoverEffect | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI20AutomaticHoverEffectV4body7contentQrAA05EmptydE0V_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticHoverEffect : Sendable { | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension CustomHoverEffect where Self == HighlightHoverEffect { | |
public static var highlight: HighlightHoverEffect { | |
get | |
} | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct HighlightHoverEffect : CustomHoverEffect { | |
public init() | |
public func body(content: HighlightHoverEffect.Content) -> some CustomHoverEffect | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI20HighlightHoverEffectV4body7contentQrAA05EmptydE0V_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension HighlightHoverEffect : Sendable { | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension CustomHoverEffect where Self == LiftHoverEffect { | |
public static var lift: LiftHoverEffect { | |
get | |
} | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct LiftHoverEffect : CustomHoverEffect { | |
public init() | |
public func body(content: LiftHoverEffect.Content) -> some CustomHoverEffect | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15LiftHoverEffectV4body7contentQrAA05EmptydE0V_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension LiftHoverEffect : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct NavigationLink<Label, Destination> : View where Label : View, Destination : View { | |
@_alwaysEmitIntoClient nonisolated 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 nonisolated public init(isActive: Binding<Bool>, @ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label) { | |
self.init(destination: destination(), isActive: isActive, label: label) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 nonisolated 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) | |
} | |
#else | |
@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 nonisolated 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) | |
} | |
#endif | |
@MainActor @preconcurrency 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") | |
nonisolated 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") | |
nonisolated public init(destination: Destination, isActive: Binding<Bool>, @ViewBuilder label: () -> Label) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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") | |
nonisolated public init<V>(destination: Destination, tag: V, selection: Binding<V?>, @ViewBuilder label: () -> Label) where V : Hashable | |
#else | |
@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") | |
nonisolated public init<V>(destination: Destination, tag: V, selection: Binding<V?>, @ViewBuilder label: () -> Label) where V : Hashable | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder destination: () -> Destination) { | |
self.init(titleKey, destination: destination()) | |
} | |
@_disfavoredOverload @_alwaysEmitIntoClient nonisolated 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 nonisolated 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 nonisolated public init<S>(_ title: S, isActive: Binding<Bool>, @ViewBuilder destination: () -> Destination) where S : StringProtocol { | |
self.init(title, destination: destination(), isActive: isActive) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 nonisolated 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) | |
} | |
#else | |
@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 nonisolated 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) | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 nonisolated 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) | |
} | |
#else | |
@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 nonisolated 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) | |
} | |
#endif | |
@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") | |
nonisolated 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 nonisolated 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") | |
nonisolated 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 nonisolated public init<S>(_ title: S, destination: Destination, isActive: Binding<Bool>) where S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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") | |
nonisolated public init<V>(_ titleKey: LocalizedStringKey, destination: Destination, tag: V, selection: Binding<V?>) where V : Hashable | |
#else | |
@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") | |
nonisolated public init<V>(_ titleKey: LocalizedStringKey, destination: Destination, tag: V, selection: Binding<V?>) where V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 nonisolated public init<S, V>(_ title: S, destination: Destination, tag: V, selection: Binding<V?>) where S : StringProtocol, V : Hashable | |
#else | |
@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 nonisolated public init<S, V>(_ title: S, destination: Destination, tag: V, selection: Binding<V?>) where S : StringProtocol, V : Hashable | |
#endif | |
} | |
@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:)") | |
nonisolated 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:)") | |
nonisolated public init(destinationName: String, isActive: Binding<Bool>, @ViewBuilder label: () -> Label) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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:)") | |
nonisolated public init<V>(destinationName: String, tag: V, selection: Binding<V?>, @ViewBuilder label: () -> Label) where V : Hashable | |
#else | |
@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:)") | |
nonisolated public init<V>(destinationName: String, tag: V, selection: Binding<V?>, @ViewBuilder label: () -> Label) where V : Hashable | |
#endif | |
} | |
@available(iOS 13.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension NavigationLink { | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public func isDetailLink(_ isDetailLink: Bool) -> some View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated 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 @MainActor @preconcurrency public struct ViewThatFits<Content> : View where Content : View { | |
@usableFromInline | |
@MainActor @preconcurrency internal var _tree: _VariadicView.Tree<_SizeFittingRoot, Content> | |
@inlinable nonisolated public init(in axes: Axis.Set = [.horizontal, .vertical], @ViewBuilder content: () -> Content) { | |
_tree = .init(_SizeFittingRoot(axes: axes)) { content() } | |
} | |
nonisolated public static func _makeView(view: _GraphValue<ViewThatFits<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 } | |
nonisolated public static func _makeView(root: _GraphValue<_SizeFittingRoot>, inputs: _ViewInputs, body: (_Graph, _ViewInputs) -> _ViewListOutputs) -> _ViewOutputs | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = Never | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
#else | |
func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension _ScrollableContentProvider { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
#else | |
public func decelerationTarget(contentOffset: CGPoint, originalContentOffset: CGPoint, velocity: _Velocity<CGSize>, size: CGSize) -> CGPoint? | |
#endif | |
} | |
@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 _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, *) | |
@MainActor @preconcurrency public struct _ScrollView<Provider> : View where Provider : _ScrollableContentProvider { | |
@MainActor @preconcurrency public var contentProvider: Provider | |
@MainActor @preconcurrency public var config: _ScrollViewConfig | |
nonisolated public init(contentProvider: Provider, config: _ScrollViewConfig = _ScrollViewConfig()) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@MainActor @preconcurrency public struct Main : View { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public func _scrollable(stretchChildrenToMaxHeight: Bool = false, horizontal: TextAlignment? = .center, vertical: _VAlignment? = .center) -> _ScrollView<_AligningContentProvider<Self>> | |
#else | |
@MainActor @preconcurrency public func _scrollable(stretchChildrenToMaxHeight: Bool = false, horizontal: TextAlignment? = .center, vertical: _VAlignment? = .center) -> _ScrollView<_AligningContentProvider<Self>> | |
#endif | |
} | |
@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? | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(content: Content, horizontal: TextAlignment? = nil, vertical: _VAlignment? = nil) | |
#else | |
public init(content: Content, horizontal: TextAlignment? = nil, vertical: _VAlignment? = nil) | |
#endif | |
public var scrollableContent: ModifiedContent<Content, _AligningContentProvider<Content>.AligningContentProviderLayout> { | |
get | |
} | |
@MainActor @preconcurrency public struct AligningContentProviderLayout { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias AnimatableData = EmptyAnimatableData | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Root = _ScrollViewRoot<_AligningContentProvider<Content>> | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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, *) | |
@MainActor @preconcurrency public struct Link<Label> : View where Label : View { | |
nonisolated public init(destination: URL, @ViewBuilder label: () -> Label) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
nonisolated public init(_ titleKey: LocalizedStringKey, destination: URL) | |
@_disfavoredOverload nonisolated 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 { | |
nonisolated public func inspector<V>(isPresented: Binding<Bool>, @ViewBuilder content: () -> V) -> some View where V : View | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func inspectorColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View | |
#else | |
nonisolated public func inspectorColumnWidth(min: CGFloat? = nil, ideal: CGFloat, max: CGFloat? = nil) -> some View | |
#endif | |
nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(direction: _PagingViewConfig.Direction = .horizontal, size: CGFloat? = nil, margin: CGFloat = 0, spacing: CGFloat = 0, constrainedDeceleration: Bool = true) | |
#else | |
public init(direction: _PagingViewConfig.Direction = .horizontal, size: CGFloat? = nil, margin: CGFloat = 0, spacing: CGFloat = 0, constrainedDeceleration: Bool = true) | |
#endif | |
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, *) | |
@MainActor @preconcurrency public struct _PagingView<Views> : View where Views : RandomAccessCollection, Views.Element : View, Views.Index : Hashable { | |
@MainActor @preconcurrency public var views: Views | |
@MainActor @preconcurrency public var page: Binding<Views.Index>? | |
@MainActor @preconcurrency public var config: _PagingViewConfig | |
@MainActor @preconcurrency public var scrollViewConfig: _ScrollViewConfig | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(config: _PagingViewConfig = _PagingViewConfig(), page: Binding<Views.Index>? = nil, views: Views) | |
#else | |
nonisolated public init(config: _PagingViewConfig = _PagingViewConfig(), page: Binding<Views.Index>? = nil, views: Views) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(direction: _PagingViewConfig.Direction, page: Binding<Views.Index>? = nil, views: Views) | |
#else | |
nonisolated public init(direction: _PagingViewConfig.Direction, page: Binding<Views.Index>? = nil, views: Views) | |
#endif | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<PlainListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated public static func _makeViewList<SelectionValue>(value: _GraphValue<_ListValue<PlainListStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension PlainListStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@preconcurrency @MainActor public protocol ProgressViewStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Label : View { | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
public typealias Body = Never | |
} | |
@MainActor @preconcurrency public struct CurrentValueLabel : View { | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
nonisolated public func progressViewStyle<S>(_ style: S) -> some View where S : ProgressViewStyle | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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) | |
nonisolated 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 nonisolated 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 nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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) | |
nonisolated 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 nonisolated 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 nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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) | |
@MainActor @preconcurrency 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 | |
#else | |
@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) | |
@MainActor @preconcurrency 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 | |
#endif | |
@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) | |
@MainActor @preconcurrency 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 @MainActor @preconcurrency 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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) | |
@MainActor @preconcurrency 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 | |
#else | |
@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) | |
@MainActor @preconcurrency 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 | |
#endif | |
@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) | |
@MainActor @preconcurrency 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 @MainActor @preconcurrency 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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) | |
@MainActor @preconcurrency 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 | |
#else | |
@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) | |
@MainActor @preconcurrency 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 | |
#endif | |
@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) | |
@MainActor @preconcurrency 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 @MainActor @preconcurrency 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, *) | |
@preconcurrency @MainActor public protocol _PreviewProvider { | |
@MainActor @preconcurrency static var _previews: Any { get } | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency static var _platform: PreviewPlatform? { get } | |
#else | |
@MainActor @preconcurrency static var _platform: PreviewPlatform? { get } | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@preconcurrency @MainActor public protocol PreviewProvider : _PreviewProvider { | |
associatedtype Previews : View | |
@ViewBuilder @preconcurrency @MainActor static var previews: Self.Previews { get } | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@preconcurrency @MainActor static var platform: PreviewPlatform? { get } | |
#else | |
@preconcurrency @MainActor static var platform: PreviewPlatform? { get } | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension PreviewProvider { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public static var platform: PreviewPlatform? { | |
get | |
} | |
#else | |
@MainActor @preconcurrency public static var platform: PreviewPlatform? { | |
get | |
} | |
#endif | |
@MainActor @preconcurrency public static var _previews: Any { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@MainActor @preconcurrency public static var _platform: PreviewPlatform? { | |
get | |
} | |
#else | |
@MainActor @preconcurrency public static var _platform: PreviewPlatform? { | |
get | |
} | |
#endif | |
} | |
@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) | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias ExtendedGraphemeClusterLiteralType = String | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias RawValue = String | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias StringLiteralType = String | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias AllCases = [InterfaceOrientation] | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
public typealias ID = String | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func previewDevice(_ value: PreviewDevice?) -> some View { | |
return _trait(PreviewDeviceTraitKey.self, value) | |
} | |
#else | |
@inlinable nonisolated public func previewDevice(_ value: PreviewDevice?) -> some View { | |
return _trait(PreviewDeviceTraitKey.self, value) | |
} | |
#endif | |
@inlinable nonisolated public func previewLayout(_ value: PreviewLayout) -> some View { | |
return _trait(PreviewLayoutTraitKey.self, value) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func previewDisplayName(_ value: String?) -> some View { | |
return _trait(PreviewDisplayNameTraitKey.self, value) | |
} | |
#else | |
@inlinable nonisolated public func previewDisplayName(_ value: String?) -> some View { | |
return _trait(PreviewDisplayNameTraitKey.self, value) | |
} | |
#endif | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@inlinable nonisolated 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, *) | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: PreviewDevice? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: PreviewDevice? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 } | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: String? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: String? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@usableFromInline | |
internal typealias Value = String? | |
} | |
@available(*, unavailable) | |
extension PreviewDisplayNameTraitKey : 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 } | |
} | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: (any PreviewContext)? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: (any PreviewContext)? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
@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 @preconcurrency 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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var context: (any PreviewContext)? { | |
get | |
} | |
#else | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public var context: (any PreviewContext)? { | |
get | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var displayName: String? { | |
get | |
} | |
#else | |
public var displayName: String? { | |
get | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var device: PreviewDevice? { | |
get | |
} | |
#else | |
public var device: PreviewDevice? { | |
get | |
} | |
#endif | |
public var layout: PreviewLayout { | |
get | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public var interfaceOrientation: InterfaceOrientation { | |
get | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
public var colorScheme: ColorScheme? { | |
get | |
} | |
#else | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
public var colorScheme: ColorScheme? { | |
get | |
} | |
#endif | |
} | |
@available(*, unavailable) | |
extension _Preview : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct ScrollAnchorRole : Hashable, Sendable { | |
public static var initialOffset: ScrollAnchorRole { | |
get | |
} | |
public static var sizeChanges: ScrollAnchorRole { | |
get | |
} | |
public static var alignment: ScrollAnchorRole { | |
get | |
} | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: ScrollAnchorRole, b: ScrollAnchorRole) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?) -> some View | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?) -> some View | |
#endif | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?, for role: ScrollAnchorRole) -> some View | |
#else | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func defaultScrollAnchor(_ anchor: UnitPoint?, for role: ScrollAnchorRole) -> some View | |
#endif | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#else | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View | |
#endif | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge = .top, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), @ViewBuilder content: @escaping () -> Content) -> some View where Content : View | |
} | |
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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 | |
#else | |
@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 | |
#endif | |
} | |
extension EnvironmentValues { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 | |
} | |
#else | |
@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 | |
} | |
#endif | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func environment<T>(_ object: T?) -> some View where T : AnyObject, T : Observable | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func environment<T>(_ object: T?) -> some View where T : AnyObject, T : Observable | |
#endif | |
} | |
extension Scene { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func environment<T>(_ object: T?) -> some Scene where T : AnyObject, T : Observable | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func environment<T>(_ object: T?) -> some Scene where T : AnyObject, T : Observable | |
#endif | |
} | |
@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, *) | |
nonisolated 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, *) | |
nonisolated public func scrollIndicatorsFlash(trigger value: some Equatable) -> some View | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func scrollIndicatorsFlash(onAppear: Bool) -> some View | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public func scrollDisabled(_ disabled: Bool) -> some View | |
} | |
extension ScrollView { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func scrollDisabled(_ disabled: Bool) -> ScrollView<Content> | |
} | |
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, *) | |
nonisolated 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) | |
nonisolated 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 | |
} | |
} | |
@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, *) | |
nonisolated 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 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("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(macOS 13.0, tvOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func focusSection() -> some View | |
} | |
@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 | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias ArrayLiteralElement = AccessibilityDirectTouchOptions | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Element = AccessibilityDirectTouchOptions | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension View { | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func listItemTint(_ tint: ListItemTint?) -> some View { | |
_trait(ListItemTintTraitKey.self, tint) | |
} | |
#else | |
@inlinable nonisolated public func listItemTint(_ tint: ListItemTint?) -> some View { | |
_trait(ListItemTintTraitKey.self, tint) | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func listItemTint(_ tint: Color?) -> some View { | |
listItemTint(tint.map { .fixed($0) }) | |
} | |
#else | |
@inlinable nonisolated public func listItemTint(_ tint: Color?) -> some View { | |
listItemTint(tint.map { .fixed($0) }) | |
} | |
#endif | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@usableFromInline | |
internal struct ListItemTintTraitKey : _ViewTraitKey { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: ListItemTint? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: ListItemTint? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
@usableFromInline | |
internal typealias Value = ListItemTint? | |
} | |
@available(*, unavailable) | |
extension ListItemTintTraitKey : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TabContent { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge? = nil, @ViewBuilder content: @escaping () -> Content) -> some TabContent<Self.TabValue> where Content : View | |
#else | |
nonisolated public func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge? = nil, @ViewBuilder content: @escaping () -> Content) -> some TabContent<Self.TabValue> where Content : View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some TabContent<Self.TabValue> where Item : Identifiable, Content : View | |
#else | |
nonisolated public func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some TabContent<Self.TabValue> where Item : Identifiable, Content : View | |
#endif | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension ToggleStyle where Self == CheckboxToggleStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var checkbox: CheckboxToggleStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct CheckboxToggleStyle : ToggleStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: CheckboxToggleStyle.Configuration) -> some View | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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 { | |
nonisolated public func labelsHidden() -> some View | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func immersiveEnvironmentPicker<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View | |
} | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct RoundedBorderTextEditorStyle : TextEditorStyle { | |
@MainActor @preconcurrency public func makeBody(configuration: RoundedBorderTextEditorStyle.Configuration) -> some View | |
@MainActor @preconcurrency public init() | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable, introduced: 17.0) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable, introduced: 14.0) | |
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 @MainActor @preconcurrency 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, iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let navigation: ContainerBackgroundPlacement | |
@available(watchOS 11.0, iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public static let navigationSplitView: ContainerBackgroundPlacement | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let window: 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, *) | |
nonisolated 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, *) | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: AnyView? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: AnyView? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
@usableFromInline | |
internal typealias Value = AnyView? | |
} | |
@available(*, unavailable) | |
extension ContainerBackgroundTraitKey : Sendable { | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency 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 nonisolated public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) { | |
self.init(label: label(), content: content) | |
} | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
nonisolated public init(_ configuration: GroupBoxStyleConfiguration) | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBox where Label == EmptyView { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension GroupBox where Label == Text { | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated 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:)") | |
nonisolated public init(label: Label, @ViewBuilder content: () -> Content) | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TableStyle where Self == InsetTableStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency 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 @MainActor @preconcurrency public static func inset(alternatesRowBackgrounds: Bool) -> InsetTableStyle { | |
.init(alternatesRowBackgrounds: alternatesRowBackgrounds) | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct InsetTableStyle : TableStyle { | |
@MainActor @preconcurrency 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) | |
@MainActor @preconcurrency public init(alternatesRowBackgrounds: Bool) | |
@MainActor @preconcurrency public func makeBody(configuration: InsetTableStyle.Configuration) -> some View | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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) | |
@MainActor @preconcurrency public struct ImmersiveSpaceViewContent<Content> : ImmersiveSpaceContent where Content : View { | |
@available(visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
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 { | |
@MainActor @preconcurrency public var body: Never { | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ForEach { | |
public init<V>(subviewOf view: V, @ViewBuilder content: @escaping (Subview) -> Content) where Data == ForEachSubviewCollection<Content>, ID == Subview.ID, Content : View, V : View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct ForEachSubviewCollection<Content> : RandomAccessCollection where Content : View { | |
public var startIndex: Int { | |
get | |
} | |
public var endIndex: Int { | |
get | |
} | |
public subscript(index: Int) -> Subview { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Element = Subview | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Index = Int | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Indices = Range<Int> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Iterator = IndexingIterator<ForEachSubviewCollection<Content>> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias SubSequence = Slice<ForEachSubviewCollection<Content>> | |
} | |
@available(*, unavailable) | |
extension ForEachSubviewCollection : Sendable { | |
} | |
@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 { | |
nonisolated 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<SegmentedPickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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) | |
@MainActor @preconcurrency public struct LinearCapacityGaugeStyle : GaugeStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: LinearCapacityGaugeStyle.Configuration) -> some View | |
@available(iOS 16.0, watchOS 9.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
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 @MainActor @preconcurrency public static var linearCapacity: LinearCapacityGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct AlertScene<Actions, Message> : Scene where Actions : View, Message : View { | |
nonisolated public init(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> Actions) where Message == EmptyView | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, isPresented: Binding<Bool>, @ViewBuilder actions: () -> Actions) where Message == EmptyView, S : StringProtocol | |
nonisolated public init(_ title: Text, isPresented: Binding<Bool>, @ViewBuilder actions: () -> Actions) where Message == EmptyView | |
nonisolated public init(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, @ViewBuilder actions: () -> Actions, @ViewBuilder message: () -> Message) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, isPresented: Binding<Bool>, @ViewBuilder actions: () -> Actions, @ViewBuilder message: () -> Message) where S : StringProtocol | |
nonisolated public init(_ title: Text, isPresented: Binding<Bool>, @ViewBuilder actions: () -> Actions, @ViewBuilder message: () -> Message) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions) where Message == EmptyView | |
#else | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions) where Message == EmptyView | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions) where Message == EmptyView, S : StringProtocol | |
#else | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions) where Message == EmptyView, S : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions) where Message == EmptyView | |
#else | |
nonisolated public init<T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions) where Message == EmptyView | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions, @ViewBuilder message: (T) -> Message) | |
#else | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions, @ViewBuilder message: (T) -> Message) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions, @ViewBuilder message: (T) -> Message) where S : StringProtocol | |
#else | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions, @ViewBuilder message: (T) -> Message) where S : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions, @ViewBuilder message: (T) -> Message) | |
#else | |
nonisolated public init<T>(_ title: Text, isPresented: Binding<Bool>, presenting data: T?, @ViewBuilder actions: (T) -> Actions, @ViewBuilder message: (T) -> Message) | |
#endif | |
@MainActor @preconcurrency public var body: some Scene { | |
get | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable, introduced: 14.0) | |
@available(tvOS, unavailable, introduced: 14.0) | |
@available(watchOS, unavailable, introduced: 7.0) | |
@available(visionOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10AlertSceneV4bodyQrvp", 0) __<Actions, Message> | |
} | |
@available(*, unavailable) | |
extension AlertScene : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
extension TabViewStyle where Self == TabBarOnlyTabViewStyle { | |
@_alwaysEmitIntoClient public static var tabBarOnly: TabBarOnlyTabViewStyle { | |
@_silgen_name("tabBarOnlyMangledName") | |
get { .init() } | |
} | |
@usableFromInline | |
internal static var _tabBarOnlyABI: TabBarOnlyTabViewStyle { | |
@_silgen_name("$s7SwiftUI12TabViewStylePA2A0c7BarOnlycdE0VRszrlE03tabfG0AEvgZ") | |
get | |
} | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, *) | |
@available(watchOS, unavailable) | |
public struct TabBarOnlyTabViewStyle : TabViewStyle { | |
public init() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<TabBarOnlyTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated public static func _makeViewList<SelectionValue>(value: _GraphValue<_TabViewValue<TabBarOnlyTabViewStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension TabBarOnlyTabViewStyle : Sendable { | |
} | |
@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 } | |
} | |
@available(iOS 14.5, tvOS 14.5, watchOS 7.4, macOS 11.0, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onMoveCommand(perform action: ((MoveCommandDirection) -> Void)?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onMoveCommand(perform action: ((MoveCommandDirection) -> Void)?) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onExitCommand(perform action: (() -> Void)?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onExitCommand(perform action: (() -> Void)?) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onPlayPauseCommand(perform action: (() -> Void)?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onPlayPauseCommand(perform action: (() -> Void)?) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onDeleteCommand(perform action: (() -> Void)?) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated public func onDeleteCommand(perform action: (() -> Void)?) -> some View | |
#endif | |
@available(tvOS 14.3, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
nonisolated 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<__UniversalListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 nonisolated public func listSectionSpacing(_ spacing: ListSectionSpacing) -> some View { | |
modifier( | |
_TraitWritingModifier<ListSectionSpacingTraitKey>(value: spacing)) | |
.environment(\.listSectionSpacing, spacing) | |
} | |
@inlinable nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient internal static var defaultValue: ListSectionSpacing? { | |
get { nil } | |
} | |
#else | |
@_alwaysEmitIntoClient internal static var defaultValue: ListSectionSpacing? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 17.0, watchOS 10.0, *) | |
@usableFromInline | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
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 } | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
internal var listSectionSpacing: ListSectionSpacing? { | |
get | |
set | |
} | |
#else | |
@usableFromInline | |
internal var listSectionSpacing: ListSectionSpacing? { | |
get | |
set | |
} | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityHidden(_ hidden: Bool, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityHidden(_ hidden: Bool, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated 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 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@preconcurrency @MainActor public protocol ControlWidgetConfiguration { | |
associatedtype Body : ControlWidgetConfiguration | |
@ControlWidgetConfigurationBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
@MainActor @preconcurrency static func _makeWidgetControlConfiguration(control: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension ControlWidgetConfiguration { | |
@MainActor @preconcurrency public static func _makeWidgetControlConfiguration(control: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Never : ControlWidgetConfiguration { | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_functionBuilder public struct ControlWidgetConfigurationBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : ControlWidgetConfiguration { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildBlock<Content>(_ content: Content) -> some ControlWidgetConfiguration where Content : ControlWidgetConfiguration { | |
return content | |
} | |
} | |
@available(*, unavailable) | |
extension ControlWidgetConfigurationBuilder : Sendable { | |
} | |
@available(macOS 15.0, visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowPlacement : Equatable { | |
@available(macOS, unavailable) | |
public struct Position : Equatable { | |
public static var utilityPanel: WindowPlacement.Position { | |
get | |
} | |
public static func leading(_ relativeWindow: WindowProxy) -> WindowPlacement.Position | |
public static func trailing(_ relativeWindow: WindowProxy) -> WindowPlacement.Position | |
public static func above(_ relativeWindow: WindowProxy) -> WindowPlacement.Position | |
public static func below(_ relativeWindow: WindowProxy) -> WindowPlacement.Position | |
@available(visionOS, introduced: 2.0, deprecated: 2.0, message: "Use PushWindowAction instead.") | |
public static func replacing(_ relativeWindow: WindowProxy) -> WindowPlacement.Position | |
public static func == (a: WindowPlacement.Position, b: WindowPlacement.Position) -> Bool | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(visionOS, unavailable) | |
public init(_ position: CGPoint? = nil, size: CGSize? = nil) | |
#else | |
@available(visionOS, unavailable) | |
public init(_ position: CGPoint? = nil, size: CGSize? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(visionOS, unavailable) | |
public init(x: CGFloat? = nil, y: CGFloat? = nil, width: CGFloat? = nil, height: CGFloat? = nil) | |
#else | |
@available(visionOS, unavailable) | |
public init(x: CGFloat? = nil, y: CGFloat? = nil, width: CGFloat? = nil, height: CGFloat? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(visionOS, unavailable) | |
public init(_ position: UnitPoint, size: CGSize? = nil) | |
#else | |
@available(visionOS, unavailable) | |
public init(_ position: UnitPoint, size: CGSize? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(visionOS, unavailable) | |
public init(_ position: UnitPoint, width: CGFloat? = nil, height: CGFloat? = nil) | |
#else | |
@available(visionOS, unavailable) | |
public init(_ position: UnitPoint, width: CGFloat? = nil, height: CGFloat? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS, unavailable) | |
public init(_ position: WindowPlacement.Position? = nil) | |
#else | |
@available(macOS, unavailable) | |
public init(_ position: WindowPlacement.Position? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS, unavailable) | |
public init(_ position: WindowPlacement.Position? = nil, size: CGSize? = nil) | |
#else | |
@available(macOS, unavailable) | |
public init(_ position: WindowPlacement.Position? = nil, size: CGSize? = nil) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS, unavailable) | |
public init(_ position: WindowPlacement.Position? = nil, width: CGFloat? = nil, height: CGFloat? = nil, depth: CGFloat? = nil) | |
#else | |
@available(macOS, unavailable) | |
public init(_ position: WindowPlacement.Position? = nil, width: CGFloat? = nil, height: CGFloat? = nil, depth: CGFloat? = nil) | |
#endif | |
public static func == (a: WindowPlacement, b: WindowPlacement) -> Bool | |
} | |
@available(*, unavailable) | |
extension WindowPlacement : Sendable { | |
} | |
@available(*, unavailable) | |
extension WindowPlacement.Position : Sendable { | |
} | |
@available(macOS 15.0, visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowPlacementContext { | |
@available(visionOS, unavailable) | |
public var defaultDisplay: DisplayProxy { | |
get | |
} | |
@available(macOS, unavailable) | |
public var windows: [WindowProxy] { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension WindowPlacementContext : Sendable { | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct DisplayProxy : Equatable { | |
public let bounds: CGRect | |
public let safeAreaInsets: EdgeInsets | |
public let visibleRect: CGRect | |
public static func == (a: DisplayProxy, b: DisplayProxy) -> Bool | |
} | |
@available(*, unavailable) | |
extension DisplayProxy : Sendable { | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowProxy { | |
public var id: String? { | |
get | |
} | |
public var phase: ScenePhase { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension WindowProxy : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct Form<Content> : View where Content : View { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 { | |
nonisolated public init(_ configuration: FormStyleConfiguration) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@preconcurrency @MainActor public protocol Commands { | |
associatedtype Body : Commands | |
@CommandsBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
@available(iOS 15.0, macOS 12.0, *) | |
nonisolated static func _makeCommands(content: _GraphValue<Self>, inputs: _CommandsInputs) -> _CommandsOutputs | |
@MainActor @preconcurrency 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, *) | |
@MainActor @preconcurrency public static func _makeCommands(content: _GraphValue<Self>, inputs: _CommandsInputs) -> _CommandsOutputs | |
@MainActor @preconcurrency public func _resolve(into resolved: inout _ResolvedCommands) | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct EmptyCommands : Commands { | |
@available(iOS 15.0, macOS 12.0, *) | |
nonisolated public static func _makeCommands(content: _GraphValue<EmptyCommands>, inputs: _CommandsInputs) -> _CommandsOutputs | |
nonisolated public init() | |
@MainActor @preconcurrency public func _resolve(into: inout _ResolvedCommands) | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 { | |
nonisolated 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 16.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct MultiDatePicker<Label> : View where Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(macOS, unavailable, introduced: 10.15) | |
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 { | |
nonisolated public init(selection: Binding<Set<DateComponents>>, @ViewBuilder label: () -> Label) | |
nonisolated public init(selection: Binding<Set<DateComponents>>, in bounds: Range<Date>, @ViewBuilder label: () -> Label) | |
nonisolated public init(selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>, @ViewBuilder label: () -> Label) | |
nonisolated 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 { | |
nonisolated public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>) | |
nonisolated public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: Range<Date>) | |
nonisolated public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>) | |
nonisolated 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 nonisolated public init<S>(_ title: S, selection: Binding<Set<DateComponents>>) where S : StringProtocol | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, selection: Binding<Set<DateComponents>>, in bounds: Range<Date>) where S : StringProtocol | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>) where S : StringProtocol | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeUpTo<Date>) where S : StringProtocol | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func onPencilDoubleTap(perform action: @escaping (_ value: PencilDoubleTapGestureValue) -> Void) -> some View | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct PencilDoubleTapGestureValue : Hashable { | |
public let hoverPose: PencilHoverPose? | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: PencilDoubleTapGestureValue, b: PencilDoubleTapGestureValue) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension PencilDoubleTapGestureValue : Sendable { | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func onPencilSqueeze(perform action: @escaping (_ phase: PencilSqueezeGesturePhase) -> Void) -> some View | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@frozen public enum PencilSqueezeGesturePhase : Equatable { | |
case active(PencilSqueezeGestureValue) | |
case ended(PencilSqueezeGestureValue) | |
case failed | |
public static func == (a: PencilSqueezeGesturePhase, b: PencilSqueezeGesturePhase) -> Bool | |
} | |
@available(*, unavailable) | |
extension PencilSqueezeGesturePhase : Sendable { | |
} | |
@available(iOS 17.5, macOS 14.5, *) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
public struct PencilSqueezeGestureValue : Hashable { | |
public let hoverPose: PencilHoverPose? | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: PencilSqueezeGestureValue, b: PencilSqueezeGestureValue) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension PencilSqueezeGestureValue : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
public struct ScrollPhaseChangeContext { | |
public var geometry: ScrollGeometry { | |
get | |
} | |
public var velocity: CGVector? { | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ScrollPhaseChangeContext : Sendable { | |
} | |
extension View { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
nonisolated public func onScrollPhaseChange(_ action: @escaping (_ oldPhase: ScrollPhase, _ newPhase: ScrollPhase) -> Void) -> some View | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
nonisolated public func onScrollPhaseChange(_ action: @escaping (_ oldPhase: ScrollPhase, _ newPhase: ScrollPhase, _ context: ScrollPhaseChangeContext) -> Void) -> some View | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, *) | |
nonisolated public func onScrollGeometryChange<T>(for type: T.Type, of transform: @escaping (ScrollGeometry) -> T, action: @escaping (_ oldValue: T, _ newValue: T) -> Void) -> some View where T : Equatable | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct TabRole : Hashable, Sendable { | |
public static var search: TabRole { | |
get | |
} | |
public func hash(into hasher: inout Hasher) | |
public static func == (a: TabRole, b: TabRole) -> Bool | |
public var hashValue: Int { | |
get | |
} | |
} | |
@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) | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias ArrayLiteralElement = ToolbarCustomizationOptions | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 | |
} | |
extension View { | |
@available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) | |
nonisolated 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) | |
@MainActor @preconcurrency public struct HSplitView<Content> : View where Content : View { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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) | |
@MainActor @preconcurrency public struct VSplitView<Content> : View where Content : View { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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 | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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 | |
@available(iOS, unavailable, message: "Use `BorderedButtonMenuStyle` instead.") | |
@available(tvOS, unavailable, message: "Use `BorderedButtonMenuStyle` instead.") | |
@available(watchOS, unavailable, message: "Use `BorderedButtonMenuStyle` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `BorderedButtonMenuStyle` instead.") | |
@available(visionOS, unavailable, message: "Use `BorderedButtonMenuStyle` instead.") | |
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 | |
@available(iOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(tvOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(watchOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(visionOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
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 | |
@available(iOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(tvOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(watchOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `BorderlessButtonMenuStyle` instead.") | |
@available(visionOS, unavailable, message: "Use `BorderlessButtonMenuStyle` instead.") | |
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 | |
@available(iOS, unavailable, message: "Use `TexturedButtonMenuStyle` instead.") | |
@available(tvOS, unavailable, message: "Use `TexturedButtonMenuStyle` instead.") | |
@available(watchOS, unavailable, message: "Use `TexturedButtonMenuStyle` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `TexturedButtonMenuStyle` instead.") | |
@available(visionOS, unavailable, message: "Use `TexturedButtonMenuStyle` instead.") | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI32_TexturedPullDownMenuButtonStyleV5_body13configurationQrAA01_fgH13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension _TexturedPullDownMenuButtonStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct TextEditingCommands : Commands { | |
nonisolated public init() | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI19TextEditingCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension TextEditingCommands : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct TextFormattingCommands : Commands { | |
nonisolated public init() | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22TextFormattingCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension TextFormattingCommands : Sendable { | |
} | |
@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) | |
@MainActor @preconcurrency public struct DisclosureGroup<Label, Content> : View where Label : View, Content : View { | |
nonisolated public init(@ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label) | |
nonisolated public init(isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content, @ViewBuilder label: () -> Label) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
nonisolated public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: @escaping () -> Content) | |
nonisolated public init(_ titleKey: LocalizedStringKey, isExpanded: Binding<Bool>, @ViewBuilder content: @escaping () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ label: S, @ViewBuilder content: @escaping () -> Content) where S : StringProtocol | |
@_disfavoredOverload nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Binding<Bool>? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Binding<Bool>? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 11.0, *) | |
@usableFromInline | |
internal typealias Value = Binding<Bool>? | |
} | |
@available(*, unavailable) | |
extension IsExpandedTraitKey : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@usableFromInline | |
internal struct ShouldExpandAllTraitKey : _ViewTraitKey { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Binding<ExpansionState>? { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Binding<ExpansionState>? { | |
get { nil } | |
} | |
#endif | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
@usableFromInline | |
internal typealias Value = Binding<ExpansionState>? | |
} | |
@available(*, unavailable) | |
extension ShouldExpandAllTraitKey : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@usableFromInline | |
internal enum ExpansionState : CustomStringConvertible { | |
case expanded | |
case collapsed | |
case unspecified | |
@usableFromInline | |
internal var description: String { | |
get | |
} | |
@usableFromInline | |
internal static func == (a: ExpansionState, b: ExpansionState) -> Bool | |
@usableFromInline | |
internal func hash(into hasher: inout Hasher) | |
@usableFromInline | |
internal var hashValue: Int { | |
@usableFromInline | |
get | |
} | |
} | |
@available(*, unavailable) | |
extension ExpansionState : Sendable { | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func textInputCompletion(_ completion: String) -> some View | |
} | |
@available(macOS 15.0, visionOS 1.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension WindowStyle where Self == PlainWindowStyle { | |
@_alwaysEmitIntoClient public static var plain: PlainWindowStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 15.0, visionOS 1.0, *) | |
@available(iOS, 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, *) | |
@MainActor @preconcurrency public struct Picker<Label, SelectionValue, Content> : View where Label : View, SelectionValue : Hashable, Content : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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, *) | |
nonisolated public init<C>(sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where C : RandomAccessCollection | |
@_alwaysEmitIntoClient nonisolated 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 { | |
nonisolated public init(_ titleKey: LocalizedStringKey, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public init<C>(_ titleKey: LocalizedStringKey, sources: C, selection: KeyPath<C.Element, Binding<SelectionValue>>, @ViewBuilder content: () -> Content) where C : RandomAccessCollection | |
@_disfavoredOverload nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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> { | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: ImageResource, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) | |
nonisolated 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 nonisolated public init<S>(_ title: S, image: ImageResource, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@_disfavoredOverload nonisolated 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:)") | |
nonisolated 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_PickerValue<PalettePickerStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated public static func _makeViewList<SelectionValue>(value: _GraphValue<_PickerValue<PalettePickerStyle, SelectionValue>>, inputs: _ViewListInputs) -> _ViewListOutputs where SelectionValue : Hashable | |
} | |
@available(*, unavailable) | |
extension PalettePickerStyle : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct Tab<Value, Content, Label> { | |
} | |
@available(*, unavailable) | |
extension Tab : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Tab : TabContent where Value : Hashable, Content : View, Label : View { | |
public typealias TabValue = Value | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: String, value: Value, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#else | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, image: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, image: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#else | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, image: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, image: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#else | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, image: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#endif | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: String, value: Value, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#else | |
nonisolated public init(_ titleKey: LocalizedStringKey, image: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, image: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#else | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, image: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, image: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#else | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, image: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#endif | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, systemImage: String, value: Value, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, systemImage: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#else | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, systemImage: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, systemImage: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#else | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, systemImage: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, systemImage: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#else | |
@_disfavoredOverload nonisolated public init<S, T>(_ title: S, systemImage: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, S : StringProtocol, T : Hashable | |
#endif | |
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, value: Value, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#else | |
nonisolated public init(_ titleKey: LocalizedStringKey, systemImage: String, value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, systemImage: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#else | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, systemImage: String, value: T, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, systemImage: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#else | |
nonisolated public init<T>(_ titleKey: LocalizedStringKey, systemImage: String, value: T, role: TabRole?, @ViewBuilder content: () -> Content) where Value == T?, Label == DefaultTabLabel, T : Hashable | |
#endif | |
nonisolated public init(value: Value, @ViewBuilder content: () -> Content) where Label == EmptyView | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V, @ViewBuilder content: () -> Content) where Value == V?, Label == EmptyView, V : Hashable | |
#else | |
nonisolated public init<V>(value: V, @ViewBuilder content: () -> Content) where Value == V?, Label == EmptyView, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#else | |
nonisolated public init(value: Value, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V, role: TabRole?, @ViewBuilder content: () -> Content) where Value == V?, Label == DefaultTabLabel, V : Hashable | |
#else | |
nonisolated public init<V>(value: V, role: TabRole?, @ViewBuilder content: () -> Content) where Value == V?, Label == DefaultTabLabel, V : Hashable | |
#endif | |
nonisolated public init(value: Value, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(value: Value, role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
#else | |
nonisolated public init(value: Value, role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where Value == V?, V : Hashable | |
#else | |
nonisolated public init<V>(value: V, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where Value == V?, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init<V>(value: V, role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where Value == V?, V : Hashable | |
#else | |
nonisolated public init<V>(value: V, role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) where Value == V?, V : Hashable | |
#endif | |
@MainActor @preconcurrency public var _identifiedView: some View { | |
get | |
} | |
@MainActor @preconcurrency public var body: Tab<Value, Content, Label> { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = Tab<Value, Content, Label> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = @_opaqueReturnTypeOf("$s7SwiftUI3TabVAASHRzAA4ViewR_AaDR0_rlE011_identifiedD0Qrvp", 0) __<Value, Content, Label> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Tab where Value == Never, Content : View, Label : View { | |
@_disfavoredOverload public init<S>(_ title: S, image: String, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<S>(_ title: S, image: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#else | |
@_disfavoredOverload public init<S>(_ title: S, image: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#endif | |
public init(_ titleKey: LocalizedStringKey, image: String, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ titleKey: LocalizedStringKey, image: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#else | |
public init(_ titleKey: LocalizedStringKey, image: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#endif | |
@_disfavoredOverload public init<S>(_ title: S, systemImage: String, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<S>(_ title: S, systemImage: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#else | |
@_disfavoredOverload public init<S>(_ title: S, systemImage: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel, S : StringProtocol | |
#endif | |
public init(_ titleKey: LocalizedStringKey, systemImage: String, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ titleKey: LocalizedStringKey, systemImage: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#else | |
public init(_ titleKey: LocalizedStringKey, systemImage: String, role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension Tab where Value == Never, Content : View, Label : View { | |
public init(@ViewBuilder content: () -> Content) where Label == EmptyView | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#else | |
public init(role: TabRole?, @ViewBuilder content: () -> Content) where Label == DefaultTabLabel | |
#endif | |
public init(@ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
#else | |
public init(role: TabRole?, @ViewBuilder content: () -> Content, @ViewBuilder label: () -> Label) | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
nonisolated public func tabViewSidebarHeader<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View | |
nonisolated public func tabViewSidebarFooter<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View | |
nonisolated public func tabViewSidebarBottomBar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct LazyHStack<Content> : View where Content : View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content) | |
#else | |
nonisolated public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content) | |
#endif | |
nonisolated public static func _makeView(view: _GraphValue<LazyHStack<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 nonisolated public init(@SceneBuilder content: () -> Content) { | |
self = Self._make(content: content()) | |
} | |
nonisolated 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 | |
@MainActor @preconcurrency internal struct _TupleScene<T> : Scene { | |
@usableFromInline | |
@MainActor @preconcurrency internal var value: T | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: Never { | |
get | |
} | |
@usableFromInline | |
@MainActor @preconcurrency internal init(_ value: T) | |
@usableFromInline | |
nonisolated internal static func _makeScene(scene: _GraphValue<_TupleScene<T>>, inputs: _SceneInputs) -> _SceneOutputs | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where Value == C.TableRowValue, C : TableRowContent { | |
content | |
} | |
#else | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where Value == C.TableRowValue, C : TableRowContent { | |
content | |
} | |
#endif | |
@_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(*, unavailable, message: "this code may crash on earlier versions of the OS; add 'if #available' version check around the Table instead") | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability(_ content: some TableRowContent<Value>) -> some TableRowContent<Value> { | |
content | |
} | |
} | |
@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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#else | |
public static func _tableRowCount(inputs: _TableRowInputs) -> Int? | |
#endif | |
@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) | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 | |
} | |
#else | |
@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 | |
} | |
#endif | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityInputLabels(_ inputLabels: [Text], isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey], isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated public func accessibilityInputLabels<S>(_ inputLabels: [S], isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityInputLabels(_ inputLabels: [Text], isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
public func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey], isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityInputLabels<S>(_ inputLabels: [S], isEnabled: Bool) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated public func accessibilityInputLabels(_ inputLabels: [Text]) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
nonisolated public func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey]) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
@_disfavoredOverload nonisolated 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 accessibilityInputLabels(_ inputLabels: [Text]) -> ModifiedContent<Content, Modifier> | |
public func accessibilityInputLabels(_ inputLabelKeys: [LocalizedStringKey]) -> ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityInputLabels<S>(_ inputLabels: [S]) -> ModifiedContent<Content, Modifier> where S : StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@MainActor @preconcurrency public struct AsyncImage<Content> : View where Content : View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(url: URL?, scale: CGFloat = 1) where Content == Image | |
#else | |
nonisolated public init(url: URL?, scale: CGFloat = 1) where Content == Image | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_alwaysEmitIntoClient nonisolated 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() | |
} | |
} | |
} | |
#else | |
@_alwaysEmitIntoClient nonisolated 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() | |
} | |
} | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated public init(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) | |
#else | |
nonisolated public init(url: URL?, scale: CGFloat = 1, transaction: Transaction = Transaction(), @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) | |
#endif | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) | |
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) | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var image: Image? { | |
get | |
} | |
#else | |
public var image: Image? { | |
get | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public var error: (any Error)? { | |
get | |
} | |
#else | |
public var error: (any Error)? { | |
get | |
} | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated public func searchCompletion(_ completion: String) -> some View | |
} | |
extension View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonisolated public func searchCompletion<T>(_ token: T) -> some View where T : Identifiable | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated 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, *) | |
@preconcurrency @MainActor public struct DismissSearchAction { | |
@MainActor @preconcurrency public func callAsFunction() | |
} | |
@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) | |
@MainActor @preconcurrency public struct _PullDownButton<Label, Content> where Label : View, Content : View { | |
@MainActor @preconcurrency public init(label: Label, @ViewBuilder content: () -> Content) | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable, introduced: 13.0) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
@available(visionOS, unavailable) | |
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) | |
@MainActor @preconcurrency public init(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload @MainActor @preconcurrency 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 nonisolated public static func _makeView<S>(view: _GraphValue<_ShapeView<S, SelectionShapeStyle>>, inputs: _ViewInputs) -> _ViewOutputs where S : Shape { | |
_ShapeView<S, Self>._makeView(view: view, inputs: inputs) | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable, introduced: 17.0) | |
@available(watchOS, unavailable, introduced: 10.0) | |
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 | |
@available(iOS, unavailable, message: "Use `menuStyle(.automatic)` instead.") | |
@available(tvOS, unavailable, message: "Use `menuStyle(.automatic)` instead.") | |
@available(watchOS, unavailable, message: "Use `menuStyle(.automatic)` instead.") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `menuStyle(.automatic)` instead.") | |
@available(visionOS, unavailable, message: "Use `menuStyle(.automatic)` instead.") | |
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 @MainActor @preconcurrency public static var titleAndIcon: TitleAndIconLabelStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) | |
@MainActor @preconcurrency public struct TitleAndIconLabelStyle : LabelStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: TitleAndIconLabelStyle.Configuration) -> some View | |
@available(iOS 14.5, tvOS 14.5, watchOS 7.4, macOS 11.3, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI22TitleAndIconLabelStyleV8makeBody13configurationQrAA0fG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension TitleAndIconLabelStyle : Sendable { | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public struct UtilityWindow<Content> : Scene where Content : View { | |
nonisolated public init(_ title: Text, id: String, @ViewBuilder content: () -> Content) | |
nonisolated public init(_ titleKey: LocalizedStringKey, id: String, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, id: String, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@MainActor @preconcurrency public var body: some Scene { | |
get | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable, introduced: 14.0) | |
@available(tvOS, unavailable, introduced: 14.0) | |
@available(watchOS, unavailable, introduced: 7.0) | |
@available(visionOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI13UtilityWindowV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension UtilityWindow : Sendable { | |
} | |
#if compiler(>=5.3) && $RetroactiveAttribute | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Image : @retroactive Transferable { | |
public static var transferRepresentation: some TransferRepresentation { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ImageV22transferRepresentationQrvpZ", 0) __ | |
} | |
#else | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Image : Transferable { | |
public static var transferRepresentation: some TransferRepresentation { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ImageV22transferRepresentationQrvpZ", 0) __ | |
} | |
#endif | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct ScrollView<Content> : View where Content : View { | |
@MainActor @preconcurrency public var content: Content | |
@MainActor @preconcurrency public var axes: Axis.Set { | |
get | |
set | |
} | |
@MainActor @preconcurrency 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") | |
nonisolated public init(_ axes: Axis.Set = .vertical, showsIndicators: Bool = true, @ViewBuilder content: () -> Content) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10ScrollViewV4bodyQrvp", 0) __<Content> | |
} | |
@available(*, unavailable) | |
extension ScrollView : Sendable { | |
} | |
extension ScrollView { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient nonisolated public init(_ axes: Axis.Set = .vertical, @ViewBuilder content: () -> Content) { | |
self.init(axes, showsIndicators: true, content: content) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension ScrollView { | |
@available(*, deprecated, message: "This SPI is no longer supported. Use scrollBounceBehavior() instead.") | |
@MainActor @preconcurrency public var _alwaysBounceAxes: Axis.Set { | |
get | |
set | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension NavigationSplitViewStyle where Self == AutomaticNavigationSplitViewStyle { | |
@MainActor @preconcurrency public static var automatic: AutomaticNavigationSplitViewStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct AutomaticNavigationSplitViewStyle : NavigationSplitViewStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AutomaticNavigationSplitViewStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI33AutomaticNavigationSplitViewStyleV8makeBody13configurationQrAA0defG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension AutomaticNavigationSplitViewStyle : Sendable { | |
} | |
extension View { | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID) -> some View | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
nonisolated public func matchedTransitionSource(id: some Hashable, in namespace: Namespace.ID, configuration: (EmptyMatchedTransitionSourceConfiguration) -> some MatchedTransitionSourceConfiguration) -> some View | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct _ResolvedMatchedTransitionSourceConfiguration : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public protocol MatchedTransitionSourceConfiguration : Sendable { | |
func _update(configuration: inout _ResolvedMatchedTransitionSourceConfiguration) | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct EmptyMatchedTransitionSourceConfiguration : MatchedTransitionSourceConfiguration { | |
public func _update(configuration: inout _ResolvedMatchedTransitionSourceConfiguration) | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension MatchedTransitionSourceConfiguration { | |
public func shadow(color: Color = Color(.sRGBLinear, white: 0, opacity: 0.33), radius: CGFloat, x: CGFloat = 0, y: CGFloat = 0) -> some MatchedTransitionSourceConfiguration | |
public func clipShape(_ shape: RoundedRectangle) -> some MatchedTransitionSourceConfiguration | |
@available(*, unavailable, message: "matchedTransitionSource only supports `RoundedRectangle` clip shapes.") | |
public func clipShape<S>(_ shape: S) -> some MatchedTransitionSourceConfiguration where S : Shape | |
public func background(_ style: Color) -> some MatchedTransitionSourceConfiguration | |
@available(*, unavailable, message: "matchedTransitionSource only supports `Color` background styles.") | |
public func background<S>(_ style: S) -> some MatchedTransitionSourceConfiguration where S : ShapeStyle | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AccessibilityRotorEntry<ID> where ID : Hashable { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ label: Text, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#else | |
public init(_ label: Text, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ label: Text, id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#else | |
public init(_ label: Text, id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ label: Text? = nil, textRange: Range<String.Index>, prepare: @escaping (() -> Void) = {}) where ID == Never | |
#else | |
public init(_ label: Text? = nil, textRange: Range<String.Index>, prepare: @escaping (() -> Void) = {}) where ID == Never | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ labelKey: LocalizedStringKey, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#else | |
public init(_ labelKey: LocalizedStringKey, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<L>(_ label: L, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) where L : StringProtocol | |
#else | |
@_disfavoredOverload public init<L>(_ label: L, id: ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) where L : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init(_ labelKey: LocalizedStringKey, id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#else | |
public init(_ labelKey: LocalizedStringKey, id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<L>(_ label: L, _ id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) where L : StringProtocol | |
#else | |
@_disfavoredOverload public init<L>(_ label: L, _ id: ID, in namespace: Namespace.ID, textRange: Range<String.Index>? = nil, prepare: @escaping (() -> Void) = {}) where L : StringProtocol | |
#endif | |
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 { | |
nonisolated 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 @preconcurrency public struct NavigationStack<Data, Root> : View where Root : View { | |
nonisolated public init(@ViewBuilder root: () -> Root) where Data == NavigationPath | |
nonisolated public init(path: Binding<NavigationPath>, @ViewBuilder root: () -> Root) where Data == NavigationPath | |
nonisolated public init(path: Binding<Data>, @ViewBuilder root: () -> Root) where Data : MutableCollection, Data : RandomAccessCollection, Data : RangeReplaceableCollection, Data.Element : Hashable | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15NavigationStackV4bodyQrvp", 0) __<Data, Root> | |
} | |
@available(*, unavailable) | |
extension NavigationStack : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension LayoutSubview { | |
public var containerValues: ContainerValues { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension FormStyle where Self == GroupedFormStyle { | |
@MainActor @preconcurrency public static var grouped: GroupedFormStyle { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@MainActor @preconcurrency public struct GroupedFormStyle : FormStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: GroupedFormStyle.Configuration) -> some View | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16GroupedFormStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension GroupedFormStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
@inlinable nonisolated 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 { | |
nonisolated public func path(in rect: CGRect) -> Path | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias AnimatableData = EmptyAnimatableData | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
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 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension ButtonBorderShape : InsettableShape { | |
@inlinable public func inset(by amount: CGFloat) -> some InsettableShape { | |
return _Inset(amount: amount) | |
} | |
@usableFromInline | |
@frozen @MainActor @preconcurrency internal struct _Inset : InsettableShape { | |
@usableFromInline | |
@MainActor @preconcurrency internal var amount: CGFloat | |
@inlinable @MainActor @preconcurrency internal init(amount: CGFloat) { | |
self.amount = amount | |
} | |
@usableFromInline | |
nonisolated internal func path(in rect: CGRect) -> Path | |
@usableFromInline | |
nonisolated internal var layoutDirectionBehavior: LayoutDirectionBehavior { | |
get | |
} | |
@usableFromInline | |
@MainActor @preconcurrency internal var animatableData: CGFloat { | |
get | |
set | |
} | |
@inlinable @MainActor @preconcurrency internal func inset(by amount: CGFloat) -> ButtonBorderShape._Inset { | |
var copy = self | |
copy.amount += amount | |
return copy | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
@usableFromInline | |
internal typealias AnimatableData = CGFloat | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
@usableFromInline | |
internal typealias Body = _ShapeView<ButtonBorderShape._Inset, ForegroundStyle> | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
@usableFromInline | |
internal typealias InsetShape = ButtonBorderShape._Inset | |
} | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias InsetShape = @_opaqueReturnTypeOf("$s7SwiftUI17ButtonBorderShapeV5inset2byQr12CoreGraphics7CGFloatV_tF", 0) __ | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@MainActor @preconcurrency public struct AccessibilityAttachmentModifier : ViewModifier { | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 | |
@available(iOS, introduced: 13.0, 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(macOS, introduced: 10.15, 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 typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI26DefaultNavigationViewStyleV5_body13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
@available(iOS, introduced: 13.0, 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(macOS, introduced: 10.15, 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 typealias _Body2 = @_opaqueReturnTypeOf("$s7SwiftUI26DefaultNavigationViewStyleV16_columnBasedBody13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultNavigationViewStyle : Sendable { | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct Viewpoint3D : Equatable, Sendable, CustomDebugStringConvertible { | |
public var squareAzimuth: SquareAzimuth { | |
get | |
} | |
public static let standard: Viewpoint3D | |
public var debugDescription: String { | |
get | |
} | |
public static func == (a: Viewpoint3D, b: Viewpoint3D) -> Bool | |
} | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@frozen public enum SquareAzimuth : CaseIterable, Sendable { | |
case front | |
case right | |
case back | |
case left | |
public var orientation: Rotation3D { | |
get | |
} | |
public init(closestToAzimuth azimuth: Angle) | |
@frozen public struct Set : OptionSet { | |
public typealias Element = SquareAzimuth.Set | |
public let rawValue: Int | |
public init(rawValue: Int) | |
public static let front: SquareAzimuth.Set | |
public static let right: SquareAzimuth.Set | |
public static let back: SquareAzimuth.Set | |
public static let left: SquareAzimuth.Set | |
public static let all: SquareAzimuth.Set | |
public init(_ e: SquareAzimuth) | |
public func contains(_ e: SquareAzimuth) -> Bool | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias ArrayLiteralElement = SquareAzimuth.Set.Element | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias RawValue = Int | |
} | |
public static func == (a: SquareAzimuth, b: SquareAzimuth) -> Bool | |
public func hash(into hasher: inout Hasher) | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(macOS, unavailable) | |
public typealias AllCases = [SquareAzimuth] | |
public static var allCases: [SquareAzimuth] { | |
get | |
} | |
public var hashValue: Int { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct _CoordinateSpaceModifier<Name> : ViewModifier, Equatable where Name : Hashable { | |
@MainActor @preconcurrency public var name: Name | |
@inlinable nonisolated public init(name: Name) { | |
self.name = name | |
} | |
nonisolated public static func _makeViewInputs(modifier: _GraphValue<_CoordinateSpaceModifier<Name>>, inputs: inout _ViewInputs) | |
nonisolated public static func == (a: _CoordinateSpaceModifier<Name>, b: _CoordinateSpaceModifier<Name>) -> Bool | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 nonisolated 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 { | |
nonisolated public func coordinateSpace(_ name: NamedCoordinateSpace) -> some View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct ControlGroup<Content> : View where Content : View { | |
nonisolated public init(@ViewBuilder content: () -> Content) | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 15.0, tvOS 17.0, macOS 12.0, *) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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) | |
@MainActor @preconcurrency public struct LabeledControlGroupContent<Content, Label> : View where Content : View, Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 16.0, tvOS 17.0, macOS 13.0, *) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 { | |
nonisolated public init(_ configuration: ControlGroupStyleConfiguration) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroup { | |
nonisolated 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 nonisolated public init<C>(_ titleKey: LocalizedStringKey, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Text>, C : View { | |
self.init(content: content) { | |
Text(titleKey) | |
} | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload nonisolated 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 nonisolated 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 nonisolated 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 { | |
nonisolated public init<C>(_ titleKey: LocalizedStringKey, image: ImageResource, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View | |
@_disfavoredOverload nonisolated public init<C, S>(_ title: S, image: ImageResource, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View, S : StringProtocol | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
extension Transition where Self == BlurReplaceTransition { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static func blurReplace(_ config: BlurReplaceTransition.Configuration = .downUp) -> Self { | |
return Self(configuration: config) | |
} | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var blurReplace: BlurReplaceTransition { | |
get { blurReplace(.downUp) } | |
} | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
@MainActor @preconcurrency 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 | |
} | |
@MainActor @preconcurrency public var configuration: BlurReplaceTransition.Configuration | |
@MainActor @preconcurrency public init(configuration: BlurReplaceTransition.Configuration) | |
@MainActor @preconcurrency public func body(content: BlurReplaceTransition.Content, phase: TransitionPhase) -> some View | |
@MainActor @preconcurrency public func _makeContentTransition(transition: inout _Transition_ContentTransition) | |
@available(iOS 17.0, tvOS 17.0, watchOS 10.0, macOS 14.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21BlurReplaceTransitionV4body7content5phaseQrAA22PlaceholderContentViewVyACG_AA0E5PhaseOtF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BlurReplaceTransition : Sendable { | |
} | |
@available(*, unavailable) | |
extension BlurReplaceTransition.Configuration : Sendable { | |
} | |
@available(iOS 18.0, tvOS 18.0, visionOS 2.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension CustomHoverEffect { | |
public func hoverEffectDisabled(_ isDisabled: Bool = true) -> some CustomHoverEffect | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public var documentConfiguration: DocumentConfiguration? { | |
get | |
} | |
#else | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public var documentConfiguration: DocumentConfiguration? { | |
get | |
} | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @propertyWrapper @preconcurrency @MainActor public struct EnvironmentObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject { | |
@dynamicMemberLookup @frozen @preconcurrency @MainActor public struct Wrapper { | |
@MainActor @preconcurrency internal let root: ObjectType | |
@MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { | |
get | |
} | |
} | |
@inlinable @MainActor @preconcurrency public var wrappedValue: ObjectType { | |
get { | |
guard let store = _store else { error() } | |
return store | |
} | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable @MainActor @preconcurrency internal var optionalWrappedValue: ObjectType? { | |
get { | |
_store | |
} | |
} | |
#else | |
@inlinable @MainActor @preconcurrency internal var optionalWrappedValue: ObjectType? { | |
get { | |
_store | |
} | |
} | |
#endif | |
@usableFromInline | |
@MainActor @preconcurrency internal var _store: ObjectType? | |
@usableFromInline | |
@MainActor @preconcurrency internal var _seed: Int = 0 | |
@MainActor @preconcurrency public var projectedValue: EnvironmentObject<ObjectType>.Wrapper { | |
get | |
} | |
@usableFromInline | |
@MainActor @preconcurrency internal func error() -> Never | |
@MainActor @preconcurrency public init() | |
nonisolated 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 EnvironmentObject { | |
@MainActor @preconcurrency public static var _propertyBehaviors: UInt32 { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension View { | |
@inlinable nonisolated 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, *) | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
internal static var environmentStore: WritableKeyPath<EnvironmentValues, Self?> { | |
get | |
} | |
#else | |
@usableFromInline | |
internal static var environmentStore: WritableKeyPath<EnvironmentValues, Self?> { | |
get | |
} | |
#endif | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension GaugeStyle where Self == AccessoryLinearGaugeStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var accessoryLinear: AccessoryLinearGaugeStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
@MainActor @preconcurrency public struct AccessoryLinearGaugeStyle : GaugeStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: AccessoryLinearGaugeStyle.Configuration) -> some View | |
@available(iOS 16.0, watchOS 9.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
nonisolated 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 | |
#else | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload nonisolated 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 | |
#else | |
@_disfavoredOverload nonisolated 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 | |
#endif | |
nonisolated 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 nonisolated 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 | |
nonisolated 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 nonisolated 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 | |
nonisolated 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 nonisolated 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 | |
nonisolated 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 nonisolated 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) | |
@MainActor @preconcurrency public struct PresentedWindowContent<Data, Content> : View where Data : Decodable, Data : Encodable, Data : Hashable, Content : View { | |
nonisolated public static func _makeViewList(view: _GraphValue<PresentedWindowContent<Data, Content>>, inputs: _ViewListInputs) -> _ViewListOutputs | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable, introduced: 13.0) | |
@available(watchOS, unavailable, introduced: 6.0) | |
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 @MainActor @preconcurrency public static var automatic: DefaultMenuStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct DefaultMenuStyle : MenuStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: DefaultMenuStyle.Configuration) -> some View | |
@available(iOS 14.0, tvOS 17.0, macOS 11.0, *) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI16DefaultMenuStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultMenuStyle : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated public func accessibilityRotor<Content>(_ label: Text, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent | |
nonisolated public func accessibilityRotor<Content>(_ systemRotor: AccessibilitySystemRotor, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent | |
nonisolated public func accessibilityRotor<EntryModel>(_ rotorLabel: Text, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable | |
nonisolated public func accessibilityRotor<EntryModel, ID>(_ rotorLabel: Text, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable | |
nonisolated public func accessibilityRotor<EntryModel>(_ systemRotor: AccessibilitySystemRotor, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable | |
nonisolated public func accessibilityRotor<EntryModel, ID>(_ systemRotor: AccessibilitySystemRotor, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable | |
nonisolated public func accessibilityRotor(_ label: Text, textRanges: [Range<String.Index>]) -> some View | |
nonisolated 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 { | |
nonisolated public func accessibilityRotor<Content>(_ labelKey: LocalizedStringKey, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where Content : AccessibilityRotorContent | |
@_disfavoredOverload nonisolated public func accessibilityRotor<L, Content>(_ label: L, @AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some View where L : StringProtocol, Content : AccessibilityRotorContent | |
nonisolated public func accessibilityRotor<EntryModel>(_ rotorLabelKey: LocalizedStringKey, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where EntryModel : Identifiable | |
@_disfavoredOverload nonisolated public func accessibilityRotor<L, EntryModel>(_ rotorLabel: L, entries: [EntryModel], entryLabel: KeyPath<EntryModel, String>) -> some View where L : StringProtocol, EntryModel : Identifiable | |
nonisolated public func accessibilityRotor<EntryModel, ID>(_ rotorLabelKey: LocalizedStringKey, entries: [EntryModel], entryID: KeyPath<EntryModel, ID>, entryLabel: KeyPath<EntryModel, String>) -> some View where ID : Hashable | |
@_disfavoredOverload nonisolated 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 | |
nonisolated public func accessibilityRotor(_ labelKey: LocalizedStringKey, textRanges: [Range<String.Index>]) -> some View | |
@_disfavoredOverload nonisolated 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, *) | |
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: OSLogMessage) -> 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, *) | |
@preconcurrency @MainActor public protocol FormStyle { | |
associatedtype Body : View | |
@ViewBuilder @MainActor @preconcurrency 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 { | |
@MainActor @preconcurrency public struct Content : View { | |
@available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) | |
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 { | |
nonisolated public func formStyle<S>(_ style: S) -> some View where S : FormStyle | |
} | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TabContent { | |
nonisolated public func swipeActions<T>(edge: HorizontalEdge = .trailing, allowsFullSwipe: Bool = true, @ViewBuilder content: () -> T) -> some TabContent<Self.TabValue> where T : View | |
} | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension TabContent { | |
nonisolated public func contextMenu<M>(@ViewBuilder menuItems: () -> M) -> some TabContent<Self.TabValue> where M : View | |
} | |
#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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#else | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#endif | |
} | |
#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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#else | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#endif | |
} | |
#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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#else | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#endif | |
} | |
@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 | |
} | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#else | |
@available(iOS 17.4, macOS 14.4, visionOS 1.1, *) | |
public static func _tableColumnCount(inputs: _TableColumnInputs) -> Int? | |
#endif | |
} | |
@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 { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
public struct TabSection<Header, Content, Footer, SelectionValue> { | |
} | |
@available(*, unavailable) | |
extension TabSection : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension TabSection : TabContent where Header : View, Content : TabContent, Footer : View, SelectionValue == Content.TabValue { | |
public typealias TabValue = Content.TabValue | |
@MainActor @preconcurrency public var _identifiedView: some View { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = TabSection<Header, Content, Footer, SelectionValue> | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias _IdentifiedView = @_opaqueReturnTypeOf("$s7SwiftUI10TabSectionVA2A4ViewRzAA0C7ContentR_AaDR0_0C5ValueAaEPQy_Rs1_rlE011_identifiedE0Qrvp", 0) __<Header, Content, Footer, SelectionValue> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension TabSection where Content : TabContent, SelectionValue : Hashable { | |
public init(@TabContentBuilder<SelectionValue> content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyView | |
public init(@TabContentBuilder<SelectionValue> content: () -> Content) where Header == EmptyView, Footer == EmptyView | |
@_disfavoredOverload public init<S>(_ title: S, @TabContentBuilder<SelectionValue> content: () -> Content) where Header == Text, Footer == EmptyView, S : StringProtocol | |
public init(_ titleKey: LocalizedStringKey, @TabContentBuilder<SelectionValue> content: () -> Content) where Header == Text, Footer == EmptyView | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<V>(@TabContentBuilder<V?> content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#else | |
@_disfavoredOverload public init<V>(@TabContentBuilder<V?> content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<V>(@TabContentBuilder<V?> content: () -> Content) where Header == EmptyView, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#else | |
@_disfavoredOverload public init<V>(@TabContentBuilder<V?> content: () -> Content) where Header == EmptyView, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<V, S>(_ title: S, @TabContentBuilder<V?> content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable, S : StringProtocol | |
#else | |
@_disfavoredOverload public init<V, S>(_ title: S, @TabContentBuilder<V?> content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable, S : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_disfavoredOverload public init<V>(_ titleKey: LocalizedStringKey, @TabContentBuilder<V?> content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#else | |
@_disfavoredOverload public init<V>(_ titleKey: LocalizedStringKey, @TabContentBuilder<V?> content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(@TabContentBuilder<V?> liftedContent content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#else | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(@TabContentBuilder<V?> liftedContent content: () -> Content, @ViewBuilder header: () -> Header) where Header : View, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(@TabContentBuilder<V?> liftedContent content: () -> Content) where Header == EmptyView, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#else | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(@TabContentBuilder<V?> liftedContent content: () -> Content) where Header == EmptyView, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload internal init<V, S>(_ title: S, @TabContentBuilder<V?> liftedContent content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable, S : StringProtocol | |
#else | |
@usableFromInline | |
@_disfavoredOverload internal init<V, S>(_ title: S, @TabContentBuilder<V?> liftedContent content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable, S : StringProtocol | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(_ titleKey: LocalizedStringKey, @TabContentBuilder<V?> liftedContent content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#else | |
@usableFromInline | |
@_disfavoredOverload internal init<V>(_ titleKey: LocalizedStringKey, @TabContentBuilder<V?> liftedContent content: () -> Content) where Header == Text, Footer == EmptyView, SelectionValue == V?, V : Hashable | |
#endif | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
@MainActor @preconcurrency public struct DefaultTabLabel : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 18.0, tvOS 18.0, watchOS 11.0, macOS 15.0, visionOS 2.0, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15DefaultTabLabelV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension DefaultTabLabel : Sendable { | |
} | |
@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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<EllipticalListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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 @MainActor @preconcurrency public static var navigation: NavigationControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct NavigationControlGroupStyle : ControlGroupStyle { | |
nonisolated public init() | |
@MainActor @preconcurrency public func makeBody(configuration: NavigationControlGroupStyle.Configuration) -> some View | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable, introduced: 17.0) | |
@available(watchOS, unavailable) | |
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 | |
} | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<VerticalPageTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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) | |
@MainActor @preconcurrency public struct ToolbarCommands : Commands { | |
nonisolated public init() | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15ToolbarCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension ToolbarCommands : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct SidebarCommands : Commands { | |
nonisolated public init() | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI15SidebarCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension SidebarCommands : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct InspectorCommands : Commands { | |
nonisolated public init() | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@available(iOS 17.0, macOS 14.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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) | |
@MainActor @preconcurrency public struct ImportFromDevicesCommands : Commands { | |
nonisolated public init() | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@available(macOS 12.0, *) | |
@available(iOS, unavailable, introduced: 14.0) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25ImportFromDevicesCommandsV4bodyQrvp", 0) __ | |
} | |
@available(*, unavailable) | |
extension ImportFromDevicesCommands : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@propertyWrapper @preconcurrency @MainActor @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject { | |
@dynamicMemberLookup @preconcurrency @MainActor @frozen public struct Wrapper { | |
@MainActor @preconcurrency internal let root: ObjectType | |
@MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { | |
get | |
} | |
} | |
@usableFromInline | |
@MainActor @preconcurrency internal var _seed: Int = 0 | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public init(initialValue: ObjectType) { | |
self.init(wrappedValue: initialValue) | |
} | |
@MainActor @preconcurrency public init(wrappedValue: ObjectType) | |
@MainActor @preconcurrency public var wrappedValue: ObjectType | |
@MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension ObservedObject { | |
nonisolated 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 { | |
nonisolated public static var _propertyBehaviors: UInt32 { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @MainActor @preconcurrency public struct EquatableView<Content> : View where Content : Equatable, Content : View { | |
@MainActor @preconcurrency public var content: Content | |
@inlinable nonisolated public init(content: Content) { | |
self.content = content | |
} | |
nonisolated public static func _makeView(view: _GraphValue<EquatableView<Content>>, inputs: _ViewInputs) -> _ViewOutputs | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
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 nonisolated public func equatable() -> EquatableView<Self> { | |
return EquatableView(content: self) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@preconcurrency @MainActor public protocol Scene { | |
associatedtype Body : Scene | |
@SceneBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
nonisolated static func _makeScene(scene: _GraphValue<Self>, inputs: _SceneInputs) -> _SceneOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Scene { | |
nonisolated 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(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct VolumeViewpointUpdateStrategy : Sendable, Equatable { | |
public static let all: VolumeViewpointUpdateStrategy | |
public static let supported: VolumeViewpointUpdateStrategy | |
public static func == (a: VolumeViewpointUpdateStrategy, b: VolumeViewpointUpdateStrategy) -> Bool | |
} | |
extension View { | |
@available(visionOS 2.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public func onVolumeViewpointChange(updateStrategy: VolumeViewpointUpdateStrategy = .supported, initial: Bool = true, _ action: @escaping (_ oldValue: Viewpoint3D, _ newValue: Viewpoint3D) -> Void) -> some View | |
} | |
@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 @MainActor @preconcurrency public static var automatic: DefaultProgressViewStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct DefaultProgressViewStyle : ProgressViewStyle { | |
@MainActor @preconcurrency public init() | |
@MainActor @preconcurrency public func makeBody(configuration: DefaultProgressViewStyle.Configuration) -> some View | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
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 { | |
nonisolated public func swipeActions<T>(edge: HorizontalEdge = .trailing, allowsFullSwipe: Bool = true, @ViewBuilder content: () -> T) -> some View where T : View | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension View { | |
nonisolated public func dismissalConfirmationDialog<A>(_ titleKey: LocalizedStringKey, shouldPresent: Bool, @ViewBuilder actions: () -> A) -> some View where A : View | |
@_disfavoredOverload nonisolated public func dismissalConfirmationDialog<S, A>(_ title: S, shouldPresent: Bool, @ViewBuilder actions: () -> A) -> some View where S : StringProtocol, A : View | |
nonisolated public func dismissalConfirmationDialog<A>(_ title: Text, shouldPresent: Bool, @ViewBuilder actions: () -> A) -> some View where A : View | |
nonisolated public func dismissalConfirmationDialog<A, M>(_ titleKey: LocalizedStringKey, shouldPresent: Bool, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
@_disfavoredOverload nonisolated public func dismissalConfirmationDialog<S, A, M>(_ title: S, shouldPresent: Bool, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where S : StringProtocol, A : View, M : View | |
nonisolated public func dismissalConfirmationDialog<A, M>(_ title: Text, shouldPresent: Bool, @ViewBuilder actions: () -> A, @ViewBuilder message: () -> M) -> some View where A : View, M : View | |
} | |
@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 { | |
nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable internal static var defaultValue: Optional<(IndexSet) -> Void> { | |
get { nil } | |
} | |
#else | |
@inlinable internal static var defaultValue: Optional<(IndexSet) -> Void> { | |
get { nil } | |
} | |
#endif | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func onDelete(perform action: Optional<(IndexSet) -> Void>) -> some DynamicViewContent { | |
return modifier(_TraitWritingModifier<OnDeleteTraitKey>(value: action)) | |
} | |
#else | |
@inlinable nonisolated public func onDelete(perform action: Optional<(IndexSet) -> Void>) -> some DynamicViewContent { | |
return modifier(_TraitWritingModifier<OnDeleteTraitKey>(value: action)) | |
} | |
#endif | |
} | |
@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 } | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
@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 nonisolated public func deleteDisabled(_ isDisabled: Bool) -> some View { | |
return _trait(IsDeleteDisabledTraitKey.self, isDisabled) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct CommandMenu<Content> : Commands where Content : View { | |
@available(iOS 15.0, macOS 12.0, *) | |
nonisolated public static func _makeCommands(content: _GraphValue<CommandMenu<Content>>, inputs: _CommandsInputs) -> _CommandsOutputs | |
nonisolated public init(_ nameKey: LocalizedStringKey, @ViewBuilder content: () -> Content) | |
nonisolated public init(_ name: Text, @ViewBuilder content: () -> Content) | |
@_disfavoredOverload nonisolated public init<S>(_ name: S, @ViewBuilder content: () -> Content) where S : StringProtocol | |
@MainActor @preconcurrency public var body: some Commands { | |
get | |
} | |
@MainActor @preconcurrency public func _resolve(into resolved: inout _ResolvedCommands) | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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) | |
@preconcurrency @MainActor public protocol WidgetConfiguration { | |
associatedtype Body : WidgetConfiguration | |
@MainActor @preconcurrency var body: Self.Body { get } | |
nonisolated static func _makeWidgetConfiguration(widget: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
extension WidgetConfiguration { | |
nonisolated 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 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension List { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
@available(iOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated 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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#else | |
@available(watchOS, unavailable) | |
nonisolated 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 | |
#endif | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension List where SelectionValue == Never { | |
nonisolated 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 | |
nonisolated 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 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @MainActor @preconcurrency public struct _AccessibilityIgnoresInvertColorsViewModifier { | |
@MainActor @preconcurrency public var active: Bool | |
@inlinable @MainActor @preconcurrency public init(active: Bool) { self.active = active } | |
nonisolated public static func _makeView(modifier: _GraphValue<_AccessibilityIgnoresInvertColorsViewModifier>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
public typealias Body = Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
@inlinable nonisolated 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, *) | |
@MainActor @preconcurrency public struct SecureField<Label> : View where Label : View { | |
@MainActor @preconcurrency public var body: some View { | |
get | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI11SecureFieldV4bodyQrvp", 0) __<Label> | |
} | |
@available(*, unavailable) | |
extension SecureField : Sendable { | |
} | |
extension SecureField where Label == Text { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?) | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(_ titleKey: LocalizedStringKey, text: Binding<String>, prompt: Text?) | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, prompt: Text?) where S : StringProtocol | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@_disfavoredOverload nonisolated public init<S>(_ title: S, text: Binding<String>, prompt: Text?) where S : StringProtocol | |
#endif | |
} | |
extension SecureField { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
#else | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
nonisolated public init(text: Binding<String>, prompt: Text? = nil, @ViewBuilder label: () -> Label) | |
#endif | |
} | |
extension SecureField where Label == Text { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@_alwaysEmitIntoClient nonisolated 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 nonisolated 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.") | |
nonisolated 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 nonisolated public init<S>(_ title: S, text: Binding<String>, onCommit: @escaping () -> Void) where S : StringProtocol | |
} | |
@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 @MainActor @preconcurrency 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).") | |
@MainActor @preconcurrency public struct BorderlessButtonMenuStyle : MenuStyle { | |
@MainActor @preconcurrency public init() | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 11.0, deprecated: 12.0, message: "Use ``View/menuIndicator(_)`` instead.") | |
@available(visionOS, unavailable) | |
@MainActor @preconcurrency public init(showsMenuIndicator: Bool) | |
@MainActor @preconcurrency public func makeBody(configuration: BorderlessButtonMenuStyle.Configuration) -> some View | |
@available(iOS, introduced: 14.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, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
@available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use .menuStyle(.button) and .buttonStyle(.borderless).") | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI25BorderlessButtonMenuStyleV8makeBody13configurationQrAA0eF13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension BorderlessButtonMenuStyle : Sendable { | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@preconcurrency @MainActor public protocol ControlWidgetTemplate { | |
associatedtype Body : ControlWidgetTemplate | |
@ControlWidgetTemplateBuilder @MainActor @preconcurrency var body: Self.Body { get } | |
@MainActor @preconcurrency static var _kind: UInt { get } | |
@MainActor @preconcurrency static func _makeControlWidgetTemplate(control: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension ControlWidgetTemplate { | |
@MainActor @preconcurrency public static var _kind: UInt { | |
get | |
} | |
@MainActor @preconcurrency public static func _makeControlWidgetTemplate(control: _GraphValue<Self>, inputs: _WidgetInputs) -> _WidgetOutputs | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Never : ControlWidgetTemplate { | |
} | |
@available(iOS 18.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_functionBuilder public struct ControlWidgetTemplateBuilder { | |
@_alwaysEmitIntoClient public static func buildExpression<Content>(_ content: Content) -> Content where Content : ControlWidgetTemplate { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildBlock<Content>(_ content: Content) -> some ControlWidgetTemplate where Content : ControlWidgetTemplate { | |
return content | |
} | |
} | |
@available(*, unavailable) | |
extension ControlWidgetTemplateBuilder : 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 { | |
nonisolated public func dialogSeverity(_ severity: DialogSeverity) -> some View | |
} | |
@available(macOS 15.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
extension Scene { | |
nonisolated public func dialogSeverity(_ severity: DialogSeverity) -> some Scene | |
} | |
extension EnvironmentValues { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public var undoManager: UndoManager? { | |
get | |
} | |
#else | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public var undoManager: UndoManager? { | |
get | |
} | |
#endif | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
extension ControlGroupStyle where Self == MenuControlGroupStyle { | |
@_alwaysEmitIntoClient @MainActor @preconcurrency public static var menu: MenuControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.4, macOS 13.3, tvOS 17.0, *) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct MenuControlGroupStyle : ControlGroupStyle { | |
nonisolated public init() | |
@MainActor @preconcurrency public func makeBody(configuration: MenuControlGroupStyle.Configuration) -> some View | |
@available(iOS 16.4, tvOS 17.0, macOS 13.3, *) | |
@available(watchOS, unavailable) | |
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 @MainActor @preconcurrency public static var compactMenu: CompactMenuControlGroupStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 16.4, macOS 13.3, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@MainActor @preconcurrency public struct CompactMenuControlGroupStyle : ControlGroupStyle { | |
nonisolated public init() | |
@MainActor @preconcurrency public func makeBody(configuration: CompactMenuControlGroupStyle.Configuration) -> some View | |
@available(iOS 16.4, macOS 13.3, *) | |
@available(tvOS, unavailable, introduced: 17.0) | |
@available(watchOS, unavailable) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI28CompactMenuControlGroupStyleV8makeBody13configurationQrAA0efG13ConfigurationV_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension CompactMenuControlGroupStyle : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension Group : ToolbarContent where Content : ToolbarContent { | |
nonisolated public init(@ToolbarContentBuilder content: () -> Content) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
nonisolated public static func _makeToolbar(content: _GraphValue<Group<Content>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
@MainActor @preconcurrency 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 | |
@MainActor @preconcurrency internal struct TupleToolbarContent<T> : ToolbarContent, CustomizableToolbarContent { | |
@usableFromInline | |
@MainActor @preconcurrency internal init(_ value: T) | |
@usableFromInline | |
@MainActor @preconcurrency internal var body: Never { | |
get | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
nonisolated internal static func _makeToolbar(content: _GraphValue<TupleToolbarContent<T>>, inputs: _ToolbarInputs) -> _ToolbarOutputs | |
@usableFromInline | |
@MainActor @preconcurrency internal static func _makeContent(content: _GraphValue<TupleToolbarContent<T>>, inputs: _GraphInputs, resolved: inout _ToolbarItemList) | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
@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, *) | |
@available(*, deprecated, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@frozen @MainActor @preconcurrency public struct _ScrollViewBoundsModifier<Result> : ViewModifier where Result : ViewModifier { | |
@MainActor @preconcurrency public var transform: (CGRect?) -> Result | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public init(transform: @escaping (CGRect?) -> Result) { | |
self.transform = transform | |
} | |
#else | |
@inlinable nonisolated public init(transform: @escaping (CGRect?) -> Result) { | |
self.transform = transform | |
} | |
#endif | |
nonisolated public static func _makeView(modifier: _GraphValue<_ScrollViewBoundsModifier<Result>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(*, deprecated, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(iOS, introduced: 14.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(tvOS, introduced: 14.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(watchOS, introduced: 7.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(macOS, introduced: 11.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _ScrollViewBoundsModifier : Sendable { | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@available(*, deprecated, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@frozen @MainActor @preconcurrency public struct _ScrollViewBoundsModifier2<Result> : ViewModifier where Result : ViewModifier { | |
@MainActor @preconcurrency public var transform: (CGSize, CGRect?) -> Result | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public init(transform: @escaping (CGSize, CGRect?) -> Result) { | |
self.transform = transform | |
} | |
#else | |
@inlinable nonisolated public init(transform: @escaping (CGSize, CGRect?) -> Result) { | |
self.transform = transform | |
} | |
#endif | |
nonisolated public static func _makeView(modifier: _GraphValue<_ScrollViewBoundsModifier2<Result>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
@available(*, deprecated, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(iOS, introduced: 15.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(tvOS, introduced: 15.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(watchOS, introduced: 8.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
@available(macOS, introduced: 12.0, message: "Use visualEffect, scrollTransition, or onGeometryChange instead") | |
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 @MainActor @preconcurrency 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 @MainActor @preconcurrency public struct _BindingActionModifier<Value> : ViewModifier where Value : Equatable { | |
@MainActor @preconcurrency public var binding: Binding<Value> | |
@MainActor @preconcurrency public var action: (Value) -> Void | |
@inlinable nonisolated public init(binding: Binding<Value>, action: @escaping (Value) -> Void) { | |
(self.binding, self.action) = (binding, action) | |
} | |
nonisolated public static func _makeView(modifier: _GraphValue<_BindingActionModifier<Value>>, inputs: _ViewInputs, body: @escaping (_Graph, _ViewInputs) -> _ViewOutputs) -> _ViewOutputs | |
nonisolated public static func _makeViewList(modifier: _GraphValue<_BindingActionModifier<Value>>, inputs: _ViewListInputs, body: @escaping (_Graph, _ViewListInputs) -> _ViewListOutputs) -> _ViewListOutputs | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension _BindingActionModifier : Sendable { | |
} | |
@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 { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public var editMode: Binding<EditMode>? { | |
get | |
set | |
} | |
#else | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public var editMode: Binding<EditMode>? { | |
get | |
set | |
} | |
#endif | |
} | |
@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 | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *) | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI19PlainTextFieldStyleV5_body13configurationQrAA0dE0VyAA01_deF5LabelVG_tF", 0) __ | |
} | |
@available(*, unavailable) | |
extension PlainTextFieldStyle : Sendable { | |
} | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
public struct ToolbarDefaultItemKind { | |
public static let sidebarToggle: ToolbarDefaultItemKind | |
@available(iOS 18.0, macOS 15.0, visionOS 2.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let title: 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 @MainActor @preconcurrency public static var bordered: BorderedButtonStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 15.0, macOS 10.15, tvOS 13.0, watchOS 7.0, *) | |
@MainActor @preconcurrency public struct BorderedButtonStyle : PrimitiveButtonStyle { | |
@MainActor @preconcurrency 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) | |
@MainActor @preconcurrency public init(tint: Color) | |
@MainActor @preconcurrency public func makeBody(configuration: BorderedButtonStyle.Configuration) -> some View | |
@available(iOS 15.0, tvOS 13.0, watchOS 7.0, macOS 10.15, *) | |
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.LineStyle { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
public init?(nsUnderlineStyle: NSUnderlineStyle) | |
#else | |
public init?(nsUnderlineStyle: NSUnderlineStyle) | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension NSUnderlineStyle { | |
public init(_ lineStyle: Text.LineStyle) | |
} | |
@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 | |
} | |
@available(*, unavailable, message: "Provide at leas one scene") | |
public static func buildBlock() -> some Scene | |
public static func buildBlock<Content>(_ content: Content) -> Content where Content : Scene | |
#if compiler(>=5.3) && $ParameterPacks | |
@_disfavoredOverload @_alwaysEmitIntoClient public static func buildBlock<each Content>(_ content: repeat each Content) -> some Scene where repeat each Content : Scene { | |
_TupleScene((repeat each content)) | |
} | |
#if compiler(>=5.3) && $ParameterPacks | |
#endif | |
#endif | |
} | |
@available(*, unavailable) | |
extension SceneBuilder : Sendable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SceneBuilder { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@_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, *) { | |
guard let scene else { | |
fatalError(""" | |
if #available in SceneBuilder includes an unknown OS version | |
""") | |
} | |
return scene as! LimitedAvailabilityScene | |
} else { | |
return _EmptyScene() | |
} | |
} | |
#else | |
@_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, *) { | |
guard let scene else { | |
fatalError(""" | |
if #available in SceneBuilder includes an unknown OS version | |
""") | |
} | |
return scene as! LimitedAvailabilityScene | |
} else { | |
return _EmptyScene() | |
} | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 | |
#else | |
@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 | |
#endif | |
@available(iOS 16.1, macOS 13.0, watchOS 9.1, tvOS 16.1, *) | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability(_ scene: some Scene) -> any Scene & _LimitedAvailabilitySceneMarker { | |
return LimitedAvailabilityScene(scene) | |
} | |
@available(iOS, deprecated: 14.0, obsoleted: 16.1, message: "this code may crash on earlier versions of the OS; specify '#available(iOS 16.1, *)' or newer instead") | |
@available(macOS, deprecated: 11.0, obsoleted: 13.0, message: "this code may crash on earlier versions of the OS; specify '#available(macOS 13.0, *)' or newer instead") | |
@available(watchOS, deprecated: 7.0, obsoleted: 9.1, message: "this code may crash on earlier versions of the OS; specify '#available(watchOS 9.1, *)' or newer instead") | |
@available(tvOS, deprecated: 14.0, obsoleted: 16.1, message: "this code may crash on earlier versions of the OS; specify '#available(tvOS 16.1, *)' or newer instead") | |
@_disfavoredOverload @_alwaysEmitIntoClient public static func buildLimitedAvailability(_ scene: any Scene) -> any Scene & _LimitedAvailabilitySceneMarker { | |
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, *) | |
nonisolated public func navigationDocument<D>(_ document: D) -> some View where D : Transferable | |
@available(iOS 16.0, macOS 13.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
nonisolated 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) | |
nonisolated 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) | |
nonisolated 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) | |
nonisolated 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, *) | |
nonisolated 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() | |
nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_TabViewValue<DefaultTabViewStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable | |
nonisolated 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) | |
@MainActor @preconcurrency public struct PlainTextEditorStyle : TextEditorStyle { | |
@MainActor @preconcurrency public func makeBody(configuration: PlainTextEditorStyle.Configuration) -> some View | |
@MainActor @preconcurrency public init() | |
@available(iOS 17.0, macOS 14.0, visionOS 1.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
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 @MainActor @preconcurrency 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 @MainActor @preconcurrency public static var wheel: WheelDatePickerStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, watchOS 10.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@MainActor @preconcurrency public struct WheelDatePickerStyle : DatePickerStyle { | |
@MainActor @preconcurrency public init() | |
@available(iOS 16.0, *) | |
@MainActor @preconcurrency public func makeBody(configuration: WheelDatePickerStyle.Configuration) -> some View | |
@available(iOS 13.0, watchOS 10.0, *) | |
@available(tvOS, unavailable) | |
@available(macOS, unavailable, introduced: 10.15) | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI20WheelDatePickerStyleV8makeBody13configurationQrAA0deF13ConfigurationV_tF", 0) __ | |
@available(iOS 13.0, watchOS 10.0, *) | |
@available(tvOS, unavailable) | |
@available(macOS, unavailable, introduced: 10.15) | |
public typealias _Body = EmptyView | |
} | |
@available(*, unavailable) | |
extension WheelDatePickerStyle : Sendable { | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension View { | |
nonisolated public func accessibilityIdentifier(_ identifier: String, isEnabled: Bool) -> ModifiedContent<Self, AccessibilityAttachmentModifier> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension ModifiedContent where Modifier == AccessibilityAttachmentModifier { | |
public func accessibilityIdentifier(_ identifier: String, isEnabled: Bool) -> ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) | |
extension TabContent { | |
nonisolated public func accessibilityIdentifier(_ identifier: String, isEnabled: Bool = true) -> some TabContent<Self.TabValue> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension View { | |
nonisolated 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 15.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@inlinable nonisolated public func listRowSpacing(_ spacing: CGFloat?) -> some View { | |
environment(\.listRowSpacing, spacing) | |
} | |
#else | |
@inlinable nonisolated public func listRowSpacing(_ spacing: CGFloat?) -> some View { | |
environment(\.listRowSpacing, spacing) | |
} | |
#endif | |
} | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension EnvironmentValues { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@usableFromInline | |
internal var listRowSpacing: CGFloat? { | |
get | |
set | |
} | |
#else | |
@usableFromInline | |
internal var listRowSpacing: CGFloat? { | |
get | |
set | |
} | |
#endif | |
} | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func toolbar(removing defaultItemKind: ToolbarDefaultItemKind?) -> some View | |
#else | |
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) | |
nonisolated public func toolbar(removing defaultItemKind: ToolbarDefaultItemKind?) -> some View | |
#endif | |
} | |
@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 | |
@available(iOS 13.0, tvOS 14.0, watchOS 6.0, macOS 10.15, *) | |
public typealias Body = Never | |
} | |
@available(*, unavailable) | |
extension LongPressGesture : Sendable { | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
#else | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated 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) | |
} | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated public func onLongPressGesture(minimumDuration: Double = 0.5, perform action: @escaping () -> Void, onPressingChanged: ((Bool) -> Void)? = nil) -> some View { | |
onLongPressGesture( | |
minimumDuration: minimumDuration, | |
pressing: onPressingChanged, | |
perform: action) | |
} | |
#else | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_alwaysEmitIntoClient nonisolated public func onLongPressGesture(minimumDuration: Double = 0.5, perform action: @escaping () -> Void, onPressingChanged: ((Bool) -> Void)? = nil) -> some View { | |
onLongPressGesture( | |
minimumDuration: minimumDuration, | |
pressing: onPressingChanged, | |
perform: action) | |
} | |
#endif | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
extension View { | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@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 nonisolated public func onLongPressGesture(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View | |
#else | |
@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 nonisolated public func onLongPressGesture(minimumDuration: Double = 0.5, maximumDistance: CGFloat = 10, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View | |
#endif | |
#if compiler(>=5.3) && $NoncopyableGenerics | |
@available(iOS, unavailable) | |
@available(tvOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:perform:onPressingChanged:)") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated public func onLongPressGesture(minimumDuration: Double = 0.5, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View | |
#else | |
@available(iOS, unavailable) | |
@available(tvOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:perform:onPressingChanged:)") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(visionOS, unavailable) | |
@_disfavoredOverload nonisolated public func onLongPressGesture(minimumDuration: Double = 0.5, pressing: ((Bool) -> Void)? = nil, perform action: @escaping () -> Void) -> some View | |
#endif | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension View { | |
nonisolated public func confirmationDialog<A>(_ titleKey: LocalizedStringKey, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A) -> some View where A : View | |
@_disfavoredOverload nonisolated public func confirmationDialog<S, A>(_ title: S, isPresented: Binding<Bool>, titleVisibility: Visibility = .automatic, @ViewBuilder actions: () -> A) -> some View where S : StringProtocol, A : View | |
nonisolated public func confirmationDialog<A>(_ title: Text, isPresented: Binding<Bool>, titleVi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment