Created
June 9, 2022 18:46
-
-
Save onmyway133/932526b4ba02b2b55a848cab5816c95f to your computer and use it in GitHub Desktop.
arm64-apple-ios16.swiftinterface
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swift-interface-format-version: 1.0 | |
// swift-compiler-version: Apple Swift version 5.7 (swiftlang-5.7.0.113.10 clang-1400.0.16.2) | |
// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -library-level api -library-level api -module-name SwiftUI | |
// swift-module-flags-ignorable: -user-module-version 4.0.66.3.102 | |
import Accessibility | |
import Combine | |
import CoreData | |
import CoreFoundation | |
@_exported import CoreGraphics | |
@_exported import CoreTransferable | |
import Darwin | |
@_exported import DeveloperToolsSupport | |
import Foundation | |
import Swift | |
@_exported import SwiftUI | |
import UIKit | |
import UniformTypeIdentifiers | |
import _Concurrency | |
import _StringProcessing | |
import os.log | |
import os | |
import os.signpost | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.NavigationLink where Destination == Swift.Never { | |
public init<P>(value: P?, @SwiftUI.ViewBuilder label: () -> Label) where P : Swift.Hashable | |
public init<P>(_ titleKey: SwiftUI.LocalizedStringKey, value: P?) where Label == SwiftUI.Text, P : Swift.Hashable | |
@_disfavoredOverload public init<S, P>(_ title: S, value: P?) where Label == SwiftUI.Text, S : Swift.StringProtocol, P : Swift.Hashable | |
public init<P>(value: P?, @SwiftUI.ViewBuilder label: () -> Label) where P : Swift.Decodable, P : Swift.Encodable, P : Swift.Hashable | |
public init<P>(_ titleKey: SwiftUI.LocalizedStringKey, value: P?) where Label == SwiftUI.Text, P : Swift.Decodable, P : Swift.Encodable, P : Swift.Hashable | |
@_disfavoredOverload public init<S, P>(_ title: S, value: P?) where Label == SwiftUI.Text, S : Swift.StringProtocol, P : Swift.Decodable, P : Swift.Encodable, P : Swift.Hashable | |
} | |
extension SwiftUI.View { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func persistentSystemOverlays(_ visibility: SwiftUI.Visibility) -> some SwiftUI.View | |
} | |
extension SwiftUI.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) | |
public func navigationBarItems<L, T>(leading: L, trailing: T) -> some SwiftUI.View where L : SwiftUI.View, T : SwiftUI.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) | |
public func navigationBarItems<L>(leading: L) -> some SwiftUI.View where L : SwiftUI.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) | |
public func navigationBarItems<T>(trailing: T) -> some SwiftUI.View where T : SwiftUI.View | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct FileDocumentWriteConfiguration { | |
public let contentType: UniformTypeIdentifiers.UTType | |
public let existingFile: Foundation.FileWrapper? | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct FileDocumentReadConfiguration { | |
public let contentType: UniformTypeIdentifiers.UTType | |
public let file: Foundation.FileWrapper | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.View { | |
@inlinable public func overlayPreferenceValue<K, V>(_ key: K.Type, alignment: SwiftUI.Alignment = .center, @SwiftUI.ViewBuilder _ transform: @escaping (K.Value) -> V) -> some SwiftUI.View where K : SwiftUI.PreferenceKey, V : SwiftUI.View { | |
return modifier(_OverlayPreferenceModifier<K, V>( | |
alignment: alignment, transform: transform)) | |
} | |
@inlinable public func backgroundPreferenceValue<K, V>(_ key: K.Type, alignment: SwiftUI.Alignment = .center, @SwiftUI.ViewBuilder _ transform: @escaping (K.Value) -> V) -> some SwiftUI.View where K : SwiftUI.PreferenceKey, V : SwiftUI.View { | |
return modifier(_BackgroundPreferenceModifier<K, V>( | |
alignment: alignment, transform: transform)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@_alwaysEmitIntoClient @_disfavoredOverload public func overlayPreferenceValue<K, V>(_v0: Swift.Void = (), _ key: K.Type, alignment: SwiftUI.Alignment, @SwiftUI.ViewBuilder _ transform: @escaping (K.Value) -> V) -> some SwiftUI.View where K : SwiftUI.PreferenceKey, V : SwiftUI.View { | |
K._delay { self.overlay($0._force(transform), alignment: alignment) } | |
} | |
@_alwaysEmitIntoClient @_disfavoredOverload public func backgroundPreferenceValue<K, V>(_v0: Swift.Void = (), _ key: K.Type, alignment: SwiftUI.Alignment, @SwiftUI.ViewBuilder _ transform: @escaping (K.Value) -> V) -> some SwiftUI.View where K : SwiftUI.PreferenceKey, V : SwiftUI.View { | |
K._delay { self.background($0._force(transform), alignment: alignment) } | |
} | |
@inlinable @_disfavoredOverload public func overlayPreferenceValue<Key, T>(_ key: Key.Type = Key.self, @SwiftUI.ViewBuilder _ transform: @escaping (Key.Value) -> T) -> some SwiftUI.View where Key : SwiftUI.PreferenceKey, T : SwiftUI.View { | |
return Key._delay { self.overlay($0._force(transform)) } | |
} | |
@inlinable @_disfavoredOverload public func backgroundPreferenceValue<Key, T>(_ key: Key.Type = Key.self, @SwiftUI.ViewBuilder _ transform: @escaping (Key.Value) -> T) -> some SwiftUI.View where Key : SwiftUI.PreferenceKey, T : SwiftUI.View { | |
return Key._delay { self.background($0._force(transform)) } | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _OverlayPreferenceModifier<Key, Overlay> where Key : SwiftUI.PreferenceKey, Overlay : SwiftUI.View { | |
public var transform: (Key.Value) -> Overlay | |
public var alignment: SwiftUI.Alignment | |
@inlinable public init(alignment: SwiftUI.Alignment, @SwiftUI.ViewBuilder transform: @escaping (Key.Value) -> Overlay) { | |
self.transform = transform | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._OverlayPreferenceModifier<Key, Overlay>>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _BackgroundPreferenceModifier<Key, Overlay> where Key : SwiftUI.PreferenceKey, Overlay : SwiftUI.View { | |
public var transform: (Key.Value) -> Overlay | |
public var alignment: SwiftUI.Alignment | |
@inlinable public init(alignment: SwiftUI.Alignment, @SwiftUI.ViewBuilder transform: @escaping (Key.Value) -> Overlay) { | |
self.transform = transform | |
self.alignment = alignment | |
} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._BackgroundPreferenceModifier<Key, Overlay>>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public enum Visibility : Swift.Hashable, Swift.CaseIterable { | |
case automatic | |
case visible | |
case hidden | |
public static func == (a: SwiftUI.Visibility, b: SwiftUI.Visibility) -> Swift.Bool | |
public func hash(into hasher: inout Swift.Hasher) | |
public typealias AllCases = [SwiftUI.Visibility] | |
public static var allCases: [SwiftUI.Visibility] { | |
get | |
} | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@usableFromInline | |
internal struct IsDisabledPickerOptionTraitKey : SwiftUI._ViewTraitKey { | |
@inlinable internal static var defaultValue: Swift.Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ButtonGesture : SwiftUI.Gesture { | |
public var action: () -> Swift.Void | |
public var pressingAction: ((Swift.Bool) -> Swift.Void)? | |
public init(action: @escaping () -> Swift.Void, pressing: ((Swift.Bool) -> Swift.Void)? = nil) | |
public static func _makeGesture(gesture: SwiftUI._GraphValue<SwiftUI._ButtonGesture>, inputs: SwiftUI._GestureInputs) -> SwiftUI._GestureOutputs<Swift.Void> | |
public typealias Body = Swift.Never | |
public typealias Value = Swift.Void | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
public func _onButtonGesture(pressing: ((Swift.Bool) -> Swift.Void)? = nil, perform action: @escaping () -> Swift.Void) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol DatePickerStyle { | |
associatedtype Body : SwiftUI.View | |
@SwiftUI.ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
typealias Configuration = SwiftUI.DatePickerStyleConfiguration | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct DatePickerStyleConfiguration { | |
public struct Label : SwiftUI.View { | |
public typealias Body = Swift.Never | |
} | |
public let label: SwiftUI.DatePickerStyleConfiguration.Label | |
@SwiftUI.Binding @_projectedValueProperty($selection) public var selection: Foundation.Date { | |
get | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonmutating set | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
nonmutating _modify | |
} | |
public var $selection: SwiftUI.Binding<Foundation.Date> { | |
get | |
} | |
public var minimumDate: Foundation.Date? | |
public var maximumDate: Foundation.Date? | |
public var displayedComponents: SwiftUI.DatePickerComponents | |
} | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.View { | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func datePickerStyle<S>(_ style: S) -> some SwiftUI.View where S : SwiftUI.DatePickerStyle | |
} | |
@available(tvOS 16.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.View { | |
public func onLongTouchGesture(minimumDuration: Swift.Double = 0.5, perform action: @escaping () -> Swift.Void, onTouchingChanged: ((Swift.Bool) -> Swift.Void)? = nil) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public enum __App { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.__App { | |
public static func run<V>(_ rootView: V) -> Swift.Never where V : SwiftUI.View | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.WindowGroup { | |
public init<D, C>(id: Swift.String, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<D, C>(_ title: SwiftUI.Text, id: Swift.String, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(_ titleKey: SwiftUI.LocalizedStringKey, id: Swift.String, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, id: Swift.String, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, S : Swift.StringProtocol, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<D, C>(_ title: SwiftUI.Text, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(_ titleKey: SwiftUI.LocalizedStringKey, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, for type: D.Type, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D?>) -> C) where Content == SwiftUI.PresentedWindowContent<D, C>, S : Swift.StringProtocol, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(id: Swift.String, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<D, C>(_ title: SwiftUI.Text, id: Swift.String, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(_ titleKey: SwiftUI.LocalizedStringKey, id: Swift.String, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, id: Swift.String, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, S : Swift.StringProtocol, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<D, C>(_ title: SwiftUI.Text, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
public init<D, C>(_ titleKey: SwiftUI.LocalizedStringKey, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
@_disfavoredOverload public init<S, D, C>(_ title: S, for type: D.Type = D.self, @SwiftUI.ViewBuilder content: @escaping (SwiftUI.Binding<D>) -> C, defaultValue: @escaping () -> D) where Content == SwiftUI.PresentedWindowContent<D, C>, S : Swift.StringProtocol, D : Swift.Decodable, D : Swift.Encodable, D : Swift.Hashable, C : SwiftUI.View | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct PresentedWindowContent<Data, Content> : SwiftUI.View where Data : Swift.Decodable, Data : Swift.Encodable, Data : Swift.Hashable, Content : SwiftUI.View { | |
public static func _makeViewList(view: SwiftUI._GraphValue<SwiftUI.PresentedWindowContent<Data, Content>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _TestApp { | |
public init() | |
public func run() -> Swift.Never | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct WindowMenuBarExtraStyle : SwiftUI.MenuBarExtraStyle { | |
public typealias _Body = Swift.Never | |
public init() | |
public func _makeMenuBarExtra(_ value: SwiftUI._MenuBarExtraValue<SwiftUI.WindowMenuBarExtraStyle>) -> SwiftUI._MenuBarExtraValue<SwiftUI.WindowMenuBarExtraStyle> | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.MenuBarExtraStyle where Self == SwiftUI.WindowMenuBarExtraStyle { | |
public static var window: SwiftUI.WindowMenuBarExtraStyle { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
public func sheet<Item, Content>(item: SwiftUI.Binding<Item?>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUI.ViewBuilder content: @escaping (Item) -> Content) -> some SwiftUI.View where Item : Swift.Identifiable, Content : SwiftUI.View | |
public func sheet<Content>(isPresented: SwiftUI.Binding<Swift.Bool>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUI.ViewBuilder content: @escaping () -> Content) -> some SwiftUI.View where Content : SwiftUI.View | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *) | |
@available(macOS, unavailable) | |
extension SwiftUI.View { | |
public func fullScreenCover<Item, Content>(item: SwiftUI.Binding<Item?>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUI.ViewBuilder content: @escaping (Item) -> Content) -> some SwiftUI.View where Item : Swift.Identifiable, Content : SwiftUI.View | |
@available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)") | |
public func _cover<Item, Content>(item: SwiftUI.Binding<Item?>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUI.ViewBuilder content: @escaping (Item) -> Content) -> some SwiftUI.View where Item : Swift.Identifiable, Content : SwiftUI.View | |
public func fullScreenCover<Content>(isPresented: SwiftUI.Binding<Swift.Bool>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUI.ViewBuilder content: @escaping () -> Content) -> some SwiftUI.View where Content : SwiftUI.View | |
@available(*, deprecated, renamed: "fullScreenCover(isPresented:onDismiss:content:)") | |
public func _cover<Content>(isPresented: SwiftUI.Binding<Swift.Bool>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUI.ViewBuilder content: @escaping () -> Content) -> some SwiftUI.View where Content : SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func _trait<K>(_ key: K.Type, _ value: K.Value) -> some SwiftUI.View where K : SwiftUI._ViewTraitKey { | |
return modifier(_TraitWritingModifier<K>(value: value)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _ViewTraitKey { | |
associatedtype Value | |
static var defaultValue: Self.Value { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _TraitWritingModifier<Trait> where Trait : SwiftUI._ViewTraitKey { | |
public let value: Trait.Value | |
@inlinable public init(value: Trait.Value) { | |
self.value = value | |
} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._TraitWritingModifier<Trait>>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI._TraitWritingModifier<Trait>>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
public struct LongPressGesture : SwiftUI.Gesture { | |
public var minimumDuration: Swift.Double | |
@available(tvOS, unavailable) | |
public var maximumDistance: CoreFoundation.CGFloat { | |
get | |
set | |
} | |
@available(tvOS, unavailable) | |
public init(minimumDuration: Swift.Double = 0.5, maximumDistance: CoreFoundation.CGFloat = 10) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
public init(minimumDuration: Swift.Double = 0.5) | |
public static func _makeGesture(gesture: SwiftUI._GraphValue<SwiftUI.LongPressGesture>, inputs: SwiftUI._GestureInputs) -> SwiftUI._GestureOutputs<Swift.Bool> | |
public typealias Body = Swift.Never | |
public typealias Value = Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
extension SwiftUI.View { | |
@available(tvOS, unavailable) | |
@_alwaysEmitIntoClient public func onLongPressGesture(minimumDuration: Swift.Double = 0.5, maximumDistance: CoreFoundation.CGFloat = 10, perform action: @escaping () -> Swift.Void, onPressingChanged: ((Swift.Bool) -> Swift.Void)? = nil) -> some SwiftUI.View { | |
onLongPressGesture( | |
minimumDuration: minimumDuration, | |
maximumDistance: maximumDistance, | |
pressing: onPressingChanged, | |
perform: action) | |
} | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@_alwaysEmitIntoClient public func onLongPressGesture(minimumDuration: Swift.Double = 0.5, perform action: @escaping () -> Swift.Void, onPressingChanged: ((Swift.Bool) -> Swift.Void)? = nil) -> some SwiftUI.View { | |
onLongPressGesture( | |
minimumDuration: minimumDuration, | |
pressing: onPressingChanged, | |
perform: action) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 14.0, *) | |
extension SwiftUI.View { | |
@available(iOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@available(macOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@available(tvOS, unavailable) | |
@available(watchOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)") | |
@_disfavoredOverload public func onLongPressGesture(minimumDuration: Swift.Double = 0.5, maximumDistance: CoreFoundation.CGFloat = 10, pressing: ((Swift.Bool) -> Swift.Void)? = nil, perform action: @escaping () -> Swift.Void) -> some SwiftUI.View | |
@available(iOS, unavailable) | |
@available(tvOS, deprecated: 100000.0, renamed: "onLongPressGesture(minimumDuration:perform:onPressingChanged:)") | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func onLongPressGesture(minimumDuration: Swift.Double = 0.5, pressing: ((Swift.Bool) -> Swift.Void)? = nil, perform action: @escaping () -> Swift.Void) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _BenchmarkHost : AnyObject { | |
func _renderForTest(interval: Swift.Double) | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
func _renderAsyncForTest(interval: Swift.Double) -> Swift.Bool | |
func _performScrollTest(startOffset: CoreFoundation.CGFloat, iterations: Swift.Int, delta: CoreFoundation.CGFloat, length: CoreFoundation.CGFloat, completion: (() -> Swift.Void)?) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol _Benchmark : SwiftUI._Test { | |
func measure(host: SwiftUI._BenchmarkHost) -> [Swift.Double] | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._BenchmarkHost { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _renderAsyncForTest(interval: Swift.Double) -> Swift.Bool | |
public func _performScrollTest(startOffset: CoreFoundation.CGFloat, iterations: Swift.Int, delta: CoreFoundation.CGFloat, length: CoreFoundation.CGFloat, completion: (() -> Swift.Void)?) | |
public func measureAction(action: () -> Swift.Void) -> Swift.Double | |
public func measureRender(interval: Swift.Double = 1.0 / 60.0) -> Swift.Double | |
public func measureRenders(seconds: Swift.Double) -> [Swift.Double] | |
public func measureRenders(duration: Swift.Double) -> [Swift.Double] | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._TestApp { | |
public func runBenchmarks(_ benchmarks: [SwiftUI._Benchmark]) -> Swift.Never | |
} | |
extension SwiftUI._TestApp { | |
@available(iOS 14.0, macOS 12.0, tvOS 14.0, watchOS 7.0, *) | |
public func runPerformanceTests(_ tests: [SwiftUI._PerformanceTest]) -> Swift.Never | |
} | |
extension SwiftUI.View { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _onEnvironmentChange<Value>(_ keyPath: Swift.KeyPath<SwiftUI.EnvironmentValues, Value>, perform action: @escaping (Value) -> Swift.Void) -> some SwiftUI.View where Value : Swift.Equatable | |
} | |
extension SwiftUI.View { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public func autocorrectionDisabled(_ disable: Swift.Bool = true) -> some SwiftUI.View { | |
return disableAutocorrection(disable) | |
} | |
} | |
extension SwiftUI.EnvironmentValues { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 8.0, *) | |
@_alwaysEmitIntoClient public var autocorrectionDisabled: Swift.Bool { | |
get { | |
disableAutocorrection ?? false | |
} | |
} | |
} | |
extension SwiftUI.View { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "autocorrectionDisabled(_:)") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "autocorrectionDisabled(_:)") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "autocorrectionDisabled(_:)") | |
@available(watchOS, introduced: 8.0, deprecated: 100000.0, renamed: "autocorrectionDisabled(_:)") | |
public func disableAutocorrection(_ disable: Swift.Bool?) -> some SwiftUI.View | |
} | |
extension SwiftUI.EnvironmentValues { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "autocorrectionDisabled") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "autocorrectionDisabled") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "autocorrectionDisabled") | |
@available(watchOS, introduced: 8.0, deprecated: 100000.0, renamed: "autocorrectionDisabled") | |
public var disableAutocorrection: Swift.Bool? { | |
get | |
set | |
} | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
public protocol IndexViewStyle { | |
associatedtype _Body : SwiftUI.View | |
@SwiftUI.ViewBuilder func _makeBody(configuration: Self._Configuration) -> Self._Body | |
typealias _Configuration = SwiftUI._IndexViewStyleConfiguration | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
extension SwiftUI.View { | |
public func indexViewStyle<S>(_ style: S) -> some SwiftUI.View where S : SwiftUI.IndexViewStyle | |
} | |
@available(iOS 14.0, tvOS 14.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
public struct _IndexViewStyleConfiguration { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@propertyWrapper public struct ScaledMetric<Value> : SwiftUI.DynamicProperty where Value : Swift.BinaryFloatingPoint { | |
public init(wrappedValue: Value, relativeTo textStyle: SwiftUI.Font.TextStyle) | |
public init(wrappedValue: Value) | |
public var wrappedValue: Value { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@available(*, deprecated, message: "Use @ScaledMetric") | |
@propertyWrapper public struct _ScaledValue : SwiftUI.DynamicProperty { | |
public init(wrappedValue: CoreFoundation.CGFloat, textStyle: SwiftUI.Font.TextStyle = .body) | |
public var wrappedValue: CoreFoundation.CGFloat { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _SceneInputs { | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct AutomaticMenuBarExtraStyle : SwiftUI.MenuBarExtraStyle { | |
public typealias _Body = Swift.Never | |
public init() | |
public func _makeMenuBarExtra(_ value: SwiftUI._MenuBarExtraValue<SwiftUI.AutomaticMenuBarExtraStyle>) -> SwiftUI._MenuBarExtraValue<SwiftUI.AutomaticMenuBarExtraStyle> | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.MenuBarExtraStyle where Self == SwiftUI.AutomaticMenuBarExtraStyle { | |
public static var automatic: SwiftUI.AutomaticMenuBarExtraStyle { | |
get | |
} | |
} | |
@available(iOS, unavailable) | |
@available(macOS, deprecated, message: "Use MenuButton instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public typealias PullDownButton = SwiftUI._PullDownButton | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _PullDownButton<Label, Content> where Label : SwiftUI.View, Content : SwiftUI.View { | |
public init(label: Label, @SwiftUI.ViewBuilder content: () -> Content) | |
public typealias Body = Swift.Never | |
} | |
@available(iOS, unavailable) | |
@available(macOS, deprecated, message: "Use MenuButton instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI._PullDownButton where Label == SwiftUI.Text { | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public init(_ titleKey: SwiftUI.LocalizedStringKey, @SwiftUI.ViewBuilder content: () -> Content) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public init<S>(_ title: S, @SwiftUI.ViewBuilder content: () -> Content) where S : Swift.StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
public func privacySensitive(_ sensitive: Swift.Bool = true) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EdgeInsets : Swift.Equatable { | |
public var top: CoreFoundation.CGFloat | |
public var leading: CoreFoundation.CGFloat | |
public var bottom: CoreFoundation.CGFloat | |
public var trailing: CoreFoundation.CGFloat | |
@inlinable public init(top: CoreFoundation.CGFloat, leading: CoreFoundation.CGFloat, bottom: CoreFoundation.CGFloat, trailing: CoreFoundation.CGFloat) { | |
self.top = top | |
self.leading = leading | |
self.bottom = bottom | |
self.trailing = trailing | |
} | |
@inlinable public init() { | |
self.init(top: 0, leading: 0, bottom: 0, trailing: 0) | |
} | |
public static func == (a: SwiftUI.EdgeInsets, b: SwiftUI.EdgeInsets) -> Swift.Bool | |
} | |
extension SwiftUI.EdgeInsets { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal init(_all: CoreFoundation.CGFloat) | |
} | |
extension SwiftUI.EdgeInsets { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, *) | |
@available(watchOS, unavailable) | |
public init(_ nsEdgeInsets: UIKit.NSDirectionalEdgeInsets) | |
} | |
extension UIKit.NSDirectionalEdgeInsets { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, *) | |
@available(watchOS, unavailable) | |
public init(_ edgeInsets: SwiftUI.EdgeInsets) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.EdgeInsets : SwiftUI.Animatable, SwiftUI._VectorMath { | |
public typealias AnimatableData = SwiftUI.AnimatablePair<CoreFoundation.CGFloat, SwiftUI.AnimatablePair<CoreFoundation.CGFloat, SwiftUI.AnimatablePair<CoreFoundation.CGFloat, CoreFoundation.CGFloat>>> | |
public var animatableData: SwiftUI.EdgeInsets.AnimatableData { | |
@inlinable get { | |
return .init(top, .init(leading, .init(bottom, trailing))) | |
} | |
@inlinable set { | |
let top = newValue[].0 | |
let leading = newValue[].1[].0 | |
let (bottom, trailing) = newValue[].1[].1[] | |
self = .init( | |
top: top, leading: leading, bottom: bottom, trailing: trailing) | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol GeometryEffect : SwiftUI.Animatable, SwiftUI.ViewModifier where Self.Body == Swift.Never { | |
func effectValue(size: CoreFoundation.CGSize) -> SwiftUI.ProjectionTransform | |
static var _affectsLayout: Swift.Bool { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.GeometryEffect { | |
public static var _affectsLayout: Swift.Bool { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.GeometryEffect { | |
public static func _makeView(modifier: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct ItemProviderTraitKey : SwiftUI._ViewTraitKey { | |
@usableFromInline | |
internal typealias Value = Swift.Optional<() -> Foundation.NSItemProvider?> | |
@inlinable internal static var defaultValue: SwiftUI.ItemProviderTraitKey.Value { | |
get { nil } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func itemProvider(_ action: Swift.Optional<() -> Foundation.NSItemProvider?>) -> some SwiftUI.View { | |
return _trait(ItemProviderTraitKey.self, action) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct Toggle<Label> : SwiftUI.View where Label : SwiftUI.View { | |
public init(isOn: SwiftUI.Binding<Swift.Bool>, @SwiftUI.ViewBuilder label: () -> Label) | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init<C>(isOn: C, @SwiftUI.ViewBuilder label: () -> Label) where C : Swift.RandomAccessCollection, C.Element == SwiftUI.Binding<Swift.Bool> | |
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI6ToggleV4bodyQrvp", 0) __<Label> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Toggle where Label == SwiftUI.ToggleStyleConfiguration.Label { | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public init(_ configuration: SwiftUI.ToggleStyleConfiguration) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Toggle where Label == SwiftUI.Text { | |
public init(_ titleKey: SwiftUI.LocalizedStringKey, isOn: SwiftUI.Binding<Swift.Bool>) | |
@_disfavoredOverload public init<S>(_ title: S, isOn: SwiftUI.Binding<Swift.Bool>) where S : Swift.StringProtocol | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public init<C>(_ titleKey: SwiftUI.LocalizedStringKey, isOn: C) where C : Swift.RandomAccessCollection, C.Element == SwiftUI.Binding<Swift.Bool> | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@_disfavoredOverload public init<S, C>(_ title: S, isOn: C) where S : Swift.StringProtocol, C : Swift.RandomAccessCollection, C.Element == SwiftUI.Binding<Swift.Bool> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.View { | |
public func presentationDetents(_ detents: Swift.Set<SwiftUI.PresentationDetent>) -> some SwiftUI.View | |
public func presentationDetents(_ detents: Swift.Set<SwiftUI.PresentationDetent>, selection: SwiftUI.Binding<SwiftUI.PresentationDetent>) -> some SwiftUI.View | |
public func presentationDragIndicator(_ visibility: SwiftUI.Visibility) -> some SwiftUI.View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct PresentationDetent : Swift.Hashable { | |
public static let medium: SwiftUI.PresentationDetent | |
public static let large: SwiftUI.PresentationDetent | |
public static func fraction(_ fraction: CoreFoundation.CGFloat) -> SwiftUI.PresentationDetent | |
public static func height(_ height: CoreFoundation.CGFloat) -> SwiftUI.PresentationDetent | |
public static func custom<D>(_ type: D.Type) -> SwiftUI.PresentationDetent where D : SwiftUI.CustomPresentationDetent | |
@dynamicMemberLookup public struct Context { | |
public var maxDetentValue: CoreFoundation.CGFloat { | |
get | |
} | |
public subscript<T>(dynamicMember keyPath: Swift.KeyPath<SwiftUI.EnvironmentValues, T>) -> T { | |
get | |
} | |
} | |
public func hash(into hasher: inout Swift.Hasher) | |
public static func == (a: SwiftUI.PresentationDetent, b: SwiftUI.PresentationDetent) -> Swift.Bool | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public protocol CustomPresentationDetent { | |
static func height(in context: Self.Context) -> CoreFoundation.CGFloat? | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.CustomPresentationDetent { | |
public typealias Context = SwiftUI.PresentationDetent.Context | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _Velocity<Value> : Swift.Equatable where Value : Swift.Equatable { | |
public var valuePerSecond: Value | |
@inlinable public init(valuePerSecond: Value) { | |
self.valuePerSecond = valuePerSecond | |
} | |
public static func == (a: SwiftUI._Velocity<Value>, b: SwiftUI._Velocity<Value>) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._Velocity : Swift.Comparable where Value : Swift.Comparable { | |
public static func < (lhs: SwiftUI._Velocity<Value>, rhs: SwiftUI._Velocity<Value>) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._Velocity : SwiftUI.Animatable where Value : SwiftUI.Animatable { | |
public typealias AnimatableData = Value.AnimatableData | |
public var animatableData: SwiftUI._Velocity<Value>.AnimatableData { | |
@inlinable get { return valuePerSecond.animatableData } | |
@inlinable set { valuePerSecond.animatableData = newValue } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._Velocity : Swift.AdditiveArithmetic where Value : Swift.AdditiveArithmetic { | |
@inlinable public init() { | |
self.init(valuePerSecond: .zero) | |
} | |
@inlinable public static var zero: SwiftUI._Velocity<Value> { | |
get { | |
return .init(valuePerSecond: .zero) | |
} | |
} | |
@inlinable public static func += (lhs: inout SwiftUI._Velocity<Value>, rhs: SwiftUI._Velocity<Value>) { | |
lhs.valuePerSecond += rhs.valuePerSecond | |
} | |
@inlinable public static func -= (lhs: inout SwiftUI._Velocity<Value>, rhs: SwiftUI._Velocity<Value>) { | |
lhs.valuePerSecond -= rhs.valuePerSecond | |
} | |
@inlinable public static func + (lhs: SwiftUI._Velocity<Value>, rhs: SwiftUI._Velocity<Value>) -> SwiftUI._Velocity<Value> { | |
var r = lhs; r += rhs; return r | |
} | |
@inlinable public static func - (lhs: SwiftUI._Velocity<Value>, rhs: SwiftUI._Velocity<Value>) -> SwiftUI._Velocity<Value> { | |
var r = lhs; r -= rhs; return r | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._Velocity : SwiftUI.VectorArithmetic where Value : SwiftUI.VectorArithmetic { | |
@inlinable public mutating func scale(by rhs: Swift.Double) { | |
valuePerSecond.scale(by: rhs) | |
} | |
@inlinable public var magnitudeSquared: Swift.Double { | |
get { | |
return valuePerSecond.magnitudeSquared | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct OnDeleteTraitKey : SwiftUI._ViewTraitKey { | |
@inlinable internal static var defaultValue: Swift.Optional<(Foundation.IndexSet) -> Swift.Void> { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Swift.Optional<(Foundation.IndexSet) -> Swift.Void> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.DynamicViewContent { | |
@inlinable public func onDelete(perform action: Swift.Optional<(Foundation.IndexSet) -> Swift.Void>) -> some SwiftUI.DynamicViewContent { | |
return modifier(_TraitWritingModifier<OnDeleteTraitKey>(value: action)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsDeleteDisabledTraitKey : SwiftUI._ViewTraitKey { | |
@inlinable internal static var defaultValue: Swift.Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func deleteDisabled(_ isDisabled: Swift.Bool) -> some SwiftUI.View { | |
return _trait(IsDeleteDisabledTraitKey.self, isDisabled) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct SymbolVariants : Swift.Hashable { | |
public static let none: SwiftUI.SymbolVariants | |
public static let circle: SwiftUI.SymbolVariants | |
public static let square: SwiftUI.SymbolVariants | |
public static let rectangle: SwiftUI.SymbolVariants | |
public var circle: SwiftUI.SymbolVariants { | |
get | |
} | |
public var square: SwiftUI.SymbolVariants { | |
get | |
} | |
public var rectangle: SwiftUI.SymbolVariants { | |
get | |
} | |
public static let fill: SwiftUI.SymbolVariants | |
public var fill: SwiftUI.SymbolVariants { | |
get | |
} | |
public static let slash: SwiftUI.SymbolVariants | |
public var slash: SwiftUI.SymbolVariants { | |
get | |
} | |
public func contains(_ other: SwiftUI.SymbolVariants) -> Swift.Bool | |
public func hash(into hasher: inout Swift.Hasher) | |
public static func == (a: SwiftUI.SymbolVariants, b: SwiftUI.SymbolVariants) -> Swift.Bool | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
public func symbolVariant(_ variant: SwiftUI.SymbolVariants) -> some SwiftUI.View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.EnvironmentValues { | |
public var symbolVariants: SwiftUI.SymbolVariants { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Color : Swift.Hashable, Swift.CustomStringConvertible { | |
internal var provider: SwiftUI.AnyColorBox | |
@available(iOS 14.0, macOS 11, tvOS 14.0, watchOS 7.0, *) | |
public var cgColor: CoreGraphics.CGColor? { | |
get | |
} | |
public func hash(into hasher: inout Swift.Hasher) | |
public static func == (lhs: SwiftUI.Color, rhs: SwiftUI.Color) -> Swift.Bool | |
public var description: Swift.String { | |
get | |
} | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.Color { | |
public func _apply(to shape: inout SwiftUI._ShapeStyle_Shape) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Color : SwiftUI.View { | |
public typealias Body = Swift.Never | |
} | |
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyColorBox : SwiftUI.AnyShapeStyleBox { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Animation { | |
public static func spring(response: Swift.Double = 0.55, dampingFraction: Swift.Double = 0.825, blendDuration: Swift.Double = 0) -> SwiftUI.Animation | |
public static func interactiveSpring(response: Swift.Double = 0.15, dampingFraction: Swift.Double = 0.86, blendDuration: Swift.Double = 0.25) -> SwiftUI.Animation | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI._ConditionalContent : SwiftUI.ToolbarContent where TrueContent : SwiftUI.ToolbarContent, FalseContent : SwiftUI.ToolbarContent { | |
public static func _makeContent(content: SwiftUI._GraphValue<SwiftUI._ConditionalContent<TrueContent, FalseContent>>, inputs: SwiftUI._GraphInputs, resolved: inout SwiftUI._ToolbarItemList) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI._ConditionalContent : SwiftUI.CustomizableToolbarContent where TrueContent : SwiftUI.CustomizableToolbarContent, FalseContent : SwiftUI.CustomizableToolbarContent { | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Swift.Optional : SwiftUI.ToolbarContent where Wrapped : SwiftUI.ToolbarContent { | |
public static func _makeContent(content: SwiftUI._GraphValue<Swift.Optional<Wrapped>>, inputs: SwiftUI._GraphInputs, resolved: inout SwiftUI._ToolbarItemList) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension Swift.Optional : SwiftUI.CustomizableToolbarContent where Wrapped : SwiftUI.CustomizableToolbarContent { | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `MenuStyle` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol MenuButtonStyle { | |
associatedtype _Body : SwiftUI.View | |
@SwiftUI.ViewBuilder func _body(configuration: Self._Configuration) -> Self._Body | |
typealias _Configuration = SwiftUI._MenuButtonStyleConfiguration | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `MenuStyle.Configuration` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _MenuButtonStyleConfiguration { | |
public struct Label : SwiftUI.View { | |
public typealias Body = Swift.Never | |
} | |
public struct Content : SwiftUI.View { | |
public typealias Body = Swift.Never | |
} | |
public var label: SwiftUI._MenuButtonStyleConfiguration.Label | |
public var content: SwiftUI._MenuButtonStyleConfiguration.Content | |
public init() | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `menuStyle(_:)` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.View { | |
public func menuButtonStyle<S>(_ style: S) -> some SwiftUI.View where S : SwiftUI.MenuButtonStyle | |
} | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(macOS, introduced: 11.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use Color(cgColor:) when converting a CGColor, or create a standard Color directly") | |
extension SwiftUI.Color { | |
public init(_ cgColor: CoreGraphics.CGColor) | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.Color { | |
public init(cgColor: CoreGraphics.CGColor) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.View { | |
public func navigationDestination<D, C>(for data: D.Type, @SwiftUI.ViewBuilder destination: @escaping (D) -> C) -> some SwiftUI.View where D : Swift.Hashable, C : SwiftUI.View | |
} | |
extension SwiftUI.Image : CoreTransferable.Transferable { | |
public static var transferRepresentation: some CoreTransferable.TransferRepresentation { | |
get | |
} | |
public typealias Representation = @_opaqueReturnTypeOf("$s7SwiftUI5ImageV22transferRepresentationQrvpZ", 0) __ | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Image { | |
public static var _mainNamedBundle: Foundation.Bundle? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Image { | |
public init(_ name: Swift.String, bundle: Foundation.Bundle? = nil) | |
public init(_ name: Swift.String, bundle: Foundation.Bundle? = nil, label: SwiftUI.Text) | |
public init(decorative name: Swift.String, bundle: Foundation.Bundle? = nil) | |
@available(macOS 11.0, *) | |
public init(systemName: Swift.String) | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public init(_internalSystemName systemName: Swift.String) | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.Image { | |
public init(systemName: Swift.String, variableValue: Swift.Double?) | |
public init(_internalSystemName systemName: Swift.String, variableValue: Swift.Double?) | |
public init(_ name: Swift.String, variableValue: Swift.Double?, bundle: Foundation.Bundle? = nil) | |
public init(_ name: Swift.String, variableValue: Swift.Double?, bundle: Foundation.Bundle? = nil, label: SwiftUI.Text) | |
public init(decorative name: Swift.String, variableValue: Swift.Double?, bundle: Foundation.Bundle? = nil) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Image { | |
@available(*, deprecated, message: "Use .renderingMode(.original)") | |
public init(_systemName systemName: Swift.String, colorPalette: [SwiftUI.Color]? = nil) | |
@available(*, deprecated, message: "Use .renderingMode(.original)") | |
public init(_internalSystemName systemName: Swift.String, colorPalette: [SwiftUI.Color]? = nil) | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen @propertyWrapper public struct Namespace : SwiftUI.DynamicProperty { | |
@usableFromInline | |
internal var id: Swift.Int | |
@inlinable public init() { id = 0 } | |
public static func _makeProperty<V>(in buffer: inout SwiftUI._DynamicPropertyBuffer, container: SwiftUI._GraphValue<V>, fieldOffset: Swift.Int, inputs: inout SwiftUI._GraphInputs) | |
public var wrappedValue: SwiftUI.Namespace.ID { | |
get | |
} | |
@frozen public struct ID : Swift.Hashable { | |
fileprivate var id: Swift.Int | |
public func hash(into hasher: inout Swift.Hasher) | |
public static func == (a: SwiftUI.Namespace.ID, b: SwiftUI.Namespace.ID) -> Swift.Bool | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.ForEach : SwiftUI.TableRowContent where Content : SwiftUI.TableRowContent { | |
public typealias TableRowValue = Content.TableRowValue | |
public typealias TableRowBody = Swift.Never | |
public static func _makeRows(content: SwiftUI._GraphValue<SwiftUI.ForEach<Data, ID, Content>>, inputs: SwiftUI._TableRowInputs) -> SwiftUI._TableRowOutputs | |
@_alwaysEmitIntoClient public init<V>(_ data: Data, @SwiftUI.TableRowBuilder<V> content: @escaping (Data.Element) -> Content) where ID == Data.Element.ID, V == Content.TableRowValue, Data.Element : Swift.Identifiable { | |
self.init( | |
data, id: \Data.Element.id, content: content) | |
} | |
public init<V>(_ data: Data, id: Swift.KeyPath<Data.Element, ID>, @SwiftUI.TableRowBuilder<V> content: @escaping (Data.Element) -> Content) where V == Content.TableRowValue | |
public init<V>(_ data: Swift.Range<Swift.Int>, @SwiftUI.TableRowBuilder<V> content: @escaping (Swift.Int) -> Content) where Data == Swift.Range<Swift.Int>, ID == Swift.Int, V == Content.TableRowValue | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.ForEach where Content : SwiftUI.TableRowContent { | |
@available(*, unavailable, message: "This symbol only exists for ABI compatibility and should never be used directly.") | |
@usableFromInline | |
internal init(_ data: Data, @SwiftUI.TableRowBuilder<Data.Element> content: @escaping (Data.Element) -> Content) where ID == Data.Element.ID, Data.Element == Content.TableRowValue | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public protocol DynamicTableRowContent : SwiftUI.TableRowContent { | |
associatedtype Data : Swift.Collection | |
var data: Self.Data { get } | |
} | |
@available(iOS 16.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.ForEach : SwiftUI.DynamicTableRowContent where Content : SwiftUI.TableRowContent { | |
} | |
@available(iOS 14.0, macOS 11.0, watchOS 9.0, *) | |
@available(tvOS, unavailable) | |
public struct _WidgetInputs { | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
extension SwiftUI.BackgroundTask { | |
public static var snapshot: SwiftUI.BackgroundTask<SwiftUI.SnapshotData, SwiftUI.SnapshotResponse> { | |
get | |
} | |
public static var intentDidRun: SwiftUI.BackgroundTask<Swift.Void, Swift.Void> { | |
get | |
} | |
public static var relevantShortcut: SwiftUI.BackgroundTask<Swift.Void, Swift.Void> { | |
get | |
} | |
public static var watchConnectivity: SwiftUI.BackgroundTask<Swift.Void, Swift.Void> { | |
get | |
} | |
public static var bluetoothAlert: SwiftUI.BackgroundTask<Swift.Void, Swift.Void> { | |
get | |
} | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct SnapshotResponse : Swift.Sendable { | |
public init(restoredDefaultState: Swift.Bool = false, estimatedSnapshotExpiration: Foundation.Date? = nil, identifier: Swift.String? = nil) | |
} | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public struct SnapshotData : Swift.Sendable { | |
public let reason: SwiftUI.SnapshotData.SnapshotReason | |
public let identifier: Swift.String? | |
@available(watchOS 9.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public enum SnapshotReason : Swift.Sendable { | |
case appScheduled | |
case returnToDefaultState | |
case complicationUpdate | |
case prelaunch | |
case appBackgrounded | |
public static func == (a: SwiftUI.SnapshotData.SnapshotReason, b: SwiftUI.SnapshotData.SnapshotReason) -> Swift.Bool | |
public func hash(into hasher: inout Swift.Hasher) | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Text : Swift.Equatable { | |
@usableFromInline | |
@frozen internal enum Storage : Swift.Equatable { | |
case verbatim(Swift.String) | |
case anyTextStorage(SwiftUI.AnyTextStorage) | |
@usableFromInline | |
internal static func == (lhs: SwiftUI.Text.Storage, rhs: SwiftUI.Text.Storage) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
@frozen internal enum Modifier : Swift.Equatable { | |
case color(SwiftUI.Color?) | |
case font(SwiftUI.Font?) | |
case italic | |
case weight(SwiftUI.Font.Weight?) | |
case kerning(CoreFoundation.CGFloat) | |
case tracking(CoreFoundation.CGFloat) | |
case baseline(CoreFoundation.CGFloat) | |
case rounded | |
case anyTextModifier(SwiftUI.AnyTextModifier) | |
@usableFromInline | |
internal static func == (lhs: SwiftUI.Text.Modifier, rhs: SwiftUI.Text.Modifier) -> Swift.Bool | |
} | |
@usableFromInline | |
internal var storage: SwiftUI.Text.Storage | |
@usableFromInline | |
internal var modifiers: [SwiftUI.Text.Modifier] = [Modifier]() | |
@inlinable public init(verbatim content: Swift.String) { | |
storage = .verbatim(content) | |
} | |
@_disfavoredOverload public init<S>(_ content: S) where S : Swift.StringProtocol | |
public static func == (a: SwiftUI.Text, b: SwiftUI.Text) -> Swift.Bool | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyTextStorage { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.AnyTextStorage : Swift.CustomDebugStringConvertible { | |
@usableFromInline | |
internal var debugDescription: Swift.String { | |
get | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyTextModifier { | |
@objc @usableFromInline | |
deinit | |
} | |
extension SwiftUI.Text { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _resolveText(in environment: SwiftUI.EnvironmentValues) -> Swift.String | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public enum _LocalizationInfo : Swift.Equatable { | |
case none | |
case verbatim(Swift.String) | |
case localized(key: Swift.String, tableName: Swift.String? = nil, bundle: Foundation.Bundle? = nil, hasFormatting: Swift.Bool = false) | |
public static func == (a: SwiftUI._LocalizationInfo, b: SwiftUI._LocalizationInfo) -> Swift.Bool | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.Text { | |
public var _localizationInfo: SwiftUI._LocalizationInfo { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct OnMoveTraitKey : SwiftUI._ViewTraitKey { | |
@inlinable internal static var defaultValue: Swift.Optional<(Foundation.IndexSet, Swift.Int) -> Swift.Void> { | |
get { nil } | |
} | |
@usableFromInline | |
internal typealias Value = Swift.Optional<(Foundation.IndexSet, Swift.Int) -> Swift.Void> | |
} | |
@available(iOS 15.0, *) | |
@available(macOS, unavailable) | |
@available(watchOS, unavailable) | |
@available(tvOS, unavailable) | |
@usableFromInline | |
internal struct OnMoveClipBackgroundTraitKey : SwiftUI._ViewTraitKey { | |
@inlinable internal static var defaultValue: Swift.Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.DynamicViewContent { | |
@inlinable public func onMove(perform action: Swift.Optional<(Foundation.IndexSet, Swift.Int) -> Swift.Void>) -> some SwiftUI.DynamicViewContent { | |
modifier(_TraitWritingModifier<OnMoveTraitKey>(value: action)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal struct IsMoveDisabledTraitKey : SwiftUI._ViewTraitKey { | |
@inlinable internal static var defaultValue: Swift.Bool { | |
get { false } | |
} | |
@usableFromInline | |
internal typealias Value = Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func moveDisabled(_ isDisabled: Swift.Bool) -> some SwiftUI.View { | |
return _trait(IsMoveDisabledTraitKey.self, isDisabled) | |
} | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct OpenDocumentAction { | |
#if compiler(>=5.3) && $AsyncAwait | |
public func callAsFunction(at url: Foundation.URL) async throws | |
#endif | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct NewDocumentAction { | |
public func callAsFunction<D>(_ newDocument: @autoclosure @escaping () -> D) where D : SwiftUI.FileDocument | |
public func callAsFunction<D>(_ newDocument: @escaping () -> D) where D : SwiftUI.ReferenceFileDocument | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.EnvironmentValues { | |
public var newDocument: SwiftUI.NewDocumentAction { | |
get | |
} | |
public var openDocument: SwiftUI.OpenDocumentAction { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _TrimmedShape<S> : SwiftUI.Shape where S : SwiftUI.Shape { | |
public var shape: S | |
public var startFraction: CoreFoundation.CGFloat | |
public var endFraction: CoreFoundation.CGFloat | |
@inlinable public init(shape: S, startFraction: CoreFoundation.CGFloat = 0, endFraction: CoreFoundation.CGFloat = 1) { | |
self.shape = shape | |
self.startFraction = startFraction | |
self.endFraction = endFraction | |
} | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: SwiftUI.ShapeRole { | |
get | |
} | |
public typealias AnimatableData = SwiftUI.AnimatablePair<S.AnimatableData, SwiftUI.AnimatablePair<CoreFoundation.CGFloat, CoreFoundation.CGFloat>> | |
public var animatableData: SwiftUI._TrimmedShape<S>.AnimatableData { | |
get | |
set | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public func sizeThatFits(_ proposal: SwiftUI.ProposedViewSize) -> CoreFoundation.CGSize | |
public typealias Body = SwiftUI._ShapeView<SwiftUI._TrimmedShape<S>, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Shape { | |
@inlinable public func trim(from startFraction: CoreFoundation.CGFloat = 0, to endFraction: CoreFoundation.CGFloat = 1) -> some SwiftUI.Shape { | |
return _TrimmedShape(shape: self, startFraction: startFraction, | |
endFraction: endFraction) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Font : Swift.Hashable { | |
private var provider: SwiftUI.AnyFontBox | |
public func hash(into hasher: inout Swift.Hasher) | |
public static func == (lhs: SwiftUI.Font, rhs: SwiftUI.Font) -> Swift.Bool | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@usableFromInline | |
internal class AnyFontBox { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "DynamicTypeSize") | |
public enum ContentSizeCategory : Swift.Hashable, Swift.CaseIterable { | |
case extraSmall | |
case small | |
case medium | |
case large | |
case extraLarge | |
case extraExtraLarge | |
case extraExtraExtraLarge | |
case accessibilityMedium | |
case accessibilityLarge | |
case accessibilityExtraLarge | |
case accessibilityExtraExtraLarge | |
case accessibilityExtraExtraExtraLarge | |
@available(iOS 13.4, macOS 10.15.4, tvOS 13.4, watchOS 6.2, *) | |
public var isAccessibilityCategory: Swift.Bool { | |
get | |
} | |
public static func == (a: SwiftUI.ContentSizeCategory, b: SwiftUI.ContentSizeCategory) -> Swift.Bool | |
public func hash(into hasher: inout Swift.Hasher) | |
public typealias AllCases = [SwiftUI.ContentSizeCategory] | |
public static var allCases: [SwiftUI.ContentSizeCategory] { | |
get | |
} | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.ContentSizeCategory { | |
@_alwaysEmitIntoClient public static func < (lhs: SwiftUI.ContentSizeCategory, rhs: SwiftUI.ContentSizeCategory) -> Swift.Bool { | |
func comparisonValue(for sizeCategory: Self) -> Int { | |
switch sizeCategory { | |
case .extraSmall: return 0 | |
case .small: return 1 | |
case .medium: return 2 | |
case .large: return 3 | |
case .extraLarge: return 4 | |
case .extraExtraLarge: return 5 | |
case .extraExtraExtraLarge: return 6 | |
case .accessibilityMedium: return 7 | |
case .accessibilityLarge: return 8 | |
case .accessibilityExtraLarge: return 9 | |
case .accessibilityExtraExtraLarge: return 10 | |
case .accessibilityExtraExtraExtraLarge: return 11 | |
@unknown default: return 3 | |
} | |
} | |
return comparisonValue(for: lhs) < comparisonValue(for: rhs) | |
} | |
@_alwaysEmitIntoClient public static func <= (lhs: SwiftUI.ContentSizeCategory, rhs: SwiftUI.ContentSizeCategory) -> Swift.Bool { | |
!(rhs < lhs) | |
} | |
@_alwaysEmitIntoClient public static func > (lhs: SwiftUI.ContentSizeCategory, rhs: SwiftUI.ContentSizeCategory) -> Swift.Bool { | |
rhs < lhs | |
} | |
@_alwaysEmitIntoClient public static func >= (lhs: SwiftUI.ContentSizeCategory, rhs: SwiftUI.ContentSizeCategory) -> Swift.Bool { | |
!(lhs < rhs) | |
} | |
} | |
extension SwiftUI.EnvironmentValues { | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
@available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "dynamicTypeSize") | |
public var sizeCategory: SwiftUI.ContentSizeCategory { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension Swift.Never { | |
public typealias Body = Swift.Never | |
public var body: Swift.Never { | |
get | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct Grid<Content> where Content : SwiftUI.View { | |
@usableFromInline | |
internal var _tree: SwiftUI._VariadicView.Tree<SwiftUI._GridLayout, Content> | |
@inlinable public init(alignment: SwiftUI.Alignment = .center, horizontalSpacing: CoreFoundation.CGFloat? = nil, verticalSpacing: CoreFoundation.CGFloat? = nil, @SwiftUI.ViewBuilder content: () -> Content) { | |
let root = _GridLayout(alignment: alignment, | |
horizontalSpacing: horizontalSpacing, | |
verticalSpacing: verticalSpacing) | |
_tree = .init(root: root, content: content()) | |
} | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI.Grid<Content>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.Grid : SwiftUI.Animatable where Content == SwiftUI.EmptyView { | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.Grid : SwiftUI.Layout where Content == SwiftUI.EmptyView { | |
public typealias Cache = SwiftUI._GridLayout.Cache | |
@_alwaysEmitIntoClient public init(alignment: SwiftUI.Alignment = .center, horizontalSpacing: CoreFoundation.CGFloat? = nil, verticalSpacing: CoreFoundation.CGFloat? = nil, spacing: CoreFoundation.CGFloat? = nil) { | |
let root = _GridLayout(alignment: alignment, | |
horizontalSpacing: horizontalSpacing, | |
verticalSpacing: verticalSpacing) | |
_tree = .init(root: root, content: EmptyView()) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct GridRow<Content> where Content : SwiftUI.View { | |
@usableFromInline | |
internal var alignment: SwiftUI.VerticalAlignment? | |
@usableFromInline | |
internal var content: Content | |
@inlinable public init(alignment: SwiftUI.VerticalAlignment? = nil, @SwiftUI.ViewBuilder content: () -> Content) { | |
self.alignment = alignment | |
self.content = content() | |
} | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI.GridRow<Content>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<SwiftUI.GridRow<Content>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs) -> Swift.Int? | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.View { | |
@inlinable public func gridCellColumns(_ count: Swift.Int) -> some SwiftUI.View { | |
return modifier(_GridCellSizeModifier( | |
count: count, axis: .horizontal)) | |
} | |
@inlinable public func gridCellAnchor(_ anchor: SwiftUI.UnitPoint) -> some SwiftUI.View { | |
return modifier(_GridAnchorModifier(anchor: anchor)) | |
} | |
@inlinable public func gridColumnAlignment(_ guide: SwiftUI.HorizontalAlignment) -> some SwiftUI.View { | |
return modifier(_GridAlignmentModifier(alignment: guide.key)) | |
} | |
@inlinable public func gridCellUnsizedAxes(_ axes: SwiftUI.Axis.Set) -> some SwiftUI.View { | |
return modifier(_GridUnsizedAxesModifier(axes: axes)) | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _GridCellSizeModifier : SwiftUI.ViewModifier { | |
@usableFromInline | |
internal var count: Swift.Int | |
@usableFromInline | |
internal var axis: SwiftUI.Axis | |
@inlinable internal init(count: Swift.Int, axis: SwiftUI.Axis) { | |
self.count = count | |
self.axis = axis | |
} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._GridCellSizeModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI._GridCellSizeModifier>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _GridAnchorModifier : SwiftUI.ViewModifier { | |
@usableFromInline | |
internal var anchor: SwiftUI.UnitPoint | |
@inlinable internal init(anchor: SwiftUI.UnitPoint) { self.anchor = anchor } | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._GridAnchorModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI._GridAnchorModifier>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _GridAlignmentModifier : SwiftUI.ViewModifier { | |
@usableFromInline | |
internal var alignment: SwiftUI.AlignmentKey | |
@inlinable internal init(alignment: SwiftUI.AlignmentKey) { self.alignment = alignment } | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._GridAlignmentModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI._GridAlignmentModifier>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _GridUnsizedAxesModifier : SwiftUI.ViewModifier { | |
@usableFromInline | |
internal var axes: SwiftUI.Axis.Set | |
@inlinable internal init(axes: SwiftUI.Axis.Set) { self.axes = axes } | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._GridUnsizedAxesModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI._GridUnsizedAxesModifier>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct _GridLayout : SwiftUI._VariadicView.UnaryViewRoot, SwiftUI.Animatable { | |
public var alignment: SwiftUI.Alignment | |
public var horizontalSpacing: CoreFoundation.CGFloat? | |
public var verticalSpacing: CoreFoundation.CGFloat? | |
@inlinable public init(alignment: SwiftUI.Alignment = .center, horizontalSpacing: CoreFoundation.CGFloat? = nil, verticalSpacing: CoreFoundation.CGFloat? = nil) { | |
self.alignment = alignment | |
self.horizontalSpacing = horizontalSpacing | |
self.verticalSpacing = verticalSpacing | |
} | |
public static func _makeView(root: SwiftUI._GraphValue<SwiftUI._GridLayout>, inputs: SwiftUI._ViewInputs, body: (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewOutputs | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI._GridLayout : SwiftUI.Layout { | |
public func makeCache(subviews: SwiftUI._GridLayout.Subviews) -> SwiftUI._GridLayout.Cache | |
public func updateCache(_ cache: inout SwiftUI._GridLayout.Cache, subviews: SwiftUI._GridLayout.Subviews) | |
public func spacing(subviews: SwiftUI._GridLayout.Subviews, cache: inout SwiftUI._GridLayout.Cache) -> SwiftUI.ViewSpacing | |
public func sizeThatFits(proposal: SwiftUI.ProposedViewSize, subviews: SwiftUI._GridLayout.Subviews, cache: inout SwiftUI._GridLayout.Cache) -> CoreFoundation.CGSize | |
public func placeSubviews(in bounds: CoreFoundation.CGRect, proposal: SwiftUI.ProposedViewSize, subviews: SwiftUI._GridLayout.Subviews, cache: inout SwiftUI._GridLayout.Cache) | |
public func explicitAlignment(of guide: SwiftUI.HorizontalAlignment, in bounds: CoreFoundation.CGRect, proposal: SwiftUI.ProposedViewSize, subviews: SwiftUI._GridLayout.Subviews, cache: inout SwiftUI._GridLayout.Cache) -> CoreFoundation.CGFloat? | |
public func explicitAlignment(of guide: SwiftUI.VerticalAlignment, in bounds: CoreFoundation.CGRect, proposal: SwiftUI.ProposedViewSize, subviews: SwiftUI._GridLayout.Subviews, cache: inout SwiftUI._GridLayout.Cache) -> CoreFoundation.CGFloat? | |
} | |
extension SwiftUI._GridLayout { | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct Cache { | |
} | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.View { | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func onDrag(_ data: @escaping () -> Foundation.NSItemProvider) -> some SwiftUI.View | |
} | |
@available(iOS 15.0, macOS 12.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.View { | |
public func onDrag<V>(_ data: @escaping () -> Foundation.NSItemProvider, @SwiftUI.ViewBuilder preview: () -> V) -> some SwiftUI.View where V : SwiftUI.View | |
} | |
extension SwiftUI.View { | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func draggable<T>(_ payload: @autoclosure @escaping () -> T) -> some SwiftUI.View where T : CoreTransferable.Transferable | |
} | |
@available(iOS 13.4, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct _DraggingModifier : SwiftUI.ViewModifier { | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._DraggingModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.TextFieldStyle where Self == SwiftUI.DefaultTextFieldStyle { | |
@_alwaysEmitIntoClient public static var automatic: SwiftUI.DefaultTextFieldStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct DefaultTextFieldStyle : SwiftUI.TextFieldStyle { | |
public init() | |
public func _body(configuration: SwiftUI.TextField<SwiftUI.DefaultTextFieldStyle._Label>) -> SwiftUI.DefaultTextFieldStyle._Body | |
public struct _Body : SwiftUI.View { | |
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI21DefaultTextFieldStyleV5_BodyV4bodyQrvp", 0) __ | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct AccessibilityActionKind : Swift.Equatable { | |
public static let `default`: SwiftUI.AccessibilityActionKind | |
public static let escape: SwiftUI.AccessibilityActionKind | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
public static let magicTap: SwiftUI.AccessibilityActionKind | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let delete: SwiftUI.AccessibilityActionKind | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public static let showMenu: SwiftUI.AccessibilityActionKind | |
public init(named name: SwiftUI.Text) | |
public static func == (a: SwiftUI.AccessibilityActionKind, b: SwiftUI.AccessibilityActionKind) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
public func accessibilityAction(_ actionKind: SwiftUI.AccessibilityActionKind = .default, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Self, SwiftUI.AccessibilityAttachmentModifier> | |
public func accessibilityAction(named name: SwiftUI.Text, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Self, SwiftUI.AccessibilityAttachmentModifier> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ModifiedContent where Modifier == SwiftUI.AccessibilityAttachmentModifier { | |
public func accessibilityAction(_ actionKind: SwiftUI.AccessibilityActionKind = .default, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Content, Modifier> | |
public func accessibilityAction(named name: SwiftUI.Text, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Content, Modifier> | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
public func accessibilityAction<Label>(action: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder label: () -> Label) -> some SwiftUI.View where Label : SwiftUI.View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.View { | |
public func accessibilityActions<Content>(@SwiftUI.ViewBuilder _ content: () -> Content) -> some SwiftUI.View where Content : SwiftUI.View | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.View { | |
public func accessibilityAction(named nameKey: SwiftUI.LocalizedStringKey, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Self, SwiftUI.AccessibilityAttachmentModifier> | |
@_disfavoredOverload public func accessibilityAction<S>(named name: S, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Self, SwiftUI.AccessibilityAttachmentModifier> where S : Swift.StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.ModifiedContent where Modifier == SwiftUI.AccessibilityAttachmentModifier { | |
public func accessibilityAction(named nameKey: SwiftUI.LocalizedStringKey, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Content, Modifier> | |
@_disfavoredOverload public func accessibilityAction<S>(named name: S, _ handler: @escaping () -> Swift.Void) -> SwiftUI.ModifiedContent<Content, Modifier> where S : Swift.StringProtocol | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public protocol TabViewStyle { | |
static func _makeView<SelectionValue>(value: SwiftUI._GraphValue<SwiftUI._TabViewValue<Self, SelectionValue>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs where SelectionValue : Swift.Hashable | |
static func _makeViewList<SelectionValue>(value: SwiftUI._GraphValue<SwiftUI._TabViewValue<Self, SelectionValue>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs where SelectionValue : Swift.Hashable | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _TabViewValue<Style, SelectionValue> where Style : SwiftUI.TabViewStyle, SelectionValue : Swift.Hashable { | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.View { | |
public func tabViewStyle<S>(_ style: S) -> some SwiftUI.View where S : SwiftUI.TabViewStyle | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.TimelineSchedule where Self == SwiftUI.AnimationTimelineSchedule { | |
@_alwaysEmitIntoClient public static var animation: SwiftUI.AnimationTimelineSchedule { | |
get { .init() } | |
} | |
@_alwaysEmitIntoClient public static func animation(minimumInterval: Swift.Double? = nil, paused: Swift.Bool = false) -> SwiftUI.AnimationTimelineSchedule { | |
.init(minimumInterval: minimumInterval, paused: paused) | |
} | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AnimationTimelineSchedule : SwiftUI.TimelineSchedule { | |
public init(minimumInterval: Swift.Double? = nil, paused: Swift.Bool = false) | |
public func entries(from start: Foundation.Date, mode: SwiftUI.TimelineScheduleMode) -> SwiftUI.AnimationTimelineSchedule.Entries | |
public struct Entries : Swift.Sequence, Swift.IteratorProtocol { | |
public mutating func next() -> Foundation.Date? | |
public typealias Element = Foundation.Date | |
public typealias Iterator = SwiftUI.AnimationTimelineSchedule.Entries | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct SafeAreaRegions : Swift.OptionSet { | |
public let rawValue: Swift.UInt | |
@inlinable public init(rawValue: Swift.UInt) { self.rawValue = rawValue } | |
public static let container: SwiftUI.SafeAreaRegions | |
public static let keyboard: SwiftUI.SafeAreaRegions | |
public static let all: SwiftUI.SafeAreaRegions | |
public typealias ArrayLiteralElement = SwiftUI.SafeAreaRegions | |
public typealias Element = SwiftUI.SafeAreaRegions | |
public typealias RawValue = Swift.UInt | |
} | |
extension SwiftUI.View { | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public func _safeAreaInsets(_ insets: SwiftUI.EdgeInsets) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ShapeStyle where Self == SwiftUI.ImagePaint { | |
@_alwaysEmitIntoClient public static func image(_ image: SwiftUI.Image, sourceRect: CoreFoundation.CGRect = CGRect(x: 0, y: 0, width: 1, height: 1), scale: CoreFoundation.CGFloat = 1) -> SwiftUI.ImagePaint { | |
.init(image: image, sourceRect: sourceRect, scale: scale) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ImagePaint : SwiftUI.ShapeStyle { | |
public var image: SwiftUI.Image | |
public var sourceRect: CoreFoundation.CGRect | |
public var scale: CoreFoundation.CGFloat | |
public init(image: SwiftUI.Image, sourceRect: CoreFoundation.CGRect = CGRect(x: 0, y: 0, width: 1, height: 1), scale: CoreFoundation.CGFloat = 1) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol PrimitiveButtonStyle { | |
associatedtype Body : SwiftUI.View | |
@SwiftUI.ViewBuilder func makeBody(configuration: Self.Configuration) -> Self.Body | |
typealias Configuration = SwiftUI.PrimitiveButtonStyleConfiguration | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct PrimitiveButtonStyleConfiguration { | |
public struct Label : SwiftUI.View { | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public let role: SwiftUI.ButtonRole? | |
public let label: SwiftUI.PrimitiveButtonStyleConfiguration.Label | |
public func trigger() | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
public func buttonStyle<S>(_ style: S) -> some SwiftUI.View where S : SwiftUI.PrimitiveButtonStyle | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _ArchivedViewStates : Swift.RandomAccessCollection { | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct EncodingStyle { | |
public static let binaryPlist: SwiftUI._ArchivedViewStates.EncodingStyle | |
public static let json: SwiftUI._ArchivedViewStates.EncodingStyle | |
} | |
public init() | |
public init(data: Foundation.Data) throws | |
public init(contentsOf url: Foundation.URL) throws | |
public init(contentsOf file: Foundation.FileHandle) throws | |
public var startIndex: Swift.Int { | |
get | |
} | |
public var endIndex: Swift.Int { | |
get | |
} | |
public subscript(index: Swift.Int) -> SwiftUI._ArchivedView { | |
get | |
} | |
public func state(at index: Swift.Int) throws -> SwiftUI._ArchivedView | |
public var auxiliaryData: Foundation.Data? { | |
get | |
} | |
public func attachment(at index: Swift.Int) -> Foundation.Data? | |
public typealias Element = SwiftUI._ArchivedView | |
public typealias Index = Swift.Int | |
public typealias Indices = Swift.Range<Swift.Int> | |
public typealias Iterator = Swift.IndexingIterator<SwiftUI._ArchivedViewStates> | |
public typealias SubSequence = Swift.Slice<SwiftUI._ArchivedViewStates> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct _ArchivedView : SwiftUI.View { | |
public init() | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI._ArchivedView>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI._ArchivedView : Swift.Equatable { | |
public static func == (lhs: SwiftUI._ArchivedView, rhs: SwiftUI._ArchivedView) -> Swift.Bool | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
public func accessibilityRotor<Content>(_ label: SwiftUI.Text, @SwiftUI.AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some SwiftUI.View where Content : SwiftUI.AccessibilityRotorContent | |
public func accessibilityRotor<Content>(_ systemRotor: SwiftUI.AccessibilitySystemRotor, @SwiftUI.AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some SwiftUI.View where Content : SwiftUI.AccessibilityRotorContent | |
public func accessibilityRotor<EntryModel>(_ rotorLabel: SwiftUI.Text, entries: [EntryModel], entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where EntryModel : Swift.Identifiable | |
public func accessibilityRotor<EntryModel, ID>(_ rotorLabel: SwiftUI.Text, entries: [EntryModel], entryID: Swift.KeyPath<EntryModel, ID>, entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where ID : Swift.Hashable | |
public func accessibilityRotor<EntryModel>(_ systemRotor: SwiftUI.AccessibilitySystemRotor, entries: [EntryModel], entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where EntryModel : Swift.Identifiable | |
public func accessibilityRotor<EntryModel, ID>(_ systemRotor: SwiftUI.AccessibilitySystemRotor, entries: [EntryModel], entryID: Swift.KeyPath<EntryModel, ID>, entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where ID : Swift.Hashable | |
public func accessibilityRotor(_ label: SwiftUI.Text, textRanges: [Swift.Range<Swift.String.Index>]) -> some SwiftUI.View | |
public func accessibilityRotor(_ systemRotor: SwiftUI.AccessibilitySystemRotor, textRanges: [Swift.Range<Swift.String.Index>]) -> some SwiftUI.View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
public func accessibilityRotor<Content>(_ labelKey: SwiftUI.LocalizedStringKey, @SwiftUI.AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some SwiftUI.View where Content : SwiftUI.AccessibilityRotorContent | |
@_disfavoredOverload public func accessibilityRotor<L, Content>(_ label: L, @SwiftUI.AccessibilityRotorContentBuilder entries: @escaping () -> Content) -> some SwiftUI.View where L : Swift.StringProtocol, Content : SwiftUI.AccessibilityRotorContent | |
public func accessibilityRotor<EntryModel>(_ rotorLabelKey: SwiftUI.LocalizedStringKey, entries: [EntryModel], entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where EntryModel : Swift.Identifiable | |
@_disfavoredOverload public func accessibilityRotor<L, EntryModel>(_ rotorLabel: L, entries: [EntryModel], entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where L : Swift.StringProtocol, EntryModel : Swift.Identifiable | |
public func accessibilityRotor<EntryModel, ID>(_ rotorLabelKey: SwiftUI.LocalizedStringKey, entries: [EntryModel], entryID: Swift.KeyPath<EntryModel, ID>, entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where ID : Swift.Hashable | |
@_disfavoredOverload public func accessibilityRotor<L, EntryModel, ID>(_ rotorLabel: L, entries: [EntryModel], entryID: Swift.KeyPath<EntryModel, ID>, entryLabel: Swift.KeyPath<EntryModel, Swift.String>) -> some SwiftUI.View where L : Swift.StringProtocol, ID : Swift.Hashable | |
public func accessibilityRotor(_ labelKey: SwiftUI.LocalizedStringKey, textRanges: [Swift.Range<Swift.String.Index>]) -> some SwiftUI.View | |
@_disfavoredOverload public func accessibilityRotor<L>(_ label: L, textRanges: [Swift.Range<Swift.String.Index>]) -> some SwiftUI.View where L : Swift.StringProtocol | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public struct AccessibilitySystemRotor { | |
public static func links(visited: Swift.Bool) -> SwiftUI.AccessibilitySystemRotor | |
public static var links: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static func headings(level: SwiftUI.AccessibilityHeadingLevel) -> SwiftUI.AccessibilitySystemRotor | |
public static var headings: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var boldText: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var italicText: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var underlineText: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var misspelledWords: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var images: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var textFields: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var tables: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var lists: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
public static var landmarks: SwiftUI.AccessibilitySystemRotor { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EmptyView : SwiftUI.View { | |
@inlinable public init() {} | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI.EmptyView>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<SwiftUI.EmptyView>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs) -> Swift.Int? | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ListStyle where Self == SwiftUI.DefaultListStyle { | |
@_alwaysEmitIntoClient public static var automatic: SwiftUI.DefaultListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct DefaultListStyle : SwiftUI.ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: SwiftUI._GraphValue<SwiftUI._ListValue<SwiftUI.DefaultListStyle, SelectionValue>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs where SelectionValue : Swift.Hashable | |
public static func _makeViewList<SelectionValue>(value: SwiftUI._GraphValue<SwiftUI._ListValue<SwiftUI.DefaultListStyle, SelectionValue>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs where SelectionValue : Swift.Hashable | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
public static func _makeView(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs) -> Swift.Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@available(*, deprecated, message: "use Animatable directly") | |
public protocol _AnimatableView : SwiftUI.Animatable, SwiftUI.View { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@available(*, deprecated, message: "use Animatable directly") | |
extension SwiftUI._AnimatableView { | |
public static func _makeView(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View where Self : SwiftUI.Animatable { | |
public static func _makeView(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct SubscriptionView<PublisherType, Content> : SwiftUI.View where PublisherType : Combine.Publisher, Content : SwiftUI.View, PublisherType.Failure == Swift.Never { | |
public var content: Content | |
public var publisher: PublisherType | |
public var action: (PublisherType.Output) -> Swift.Void | |
@inlinable public init(content: Content, publisher: PublisherType, action: @escaping (PublisherType.Output) -> Swift.Void) { | |
self.content = content | |
self.publisher = publisher | |
self.action = action | |
} | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI.SubscriptionView<PublisherType, Content>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<SwiftUI.SubscriptionView<PublisherType, Content>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs) -> Swift.Int? | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func onReceive<P>(_ publisher: P, perform action: @escaping (P.Output) -> Swift.Void) -> some SwiftUI.View where P : Combine.Publisher, P.Failure == Swift.Never { | |
SubscriptionView(content: self, publisher: publisher, action: action) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._ViewTest { | |
public typealias Touch = (location: CoreFoundation.CGPoint, globalLocation: CoreFoundation.CGPoint?, timestamp: Foundation.Date) | |
public func sendTouchSequence(_ touches: [Self.Touch]) | |
public func measureTouchSequence(host: SwiftUI._BenchmarkHost, _ touches: [Self.Touch]) -> [Swift.Double] | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Gesture { | |
@inlinable public func sequenced<Other>(before other: Other) -> SwiftUI.SequenceGesture<Self, Other> where Other : SwiftUI.Gesture { | |
return SequenceGesture(self, other) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct SequenceGesture<First, Second> : SwiftUI.Gesture where First : SwiftUI.Gesture, Second : SwiftUI.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: SwiftUI._GraphValue<SwiftUI.SequenceGesture<First, Second>>, inputs: SwiftUI._GestureInputs) -> SwiftUI._GestureOutputs<SwiftUI.SequenceGesture<First, Second>.Value> | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.SequenceGesture.Value : Swift.Equatable where First.Value : Swift.Equatable, Second.Value : Swift.Equatable { | |
public static func == (a: SwiftUI.SequenceGesture<First, Second>.Value, b: SwiftUI.SequenceGesture<First, Second>.Value) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct OffsetShape<Content> : SwiftUI.Shape where Content : SwiftUI.Shape { | |
public var shape: Content | |
public var offset: CoreFoundation.CGSize | |
@inlinable public init(shape: Content, offset: CoreFoundation.CGSize) { | |
self.shape = shape | |
self.offset = offset | |
} | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: SwiftUI.ShapeRole { | |
get | |
} | |
public typealias AnimatableData = SwiftUI.AnimatablePair<Content.AnimatableData, CoreFoundation.CGSize.AnimatableData> | |
public var animatableData: SwiftUI.OffsetShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.OffsetShape<Content>, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.OffsetShape : SwiftUI.InsettableShape where Content : SwiftUI.InsettableShape { | |
@inlinable public func inset(by amount: CoreFoundation.CGFloat) -> SwiftUI.OffsetShape<Content.InsetShape> { | |
return shape.inset(by: amount).offset(offset) | |
} | |
public typealias InsetShape = SwiftUI.OffsetShape<Content.InsetShape> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ScaledShape<Content> : SwiftUI.Shape where Content : SwiftUI.Shape { | |
public var shape: Content | |
public var scale: CoreFoundation.CGSize | |
public var anchor: SwiftUI.UnitPoint | |
@inlinable public init(shape: Content, scale: CoreFoundation.CGSize, anchor: SwiftUI.UnitPoint = .center) { | |
self.shape = shape | |
self.scale = scale | |
self.anchor = anchor | |
} | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: SwiftUI.ShapeRole { | |
get | |
} | |
public typealias AnimatableData = SwiftUI.AnimatablePair<Content.AnimatableData, SwiftUI.AnimatablePair<CoreFoundation.CGSize.AnimatableData, SwiftUI.UnitPoint.AnimatableData>> | |
public var animatableData: SwiftUI.ScaledShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.ScaledShape<Content>, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct RotatedShape<Content> : SwiftUI.Shape where Content : SwiftUI.Shape { | |
public var shape: Content | |
public var angle: SwiftUI.Angle | |
public var anchor: SwiftUI.UnitPoint | |
@inlinable public init(shape: Content, angle: SwiftUI.Angle, anchor: SwiftUI.UnitPoint = .center) { | |
self.shape = shape | |
self.angle = angle | |
self.anchor = anchor | |
} | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: SwiftUI.ShapeRole { | |
get | |
} | |
public typealias AnimatableData = SwiftUI.AnimatablePair<Content.AnimatableData, SwiftUI.AnimatablePair<SwiftUI.Angle.AnimatableData, SwiftUI.UnitPoint.AnimatableData>> | |
public var animatableData: SwiftUI.RotatedShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.RotatedShape<Content>, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.RotatedShape : SwiftUI.InsettableShape where Content : SwiftUI.InsettableShape { | |
@inlinable public func inset(by amount: CoreFoundation.CGFloat) -> SwiftUI.RotatedShape<Content.InsetShape> { | |
return shape.inset(by: amount).rotation(angle, anchor: anchor) | |
} | |
public typealias InsetShape = SwiftUI.RotatedShape<Content.InsetShape> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct TransformedShape<Content> : SwiftUI.Shape where Content : SwiftUI.Shape { | |
public var shape: Content | |
public var transform: CoreFoundation.CGAffineTransform | |
@inlinable public init(shape: Content, transform: CoreFoundation.CGAffineTransform) { | |
self.shape = shape | |
self.transform = transform | |
} | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public static var role: SwiftUI.ShapeRole { | |
get | |
} | |
public typealias AnimatableData = Content.AnimatableData | |
public var animatableData: SwiftUI.TransformedShape<Content>.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.TransformedShape<Content>, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.Shape { | |
@inlinable public func offset(_ offset: CoreFoundation.CGSize) -> SwiftUI.OffsetShape<Self> { | |
return OffsetShape(shape: self, offset: offset) | |
} | |
@inlinable public func offset(_ offset: CoreFoundation.CGPoint) -> SwiftUI.OffsetShape<Self> { | |
return OffsetShape( | |
shape: self, offset: CGSize(width: offset.x, height: offset.y)) | |
} | |
@inlinable public func offset(x: CoreFoundation.CGFloat = 0, y: CoreFoundation.CGFloat = 0) -> SwiftUI.OffsetShape<Self> { | |
return OffsetShape(shape: self, offset: .init(width: x, height: y)) | |
} | |
@inlinable public func scale(x: CoreFoundation.CGFloat = 1, y: CoreFoundation.CGFloat = 1, anchor: SwiftUI.UnitPoint = .center) -> SwiftUI.ScaledShape<Self> { | |
return ScaledShape(shape: self, | |
scale: CGSize(width: x, height: y), anchor: anchor) | |
} | |
@inlinable public func scale(_ scale: CoreFoundation.CGFloat, anchor: SwiftUI.UnitPoint = .center) -> SwiftUI.ScaledShape<Self> { | |
return self.scale(x: scale, y: scale, anchor: anchor) | |
} | |
@inlinable public func rotation(_ angle: SwiftUI.Angle, anchor: SwiftUI.UnitPoint = .center) -> SwiftUI.RotatedShape<Self> { | |
return RotatedShape(shape: self, angle: angle, anchor: anchor) | |
} | |
@inlinable public func transform(_ transform: CoreFoundation.CGAffineTransform) -> SwiftUI.TransformedShape<Self> { | |
return TransformedShape(shape: self, transform: transform) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.EnvironmentValues { | |
public var managedObjectContext: CoreData.NSManagedObjectContext { | |
get | |
set | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Rectangle : SwiftUI.Shape { | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@inlinable public init() {} | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.Rectangle, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct RoundedRectangle : SwiftUI.Shape { | |
public var cornerSize: CoreFoundation.CGSize | |
public var style: SwiftUI.RoundedCornerStyle | |
@inlinable public init(cornerSize: CoreFoundation.CGSize, style: SwiftUI.RoundedCornerStyle = .circular) { | |
self.cornerSize = cornerSize | |
self.style = style | |
} | |
@inlinable public init(cornerRadius: CoreFoundation.CGFloat, style: SwiftUI.RoundedCornerStyle = .circular) { | |
let cornerSize = CGSize(width: cornerRadius, height: cornerRadius) | |
self.init(cornerSize: cornerSize, style: style) | |
} | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
public var animatableData: CoreFoundation.CGSize.AnimatableData { | |
get | |
set | |
} | |
public typealias AnimatableData = CoreFoundation.CGSize.AnimatableData | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.RoundedRectangle, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Capsule : SwiftUI.Shape { | |
public var style: SwiftUI.RoundedCornerStyle | |
@inlinable public init(style: SwiftUI.RoundedCornerStyle = .circular) { | |
self.style = style | |
} | |
public func path(in r: CoreFoundation.CGRect) -> SwiftUI.Path | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.Capsule, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Ellipse : SwiftUI.Shape { | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@inlinable public init() {} | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.Ellipse, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct Circle : SwiftUI.Shape { | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@inlinable public init() {} | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.Circle, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.Circle { | |
public func sizeThatFits(_ proposal: SwiftUI.ProposedViewSize) -> CoreFoundation.CGSize | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen @propertyWrapper public struct FocusState<Value> : SwiftUI.DynamicProperty where Value : Swift.Hashable { | |
@frozen @propertyWrapper public struct Binding { | |
private var _binding: SwiftUI.Binding<Value> | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: SwiftUI.FocusState<Value>.Binding { | |
get | |
} | |
} | |
internal var value: Value | |
internal var location: SwiftUI.AnyLocation<Value>? | |
internal var resetValue: Value | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: SwiftUI.FocusState<Value>.Binding { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout SwiftUI._DynamicPropertyBuffer, container: SwiftUI._GraphValue<V>, fieldOffset: Swift.Int, inputs: inout SwiftUI._GraphInputs) | |
public init() where Value == Swift.Bool | |
public init<T>() where Value == T?, T : Swift.Hashable | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
public func focused<Value>(_ binding: SwiftUI.FocusState<Value>.Binding, equals value: Value) -> some SwiftUI.View where Value : Swift.Hashable | |
public func focused(_ condition: SwiftUI.FocusState<Swift.Bool>.Binding) -> some SwiftUI.View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@frozen public struct AnyShape : SwiftUI.Shape { | |
internal var storage: SwiftUI.AnyShapeBox | |
public init<S>(_ shape: S) where S : SwiftUI.Shape | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
public func sizeThatFits(_ proposal: SwiftUI.ProposedViewSize) -> CoreFoundation.CGSize | |
public typealias AnimatableData = SwiftUI._AnyAnimatableData | |
public var animatableData: SwiftUI.AnyShape.AnimatableData { | |
get | |
set | |
} | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.AnyShape, SwiftUI.ForegroundStyle> | |
} | |
@_hasMissingDesignatedInitializers @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
@usableFromInline | |
internal class AnyShapeBox { | |
@objc @usableFromInline | |
deinit | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
extension SwiftUI.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)") | |
public func navigationBarHidden(_ hidden: Swift.Bool) -> some SwiftUI.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(_:)") | |
public func navigationBarTitle(_ title: SwiftUI.Text) -> some SwiftUI.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(_:)") | |
public func navigationBarTitle(_ titleKey: SwiftUI.LocalizedStringKey) -> some SwiftUI.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(_:)") | |
@_disfavoredOverload public func navigationBarTitle<S>(_ title: S) -> some SwiftUI.View where S : Swift.StringProtocol | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func navigationBarTitle(_ title: SwiftUI.Text, displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) -> some SwiftUI.View | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public func navigationBarTitle(_ titleKey: SwiftUI.LocalizedStringKey, displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) -> some SwiftUI.View | |
@available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)") | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
@_disfavoredOverload public func navigationBarTitle<S>(_ title: S, displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) -> some SwiftUI.View where S : Swift.StringProtocol | |
@available(macOS, unavailable) | |
public func navigationBarBackButtonHidden(_ hidesBackButton: Swift.Bool = true) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
public struct NavigationBarItem { | |
public enum TitleDisplayMode { | |
case automatic | |
case inline | |
@available(watchOS 8.0, *) | |
@available(tvOS, unavailable) | |
case large | |
public static func == (a: SwiftUI.NavigationBarItem.TitleDisplayMode, b: SwiftUI.NavigationBarItem.TitleDisplayMode) -> Swift.Bool | |
public func hash(into hasher: inout Swift.Hasher) | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
} | |
@available(watchOS 7.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public func _makeUIHostingView<Content>(_ view: Content) -> ObjectiveC.NSObject where Content : SwiftUI.View | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol ViewModifier { | |
static func _makeView(modifier: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
static func _makeViewList(modifier: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
associatedtype Body : SwiftUI.View | |
@SwiftUI.ViewBuilder @_Concurrency.MainActor(unsafe) func body(content: Self.Content) -> Self.Body | |
typealias Content = SwiftUI._ViewModifier_Content<Self> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ViewModifier where Self.Body == Swift.Never { | |
public func body(content: Self.Content) -> Self.Body | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ViewModifier where Self : SwiftUI._GraphInputsModifier, Self.Body == Swift.Never { | |
public static func _makeView(modifier: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct EmptyModifier : SwiftUI.ViewModifier { | |
public static let identity: SwiftUI.EmptyModifier | |
public typealias Body = Swift.Never | |
@inlinable public init() {} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI.EmptyModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI.EmptyModifier>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
@_Concurrency.MainActor(unsafe) public func body(content: SwiftUI.EmptyModifier.Content) -> SwiftUI.EmptyModifier.Body | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func modifier<T>(_ modifier: T) -> SwiftUI.ModifiedContent<Self, T> { | |
return .init(content: self, modifier: modifier) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ModifiedContent<Content, Modifier> { | |
public typealias Body = Swift.Never | |
public var content: Content | |
public var modifier: Modifier | |
@inlinable public init(content: Content, modifier: Modifier) { | |
self.content = content | |
self.modifier = modifier | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ModifiedContent : Swift.Equatable where Content : Swift.Equatable, Modifier : Swift.Equatable { | |
public static func == (a: SwiftUI.ModifiedContent<Content, Modifier>, b: SwiftUI.ModifiedContent<Content, Modifier>) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ModifiedContent : SwiftUI.View where Content : SwiftUI.View, Modifier : SwiftUI.ViewModifier { | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI.ModifiedContent<Content, Modifier>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(view: SwiftUI._GraphValue<SwiftUI.ModifiedContent<Content, Modifier>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs) -> Swift.Int? | |
@_Concurrency.MainActor(unsafe) public var body: SwiftUI.ModifiedContent<Content, Modifier>.Body { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ModifiedContent : SwiftUI.ViewModifier where Content : SwiftUI.ViewModifier, Modifier : SwiftUI.ViewModifier { | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI.ModifiedContent<Content, Modifier>>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI.ModifiedContent<Content, Modifier>>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public static func _viewListCount(inputs: SwiftUI._ViewListCountInputs, body: (SwiftUI._ViewListCountInputs) -> Swift.Int?) -> Swift.Int? | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ViewModifier { | |
@inlinable public func concat<T>(_ modifier: T) -> SwiftUI.ModifiedContent<Self, T> { | |
return .init(content: self, modifier: modifier) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public enum TextAlignment : Swift.Hashable, Swift.CaseIterable { | |
case leading | |
case center | |
case trailing | |
public static func == (a: SwiftUI.TextAlignment, b: SwiftUI.TextAlignment) -> Swift.Bool | |
public func hash(into hasher: inout Swift.Hasher) | |
public typealias AllCases = [SwiftUI.TextAlignment] | |
public static var allCases: [SwiftUI.TextAlignment] { | |
get | |
} | |
public var hashValue: Swift.Int { | |
get | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct ContainerRelativeShape : SwiftUI.Shape { | |
public func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@inlinable public init() {} | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = SwiftUI._ShapeView<SwiftUI.ContainerRelativeShape, SwiftUI.ForegroundStyle> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.ContainerRelativeShape : SwiftUI.InsettableShape { | |
@inlinable public func inset(by amount: CoreFoundation.CGFloat) -> some SwiftUI.InsettableShape { | |
return _Inset(amount: amount) | |
} | |
@usableFromInline | |
@frozen internal struct _Inset : SwiftUI.InsettableShape { | |
@usableFromInline | |
internal var amount: CoreFoundation.CGFloat | |
@inlinable internal init(amount: CoreFoundation.CGFloat) { | |
self.amount = amount | |
} | |
@usableFromInline | |
internal func path(in rect: CoreFoundation.CGRect) -> SwiftUI.Path | |
@usableFromInline | |
internal var animatableData: CoreFoundation.CGFloat { | |
get | |
set | |
} | |
@inlinable internal func inset(by amount: CoreFoundation.CGFloat) -> SwiftUI.ContainerRelativeShape._Inset { | |
var copy = self | |
copy.amount += amount | |
return copy | |
} | |
@usableFromInline | |
internal typealias AnimatableData = CoreFoundation.CGFloat | |
@usableFromInline | |
internal typealias Body = SwiftUI._ShapeView<SwiftUI.ContainerRelativeShape._Inset, SwiftUI.ForegroundStyle> | |
@usableFromInline | |
internal typealias InsetShape = SwiftUI.ContainerRelativeShape._Inset | |
} | |
public typealias InsetShape = @_opaqueReturnTypeOf("$s7SwiftUI22ContainerRelativeShapeV5inset2byQr12CoreGraphics7CGFloatV_tF", 0) __ | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.ShapeStyle { | |
public func _fillingContainerShape() -> some SwiftUI.View | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
extension SwiftUI.View { | |
@inlinable public func containerShape<T>(_ shape: T) -> some SwiftUI.View where T : SwiftUI.InsettableShape { | |
modifier(_ContainerShapeModifier(shape: shape)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.View { | |
public func _containerShape<T>(_ shape: T) -> some SwiftUI.View where T : SwiftUI.InsettableShape | |
} | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
@frozen public struct _ContainerShapeModifier<Shape> where Shape : SwiftUI.InsettableShape { | |
public var shape: Shape | |
@inlinable public init(shape: Shape) { self.shape = shape } | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._ContainerShapeModifier<Shape>>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS, introduced: 13.0, deprecated: 100000.0, message: "use NavigationStack or NavigationSplitView instead") | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "use NavigationStack or NavigationSplitView instead") | |
@available(tvOS, introduced: 13.0, deprecated: 100000.0, message: "use NavigationStack or NavigationSplitView instead") | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "use NavigationStack or NavigationSplitView instead") | |
public struct NavigationView<Content> : SwiftUI.View where Content : SwiftUI.View { | |
public init(@SwiftUI.ViewBuilder content: () -> Content) | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen @propertyWrapper public struct State<Value> : SwiftUI.DynamicProperty { | |
@usableFromInline | |
internal var _value: Value | |
@usableFromInline | |
internal var _location: SwiftUI.AnyLocation<Value>? | |
public init(wrappedValue value: Value) | |
@_alwaysEmitIntoClient public init(initialValue value: Value) { | |
_value = value | |
} | |
public var wrappedValue: Value { | |
get | |
nonmutating set | |
} | |
public var projectedValue: SwiftUI.Binding<Value> { | |
get | |
} | |
public static func _makeProperty<V>(in buffer: inout SwiftUI._DynamicPropertyBuffer, container: SwiftUI._GraphValue<V>, fieldOffset: Swift.Int, inputs: inout SwiftUI._GraphInputs) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.State where Value : Swift.ExpressibleByNilLiteral { | |
@inlinable public init() { | |
self.init(wrappedValue: nil) | |
} | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.ListStyle where Self == SwiftUI.SidebarListStyle { | |
@_alwaysEmitIntoClient public static var sidebar: SwiftUI.SidebarListStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 14.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SidebarListStyle : SwiftUI.ListStyle { | |
public init() | |
public static func _makeView<SelectionValue>(value: SwiftUI._GraphValue<SwiftUI._ListValue<SwiftUI.SidebarListStyle, SelectionValue>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs where SelectionValue : Swift.Hashable | |
public static func _makeViewList<SelectionValue>(value: SwiftUI._GraphValue<SwiftUI._ListValue<SwiftUI.SidebarListStyle, SelectionValue>>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs where SelectionValue : Swift.Hashable | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.ShapeStyle where Self == SwiftUI.SeparatorShapeStyle { | |
@_alwaysEmitIntoClient public static var separator: SwiftUI.SeparatorShapeStyle { | |
get { .init() } | |
} | |
} | |
@available(macOS 10.15, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct SeparatorShapeStyle : SwiftUI.ShapeStyle { | |
public init() | |
public static func _makeView<S>(view: SwiftUI._GraphValue<SwiftUI._ShapeView<S, SwiftUI.SeparatorShapeStyle>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs where S : SwiftUI.Shape | |
} | |
@available(macOS 12.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.SeparatorShapeStyle { | |
public func _apply(to shape: inout SwiftUI._ShapeStyle_Shape) | |
public static func _apply(to type: inout SwiftUI._ShapeStyle_ShapeType) | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol DynamicViewContent : SwiftUI.View { | |
associatedtype Data : Swift.Collection | |
var data: Self.Data { get } | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ForEach : SwiftUI.DynamicViewContent where Content : SwiftUI.View { | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ModifiedContent : SwiftUI.DynamicViewContent where Content : SwiftUI.DynamicViewContent, Modifier : SwiftUI.ViewModifier { | |
public var data: Content.Data { | |
get | |
} | |
public typealias Data = Content.Data | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _OverlayLayout : SwiftUI._VariadicView.UnaryViewRoot, SwiftUI.Animatable { | |
public init(contentIndex: Swift.Int? = nil) | |
public static func _makeView(root: SwiftUI._GraphValue<SwiftUI._OverlayLayout>, inputs: SwiftUI._ViewInputs, body: (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewOutputs | |
public typealias AnimatableData = SwiftUI.EmptyAnimatableData | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI._OverlayLayout : SwiftUI.Layout { | |
public func placeSubviews(in bounds: CoreFoundation.CGRect, proposal: SwiftUI.ProposedViewSize, subviews: SwiftUI._OverlayLayout.Subviews, cache: inout Swift.Void) | |
public static var layoutProperties: SwiftUI.LayoutProperties { | |
get | |
} | |
public func sizeThatFits(proposal: SwiftUI.ProposedViewSize, subviews: SwiftUI._OverlayLayout.Subviews, cache: inout Swift.Void) -> CoreFoundation.CGSize | |
public typealias Cache = Swift.Void | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
public protocol _UIHostingViewable : AnyObject { | |
var rootView: SwiftUI.AnyView { get set } | |
func _render(seconds: Swift.Double) | |
func _forEachIdentifiedView(body: (SwiftUI._IdentifiedViewProxy) -> Swift.Void) | |
func sizeThatFits(in size: CoreFoundation.CGSize) -> CoreFoundation.CGSize | |
var _disableSafeArea: Swift.Bool { get set } | |
var _rendererConfiguration: SwiftUI._RendererConfiguration { get set } | |
var _rendererObject: Swift.AnyObject? { get } | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
extension SwiftUI.UIHostingController : SwiftUI._UIHostingViewable where Content == SwiftUI.AnyView { | |
} | |
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *) | |
@available(macOS, unavailable) | |
public func _makeUIHostingController(_ view: SwiftUI.AnyView) -> ObjectiveC.NSObject & SwiftUI._UIHostingViewable | |
@available(iOS 15.0, tvOS 15.0, watchOS 8.0, *) | |
@available(macOS, unavailable) | |
public func _makeUIHostingController(_ view: SwiftUI.AnyView, tracksContentSize: Swift.Bool, secure: Swift.Bool = false) -> ObjectiveC.NSObject & SwiftUI._UIHostingViewable | |
@available(watchOS 6.0, *) | |
@available(iOS, unavailable) | |
@available(macOS, unavailable) | |
@available(tvOS, unavailable) | |
public func _makeWatchKitUIHostingController(_ view: SwiftUI.AnyView) -> ObjectiveC.NSObject & SwiftUI._UIHostingViewable | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
@frozen public struct _AccessibilityIgnoresInvertColorsViewModifier { | |
public var active: Swift.Bool | |
@inlinable public init(active: Swift.Bool) { self.active = active } | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._AccessibilityIgnoresInvertColorsViewModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.View { | |
@inlinable public func accessibilityIgnoresInvertColors(_ active: Swift.Bool = true) -> some SwiftUI.View { | |
return modifier( | |
_AccessibilityIgnoresInvertColorsViewModifier(active: active)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
public struct _ScrollableLayoutView<Data, Layout> : SwiftUI.View where Data : Swift.RandomAccessCollection, Layout : SwiftUI._ScrollableLayout, Data.Element : SwiftUI.View, Data.Index : Swift.Hashable { | |
public static func _makeView(view: SwiftUI._GraphValue<SwiftUI._ScrollableLayoutView<Data, Layout>>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI._ScrollableLayoutView : SwiftUI._ScrollableContentProvider { | |
public var scrollableContent: SwiftUI._ScrollableLayoutView<Data, Layout> { | |
get | |
} | |
public func decelerationTarget(contentOffset: CoreFoundation.CGPoint, originalContentOffset: CoreFoundation.CGPoint, velocity: SwiftUI._Velocity<CoreFoundation.CGSize>, size: CoreFoundation.CGSize) -> CoreFoundation.CGPoint? | |
public typealias Root = SwiftUI._ScrollViewRoot<SwiftUI._ScrollableLayoutView<Data, Layout>> | |
public typealias ScrollableContent = SwiftUI._ScrollableLayoutView<Data, Layout> | |
} | |
@available(iOS 13.0, macOS 10.15, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct RotationGesture : SwiftUI.Gesture { | |
public var minimumAngleDelta: SwiftUI.Angle | |
public init(minimumAngleDelta: SwiftUI.Angle = .degrees(1)) | |
public static func _makeGesture(gesture: SwiftUI._GraphValue<SwiftUI.RotationGesture>, inputs: SwiftUI._GestureInputs) -> SwiftUI._GestureOutputs<SwiftUI.Angle> | |
public typealias Body = Swift.Never | |
public typealias Value = SwiftUI.Angle | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.EnvironmentValues { | |
public var undoManager: Foundation.UndoManager? { | |
get | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AllowsHitTestingModifier : Swift.Equatable { | |
public var allowsHitTesting: Swift.Bool | |
@inlinable public init(allowsHitTesting: Swift.Bool) { | |
self.allowsHitTesting = allowsHitTesting | |
} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._AllowsHitTestingModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func == (a: SwiftUI._AllowsHitTestingModifier, b: SwiftUI._AllowsHitTestingModifier) -> Swift.Bool | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func allowsHitTesting(_ enabled: Swift.Bool) -> some SwiftUI.View { | |
return modifier(_AllowsHitTestingModifier(allowsHitTesting: enabled)) | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct _AppearanceActionModifier : SwiftUI.ViewModifier { | |
public var appear: (() -> Swift.Void)? | |
public var disappear: (() -> Swift.Void)? | |
@inlinable public init(appear: (() -> Swift.Void)? = nil, disappear: (() -> Swift.Void)? = nil) { | |
self.appear = appear | |
self.disappear = disappear | |
} | |
public static func _makeView(modifier: SwiftUI._GraphValue<SwiftUI._AppearanceActionModifier>, inputs: SwiftUI._ViewInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs) -> SwiftUI._ViewOutputs | |
public static func _makeViewList(modifier: SwiftUI._GraphValue<SwiftUI._AppearanceActionModifier>, inputs: SwiftUI._ViewListInputs, body: @escaping (SwiftUI._Graph, SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs) -> SwiftUI._ViewListOutputs | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI._AppearanceActionModifier : SwiftUI._SceneModifier { | |
public static func _makeScene(modifier: SwiftUI._GraphValue<SwiftUI._AppearanceActionModifier>, inputs: SwiftUI._SceneInputs, body: @escaping (SwiftUI._Graph, SwiftUI._SceneInputs) -> SwiftUI._SceneOutputs) -> SwiftUI._SceneOutputs | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.View { | |
@inlinable public func onAppear(perform action: (() -> Swift.Void)? = nil) -> some SwiftUI.View { | |
return modifier( | |
_AppearanceActionModifier(appear: action, disappear: nil)) | |
} | |
@inlinable public func onDisappear(perform action: (() -> Swift.Void)? = nil) -> some SwiftUI.View { | |
return modifier( | |
_AppearanceActionModifier(appear: nil, disappear: action)) | |
} | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
public struct ToolbarItemGroup<Content> : SwiftUI.ToolbarContent where Content : SwiftUI.View { | |
public init(placement: SwiftUI.ToolbarItemPlacement = .automatic, @SwiftUI.ViewBuilder content: () -> Content) | |
public static func _makeContent(content: SwiftUI._GraphValue<SwiftUI.ToolbarItemGroup<Content>>, inputs: SwiftUI._GraphInputs, resolved: inout SwiftUI._ToolbarItemList) | |
public typealias Body = Swift.Never | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
extension SwiftUI.ToolbarItemGroup { | |
public init<C, L>(placement: SwiftUI.ToolbarItemPlacement = .automatic, @SwiftUI.ViewBuilder content: () -> C, @SwiftUI.ViewBuilder label: () -> L) where Content == SwiftUI.LabeledToolbarItemGroupContent<C, L>, C : SwiftUI.View, L : SwiftUI.View | |
} | |
@available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) | |
public struct LabeledToolbarItemGroupContent<Content, Label> : SwiftUI.View where Content : SwiftUI.View, Label : SwiftUI.View { | |
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI30LabeledToolbarItemGroupContentV4bodyQrvp", 0) __<Content, Label> | |
} | |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) | |
extension SwiftUI.View { | |
public func _ignoresAutomaticPadding(_ ignoresPadding: Swift.Bool) -> some SwiftUI.View | |
public func _automaticPadding(_ edgeInsets: SwiftUI.EdgeInsets? = nil) -> some SwiftUI.View | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
extension SwiftUI.ToggleStyle where Self == SwiftUI.SwitchToggleStyle { | |
@_alwaysEmitIntoClient public static var `switch`: SwiftUI.SwitchToggleStyle { | |
get { .init() } | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, watchOS 6.0, *) | |
@available(tvOS, unavailable) | |
public struct SwitchToggleStyle : SwiftUI.ToggleStyle { | |
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, unavailable) | |
@available(watchOS, introduced: 7.0, deprecated: 100000.0, message: "Use ``View/tint(_)`` instead.") | |
public init(tint: SwiftUI.Color) | |
public func makeBody(configuration: SwiftUI.SwitchToggleStyle.Configuration) -> some SwiftUI.View | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI17SwitchToggleStyleV8makeBody13configurationQrAA0dE13ConfigurationV_tF", 0) __ | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI.CommandsBuilder { | |
@_alwaysEmitIntoClient public static func buildIf<C>(_ content: C?) -> C? where C : SwiftUI.Commands { | |
content | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(first: T) -> SwiftUI._ConditionalContent<T, F> where T : SwiftUI.Commands, F : SwiftUI.Commands { | |
_ConditionalContent<T, F>(storage: .trueContent(first)) | |
} | |
@_alwaysEmitIntoClient public static func buildEither<T, F>(second: F) -> SwiftUI._ConditionalContent<T, F> where T : SwiftUI.Commands, F : SwiftUI.Commands { | |
_ConditionalContent<T, F>(storage: .falseContent(second)) | |
} | |
@_alwaysEmitIntoClient public static func buildLimitedAvailability<C>(_ content: C) -> some SwiftUI.Commands where C : SwiftUI.Commands { | |
content | |
} | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension SwiftUI._ConditionalContent : SwiftUI.Commands where TrueContent : SwiftUI.Commands, FalseContent : SwiftUI.Commands { | |
public static func _makeCommands(content: SwiftUI._GraphValue<SwiftUI._ConditionalContent<TrueContent, FalseContent>>, inputs: SwiftUI._CommandsInputs) -> SwiftUI._CommandsOutputs | |
@usableFromInline | |
internal init(storage: SwiftUI._ConditionalContent<TrueContent, FalseContent>.Storage) | |
} | |
@available(iOS 16.0, macOS 13.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
extension Swift.Optional : SwiftUI.Commands where Wrapped : SwiftUI.Commands { | |
public static func _makeCommands(content: SwiftUI._GraphValue<Swift.Optional<Wrapped>>, inputs: SwiftUI._CommandsInputs) -> SwiftUI._CommandsOutputs | |
} | |
@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) | |
extension SwiftUI.NavigationViewStyle where Self == SwiftUI.ColumnNavigationViewStyle { | |
@_alwaysEmitIntoClient public static var columns: SwiftUI.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) | |
public struct ColumnNavigationViewStyle : SwiftUI.NavigationViewStyle { | |
@usableFromInline | |
internal init() | |
public func _body(configuration: SwiftUI._NavigationViewStyleConfiguration) -> some SwiftUI.View | |
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) | |
public func _columnBasedBody(configuration: SwiftUI._NavigationViewStyleConfiguration) -> some SwiftUI.View | |
public typealias _Body = @_opaqueReturnTypeOf("$s7SwiftUI25ColumnNavigationViewStyleV5_body13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
public typealias _Body2 = @_opaqueReturnTypeOf("$s7SwiftUI25ColumnNavigationViewStyleV16_columnBasedBody13configurationQrAA01_deF13ConfigurationV_tF", 0) __ | |
} | |
@available(iOS 14.0, macOS 11.0, *) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct TextEditor : SwiftUI.View { | |
public init(text: SwiftUI.Binding<Swift.String>) | |
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View { | |
get | |
} | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI10TextEditorV4bodyQrvp", 0) __ | |
} | |
@available(macOS 13.0, *) | |
@available(iOS, unavailable) | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct Window<Content> : SwiftUI.Scene where Content : SwiftUI.View { | |
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.Scene { | |
get | |
} | |
public init(_ title: SwiftUI.Text, id: Swift.String, @SwiftUI.ViewBuilder content: () -> Content) | |
public init(_ titleKey: SwiftUI.LocalizedStringKey, id: Swift.String, @SwiftUI.ViewBuilder content: () -> Content) | |
@_disfavoredOverload public init<S>(_ title: S, id: Swift.String, @SwiftUI.ViewBuilder content: () -> Content) where S : Swift.StringProtocol | |
public typealias Body = @_opaqueReturnTypeOf("$s7SwiftUI6WindowV4bodyQrvp", 0) __<Content> | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
@frozen public struct ProjectionTransform { | |
public var m11: CoreFoundation.CGFloat = 1.0, m12: CoreFoundation.CGFloat = 0.0, m13: CoreFoundation.CGFloat = 0.0 | |
public var m21: CoreFoundation.CGFloat = 0.0, m22: CoreFoundation.CGFloat = 1.0, m23: CoreFoundation.CGFloat = 0.0 | |
public var m31: CoreFoundation.CGFloat = 0.0, m32: CoreFoundation.CGFloat = 0.0, m33: CoreFoundation.CGFloat = 1.0 | |
@inlinable public init() {} | |
@inlinable public init(_ m: CoreFoundation.CGAffineTransform) { | |
m11 = m.a | |
m12 = m.b | |
m21 = m.c | |
m22 = m.d | |
m31 = m.tx | |
m32 = m.ty | |
} | |
@inlinable public init(_ m: QuartzCore.CATransform3D) { | |
m11 = m.m11 | |
m12 = m.m12 | |
m13 = m.m14 | |
m21 = m.m21 | |
m22 = m.m22 | |
m23 = m.m24 | |
m31 = m.m41 | |
m32 = m.m42 | |
m33 = m.m44 | |
} | |
@inlinable public var isIdentity: Swift.Bool { | |
get { | |
return self == ProjectionTransform() | |
} | |
} | |
@inlinable public var isAffine: Swift.Bool { | |
get { | |
return m13 == 0 && m23 == 0 && m33 == 1 | |
} | |
} | |
public mutating func invert() -> Swift.Bool | |
public func inverted() -> SwiftUI.ProjectionTransform | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ProjectionTransform : Swift.Equatable { | |
public static func == (a: SwiftUI.ProjectionTransform, b: SwiftUI.ProjectionTransform) -> Swift.Bool | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension SwiftUI.ProjectionTransform { | |
@inline(__always) @inlinable internal func dot(_ a: (CoreFoundation.CGFloat, CoreFoundation.CGFloat, CoreFoundation.CGFloat), _ b: (CoreFoundation.CGFloat, CoreFoundation.CGFloat, CoreFoundation.CGFloat)) -> CoreFoundation.CGFloat { | |
return a.0 * b.0 + a.1 * b.1 + a.2 * b.2 | |
} | |
@inlinable public func concatenating(_ rhs: SwiftUI.ProjectionTransform) -> SwiftUI.ProjectionTransform { | |
var m = ProjectionTransform() | |
m.m11 = dot((m11, m12, m13), (rhs.m11, rhs.m21, rhs.m31)) | |
m.m12 = dot((m11, m12, m13), (rhs.m12, rhs.m22, rhs.m32)) | |
m.m13 = dot((m11, m12, m13), (rhs.m13, rhs.m23, rhs.m33)) | |
m.m21 = dot((m21, m22, m23), (rhs.m11, rhs.m21, rhs.m31)) | |
m.m22 = dot((m21, m22, m23), (rhs.m12, rhs.m22, rhs.m32)) | |
m.m23 = dot((m21, m22, m23), (rhs.m13, rhs.m23, rhs.m33)) | |
m.m31 = dot((m31, m32, m33), (rhs.m11, rhs.m21, rhs.m31)) | |
m.m32 = dot((m31, m32, m33), (rhs.m12, rhs.m22, rhs.m32)) | |
m.m33 = dot((m31, m32, m33), (rhs.m13, rhs.m23, rhs.m33)) | |
return m | |
} | |
} | |
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) | |
extension CoreFoundation.CGPoint { | |
public func applying(_ m: SwiftUI.ProjectionTransform) -> CoreFoundation.CGPoint | |
} | |
@available(iOS, unavailable) | |
@available(macOS, introduced: 10.15, deprecated: 100000.0, message: "Use `Menu` instead.") | |
@available(tvOS, unavailable) | |
@available(watchOS, unavailable) | |
public struct MenuButton<Label, Content> : SwiftUI.View where Label : SwiftUI.View, Content : SwiftUI.View { | |
public init(label: Label, @SwiftUI.ViewBuilder content: () -> Content) | |
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View { | |
get | |
} | |
public typealias Body = @_opaqueReturn |