| 1 | // swift-interface-format-version: 1.0 |
| 2 | // swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.2 clang-2100.0.123.2) |
| 3 | // swift-module-flags: -target arm64e-apple-ios26.5 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -library-level api -enable-upcoming-feature InternalImportsByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -user-module-version 664.5.28.100 -module-name WidgetKit -package-name com.apple.chrono.internal |
| 4 | // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 |
| 5 | public import ActivityKit |
| 6 | public import AppIntents |
| 7 | @_exported public import DeveloperToolsSupport |
| 1 | // swift-interface-format-version: 1.0 |
| 2 | // swift-compiler-version: Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.19.103 clang-2100.3.19.4) |
| 3 | // swift-module-flags: -target arm64e-apple-ios27.0 -enable-objc-interop -enable-library-evolution -language-mode 5 -O -library-level api -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -user-module-version 721 -module-name WidgetKit -package-name com.apple.chrono.internal |
| 4 | // swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.4 |
| 5 | public import ActivityKit |
| 6 | public import AppIntents |
| 7 | @_exported public import DeveloperToolsSupport |
| 18 | @available(watchOS, unavailable) |
| 19 | @available(macOS, unavailable) |
| 20 | @available(tvOS, unavailable) |
| 21 | public struct WidgetTexture : Swift.Sendable, Swift.Hashable { |
| 22 | public static let glass: WidgetKit.WidgetTexture |
| 23 | public static let paper: WidgetKit.WidgetTexture |
| 24 | public static func == (a: WidgetKit.WidgetTexture, b: WidgetKit.WidgetTexture) -> Swift.Bool |
| 25 | public func hash(into hasher: inout Swift.Hasher) |
| 26 | public var hashValue: Swift.Int { |
| 27 | get |
| 28 | } |
| 29 | } |
| 30 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 31 | @available(tvOS, unavailable) |
| 32 | public struct TimelineEntryRelevance : Swift.Codable, Swift.Hashable { |
| 33 | public var score: Swift.Float |
| 34 | public var duration: Foundation.TimeInterval |
| 35 | public init(score: Swift.Float, duration: Foundation.TimeInterval = 0.0) |
| 36 | public static func == (a: WidgetKit.TimelineEntryRelevance, b: WidgetKit.TimelineEntryRelevance) -> Swift.Bool |
| 37 | public func encode(to encoder: any Swift.Encoder) throws |
| 38 | public func hash(into hasher: inout Swift.Hasher) |
| 39 | public var hashValue: Swift.Int { |
| 40 | get |
| 41 | } |
| 42 | public init(from decoder: any Swift.Decoder) throws |
| 43 | } |
| 44 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 45 | @available(tvOS, unavailable) |
| 46 | public protocol TimelineEntry { |
| 47 | var date: Foundation.Date { get } |
| 48 | var relevance: WidgetKit.TimelineEntryRelevance? { get } |
| 49 | } |
| 50 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 51 | @available(tvOS, unavailable) |
| 52 | extension WidgetKit.TimelineEntry { |
| 53 | public var relevance: WidgetKit.TimelineEntryRelevance? { |
| 54 | get |
| 55 | } |
| 56 | } |
| 57 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 58 | @available(tvOS, unavailable) |
| 59 | public struct WidgetRelevance<Configuration> { |
| 60 | public init(_ attributes: [WidgetKit.WidgetRelevanceAttribute<Configuration>]) |
| 61 | } |
| 62 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 63 | @available(tvOS, unavailable) |
| 64 | @_Concurrency.MainActor @preconcurrency public struct AppIntentConfiguration<Intent, Content> : SwiftUI.WidgetConfiguration where Intent : AppIntents.WidgetConfigurationIntent, Content : SwiftUICore.View { |
| 65 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.WidgetConfiguration { |
| 66 | get |
| 67 | } |
| 68 | @available(iOS 17.0, watchOS 10.0, visionOS 26.0, macOS 14.0, *) |
| 69 | @available(tvOS, unavailable) |
| 70 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit22AppIntentConfigurationV4bodyQrvp", 0) __<Intent, Content> |
| 71 | } |
| 72 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 73 | @available(tvOS, unavailable) |
| 74 | public struct AppIntentRecommendation<Intent> where Intent : AppIntents.WidgetConfigurationIntent { |
| 75 | public init(intent: Intent, description: SwiftUICore.Text) |
| 76 | public init(intent: Intent, description: SwiftUICore.LocalizedStringKey) |
| 77 | @_disfavoredOverload @_alwaysEmitIntoClient public init(intent: Intent, description: Foundation.LocalizedStringResource) { |
| 78 | self.init( |
| 79 | intent: intent, |
| 80 | description: Text(description) |
| 18 | @available(watchOS, unavailable) |
| 19 | @available(macOS, unavailable) |
| 20 | @available(tvOS, unavailable) |
| 21 | public struct WidgetTexture : Swift::Sendable, Swift::Hashable { |
| 22 | public static let glass: WidgetKit::WidgetTexture |
| 23 | public static let paper: WidgetKit::WidgetTexture |
| 24 | public static func == (a: WidgetKit::WidgetTexture, b: WidgetKit::WidgetTexture) -> Swift::Bool |
| 25 | public func hash(into hasher: inout Swift::Hasher) |
| 26 | public var hashValue: Swift::Int { |
| 27 | get |
| 28 | } |
| 29 | } |
| 30 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 31 | @available(tvOS, unavailable) |
| 32 | public struct TimelineEntryRelevance : Swift::Codable, Swift::Hashable { |
| 33 | public var score: Swift::Float |
| 34 | public var duration: Foundation::TimeInterval |
| 35 | public init(score: Swift::Float, duration: Foundation::TimeInterval = 0.0) |
| 36 | public static func == (a: WidgetKit::TimelineEntryRelevance, b: WidgetKit::TimelineEntryRelevance) -> Swift::Bool |
| 37 | public func encode(to encoder: any Swift::Encoder) throws |
| 38 | public func hash(into hasher: inout Swift::Hasher) |
| 39 | public var hashValue: Swift::Int { |
| 40 | get |
| 41 | } |
| 42 | public init(from decoder: any Swift::Decoder) throws |
| 43 | } |
| 44 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 45 | @available(tvOS, unavailable) |
| 46 | public protocol TimelineEntry { |
| 47 | var date: Foundation::Date { get } |
| 48 | var relevance: WidgetKit::TimelineEntryRelevance? { get } |
| 49 | } |
| 50 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 51 | @available(tvOS, unavailable) |
| 52 | extension WidgetKit::TimelineEntry { |
| 53 | public var relevance: WidgetKit::TimelineEntryRelevance? { |
| 54 | get |
| 55 | } |
| 56 | } |
| 57 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 58 | @available(tvOS, unavailable) |
| 59 | public struct WidgetRelevance<Configuration> { |
| 60 | public init(_ attributes: [WidgetKit::WidgetRelevanceAttribute<Configuration>]) |
| 61 | } |
| 62 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 63 | @available(tvOS, unavailable) |
| 64 | @_Concurrency::MainActor @preconcurrency public struct AppIntentConfiguration<Intent, Content> : SwiftUI::WidgetConfiguration where Intent : AppIntents::WidgetConfigurationIntent, Content : SwiftUICore::View { |
| 65 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::WidgetConfiguration { |
| 66 | get |
| 67 | } |
| 68 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, visionOS 26.0, *) |
| 69 | @available(tvOS, unavailable) |
| 70 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit22AppIntentConfigurationV4bodyQrvp", 0) __<Intent, Content> |
| 71 | } |
| 72 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 73 | @available(tvOS, unavailable) |
| 74 | public struct AppIntentRecommendation<Intent> where Intent : AppIntents::WidgetConfigurationIntent { |
| 75 | public init(intent: Intent, description: SwiftUICore::Text) |
| 76 | public init(intent: Intent, description: SwiftUICore::LocalizedStringKey) |
| 77 | @_disfavoredOverload @_alwaysEmitIntoClient public init(intent: Intent, description: Foundation::LocalizedStringResource) { |
| 78 | self.init( |
| 79 | intent: intent, |
| 80 | description: Text(description) |
| 84 | } |
| 85 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 86 | @available(tvOS, unavailable) |
| 87 | extension WidgetKit.AppIntentConfiguration { |
| 88 | @_Concurrency.MainActor @preconcurrency public init<Provider>(kind: Swift.String, intent: Intent.Type = Intent.self, provider: Provider, @SwiftUICore.ViewBuilder content: @escaping (Provider.Entry) -> Content) where Intent == Provider.Intent, Provider : WidgetKit.AppIntentTimelineProvider |
| 89 | } |
| 90 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 91 | @available(tvOS, unavailable) |
| 92 | @preconcurrency public struct WidgetInfo : Swift.Sendable { |
| 93 | public let configuration: Intents.INIntent? |
| 94 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 95 | @available(tvOS, unavailable) |
| 96 | public func widgetConfigurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : AppIntents.WidgetConfigurationIntent |
| 97 | public let family: WidgetKit.WidgetFamily |
| 98 | public let kind: Swift.String |
| 99 | } |
| 100 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 101 | @available(tvOS, unavailable) |
| 102 | extension WidgetKit.WidgetInfo : Swift.Identifiable, Swift.Hashable, Swift.Equatable { |
| 103 | public var id: WidgetKit.WidgetInfo { |
| 104 | get |
| 105 | } |
| 106 | public static func == (a: WidgetKit.WidgetInfo, b: WidgetKit.WidgetInfo) -> Swift.Bool |
| 107 | public func hash(into hasher: inout Swift.Hasher) |
| 108 | @available(iOS 14.0, watchOS 9.0, visionOS 26.0, macOS 11.0, *) |
| 109 | @available(tvOS, unavailable) |
| 110 | public typealias ID = WidgetKit.WidgetInfo |
| 111 | public var hashValue: Swift.Int { |
| 112 | get |
| 113 | } |
| 114 | } |
| 115 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 116 | @available(tvOS, unavailable) |
| 117 | extension WidgetKit.WidgetInfo : Swift.CustomDebugStringConvertible { |
| 118 | public var debugDescription: Swift.String { |
| 119 | get |
| 120 | } |
| 121 | } |
| 122 | @available(iOS 26.0, visionOS 26.0, *) |
| 123 | @available(macOS, unavailable) |
| 124 | @available(watchOS, unavailable) |
| 125 | @available(tvOS, unavailable) |
| 126 | public struct WidgetMountingStyle : Swift.Sendable, Swift.Hashable { |
| 127 | public static let elevated: WidgetKit.WidgetMountingStyle |
| 128 | public static let recessed: WidgetKit.WidgetMountingStyle |
| 129 | public static func == (a: WidgetKit.WidgetMountingStyle, b: WidgetKit.WidgetMountingStyle) -> Swift.Bool |
| 130 | public func hash(into hasher: inout Swift.Hasher) |
| 131 | public var hashValue: Swift.Int { |
| 132 | get |
| 133 | } |
| 134 | } |
| 135 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 136 | @available(tvOS, unavailable) |
| 137 | @_Concurrency.MainActor @preconcurrency public struct StaticConfiguration<Content> : SwiftUI.WidgetConfiguration where Content : SwiftUICore.View { |
| 138 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.WidgetConfiguration { |
| 139 | get |
| 140 | } |
| 141 | @available(iOS 14.0, watchOS 9.0, visionOS 26.0, macOS 11.0, *) |
| 142 | @available(tvOS, unavailable) |
| 143 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit19StaticConfigurationV4bodyQrvp", 0) __<Content> |
| 144 | } |
| 145 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 146 | @available(tvOS, unavailable) |
| 147 | extension WidgetKit.StaticConfiguration { |
| 148 | @_Concurrency.MainActor @preconcurrency public init<Provider>(kind: Swift.String, provider: Provider, @SwiftUICore.ViewBuilder content: @escaping (Provider.Entry) -> Content) where Provider : WidgetKit.TimelineProvider |
| 149 | } |
| 150 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 151 | @available(tvOS, unavailable) |
| 152 | public struct WidgetRelevanceGroup { |
| 153 | } |
| 154 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 155 | @available(tvOS, unavailable) |
| 156 | extension WidgetKit.WidgetRelevanceGroup { |
| 157 | public static func named(_ name: Swift.String) -> WidgetKit.WidgetRelevanceGroup |
| 158 | public static let ungrouped: WidgetKit.WidgetRelevanceGroup |
| 159 | public static let automatic: WidgetKit.WidgetRelevanceGroup |
| 160 | } |
| 161 | extension SwiftUICore.EnvironmentValues { |
| 162 | @available(iOS 18.0, *) |
| 163 | @available(macOS, unavailable) |
| 164 | @available(macCatalyst, unavailable) |
| 165 | @available(tvOS, unavailable) |
| 166 | @available(watchOS, unavailable) |
| 167 | @available(visionOS, unavailable) |
| 168 | public var isActivityUpdateReduced: Swift.Bool { |
| 169 | get |
| 170 | set |
| 171 | } |
| 172 | } |
| 173 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 26.0, *) |
| 174 | @available(tvOS, unavailable) |
| 175 | public struct WidgetAccentedRenderingMode : Swift.Hashable { |
| 176 | public static let accented: WidgetKit.WidgetAccentedRenderingMode |
| 177 | public static let desaturated: WidgetKit.WidgetAccentedRenderingMode |
| 178 | public static let accentedDesaturated: WidgetKit.WidgetAccentedRenderingMode |
| 179 | public static let fullColor: WidgetKit.WidgetAccentedRenderingMode |
| 180 | public static func == (a: WidgetKit.WidgetAccentedRenderingMode, b: WidgetKit.WidgetAccentedRenderingMode) -> Swift.Bool |
| 181 | public func hash(into hasher: inout Swift.Hasher) |
| 182 | public var hashValue: Swift.Int { |
| 183 | get |
| 184 | } |
| 185 | } |
| 186 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 26.0, *) |
| 187 | @available(tvOS, unavailable) |
| 188 | extension SwiftUICore.Image { |
| 189 | public func widgetAccentedRenderingMode(_ renderingMode: WidgetKit.WidgetAccentedRenderingMode?) -> some SwiftUICore.View |
| 190 | |
| 191 | } |
| 192 | @_hasMissingDesignatedInitializers @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 193 | @available(tvOS, unavailable) |
| 194 | @available(visionOS, unavailable) |
| 195 | public class ControlCenter { |
| 196 | public static let shared: WidgetKit.ControlCenter |
| 197 | public func currentControls() async throws -> [WidgetKit.ControlInfo] |
| 198 | public func reloadControls(ofKind kind: Swift.String) |
| 199 | public func reloadAllControls() |
| 200 | @objc deinit |
| 201 | } |
| 202 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 203 | @available(tvOS, unavailable) |
| 204 | @available(visionOS, unavailable) |
| 205 | public struct ControlInfo { |
| 206 | public func configurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : AppIntents.ControlConfigurationIntent |
| 207 | public let kind: Swift.String |
| 208 | public var pushInfo: WidgetKit.ControlPushInfo? |
| 209 | } |
| 210 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 211 | @available(tvOS, unavailable) |
| 212 | @available(visionOS, unavailable) |
| 213 | extension WidgetKit.ControlInfo : Swift.Identifiable, Swift.Hashable, Swift.Equatable { |
| 214 | public var id: Swift.String { |
| 215 | get |
| 216 | } |
| 217 | public static func == (lhs: WidgetKit.ControlInfo, rhs: WidgetKit.ControlInfo) -> Swift.Bool |
| 218 | public func hash(into hasher: inout Swift.Hasher) |
| 219 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 220 | @available(tvOS, unavailable) |
| 221 | @available(visionOS, unavailable) |
| 222 | public typealias ID = Swift.String |
| 223 | public var hashValue: Swift.Int { |
| 224 | get |
| 225 | } |
| 226 | } |
| 227 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 228 | @available(tvOS, unavailable) |
| 229 | extension SwiftUICore.EnvironmentValues { |
| 230 | public var widgetFamily: WidgetKit.WidgetFamily { |
| 231 | get |
| 232 | } |
| 233 | } |
| 234 | @available(iOS 26.0, visionOS 26.0, *) |
| 235 | @available(tvOS, unavailable) |
| 236 | @available(macOS, unavailable) |
| 237 | @available(watchOS, unavailable) |
| 238 | public struct LevelOfDetail : Swift.Equatable { |
| 239 | public static let `default`: WidgetKit.LevelOfDetail |
| 240 | public static let simplified: WidgetKit.LevelOfDetail |
| 241 | public static func == (a: WidgetKit.LevelOfDetail, b: WidgetKit.LevelOfDetail) -> Swift.Bool |
| 242 | } |
| 243 | @available(iOS 26.0, visionOS 26.0, *) |
| 244 | @available(tvOS, unavailable) |
| 245 | @available(macOS, unavailable) |
| 246 | @available(watchOS, unavailable) |
| 247 | extension SwiftUICore.EnvironmentValues { |
| 248 | public var levelOfDetail: WidgetKit.LevelOfDetail { |
| 249 | get |
| 250 | set |
| 251 | } |
| 84 | } |
| 85 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 86 | @available(tvOS, unavailable) |
| 87 | extension WidgetKit::AppIntentConfiguration { |
| 88 | @_Concurrency::MainActor @preconcurrency public init<Provider>(kind: Swift::String, intent: Intent.Type = Intent.self, provider: Provider, @SwiftUICore::ViewBuilder content: @escaping (Provider.Entry) -> Content) where Intent == Provider.Intent, Provider : WidgetKit::AppIntentTimelineProvider |
| 89 | } |
| 90 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 91 | @available(tvOS, unavailable) |
| 92 | @preconcurrency public struct WidgetInfo : Swift::Sendable { |
| 93 | public let configuration: Intents::INIntent? |
| 94 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 95 | @available(tvOS, unavailable) |
| 96 | public func widgetConfigurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : AppIntents::WidgetConfigurationIntent |
| 97 | public let family: WidgetKit::WidgetFamily |
| 98 | public let kind: Swift::String |
| 99 | } |
| 100 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 101 | @available(tvOS, unavailable) |
| 102 | extension WidgetKit::WidgetInfo : Swift::Identifiable, Swift::Hashable, Swift::Equatable { |
| 103 | public var id: WidgetKit::WidgetInfo { |
| 104 | get |
| 105 | } |
| 106 | public static func == (a: WidgetKit::WidgetInfo, b: WidgetKit::WidgetInfo) -> Swift::Bool |
| 107 | public func hash(into hasher: inout Swift::Hasher) |
| 108 | @available(macOS 11.0, iOS 14.0, watchOS 9.0, visionOS 26.0, *) |
| 109 | @available(tvOS, unavailable) |
| 110 | public typealias ID = WidgetKit::WidgetInfo |
| 111 | public var hashValue: Swift::Int { |
| 112 | get |
| 113 | } |
| 114 | } |
| 115 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 116 | @available(tvOS, unavailable) |
| 117 | extension WidgetKit::WidgetInfo : Swift::CustomDebugStringConvertible { |
| 118 | public var debugDescription: Swift::String { |
| 119 | get |
| 120 | } |
| 121 | } |
| 122 | @available(iOS 26.0, visionOS 26.0, *) |
| 123 | @available(macOS, unavailable) |
| 124 | @available(watchOS, unavailable) |
| 125 | @available(tvOS, unavailable) |
| 126 | public struct WidgetMountingStyle : Swift::Sendable, Swift::Hashable { |
| 127 | public static let elevated: WidgetKit::WidgetMountingStyle |
| 128 | public static let recessed: WidgetKit::WidgetMountingStyle |
| 129 | public static func == (a: WidgetKit::WidgetMountingStyle, b: WidgetKit::WidgetMountingStyle) -> Swift::Bool |
| 130 | public func hash(into hasher: inout Swift::Hasher) |
| 131 | public var hashValue: Swift::Int { |
| 132 | get |
| 133 | } |
| 134 | } |
| 135 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 136 | @available(tvOS, unavailable) |
| 137 | @_Concurrency::MainActor @preconcurrency public struct StaticConfiguration<Content> : SwiftUI::WidgetConfiguration where Content : SwiftUICore::View { |
| 138 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::WidgetConfiguration { |
| 139 | get |
| 140 | } |
| 141 | @available(macOS 11.0, iOS 14.0, watchOS 9.0, visionOS 26.0, *) |
| 142 | @available(tvOS, unavailable) |
| 143 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit19StaticConfigurationV4bodyQrvp", 0) __<Content> |
| 144 | } |
| 145 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 146 | @available(tvOS, unavailable) |
| 147 | extension WidgetKit::StaticConfiguration { |
| 148 | @_Concurrency::MainActor @preconcurrency public init<Provider>(kind: Swift::String, provider: Provider, @SwiftUICore::ViewBuilder content: @escaping (Provider.Entry) -> Content) where Provider : WidgetKit::TimelineProvider |
| 149 | } |
| 150 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 151 | @available(tvOS, unavailable) |
| 152 | public struct WidgetRelevanceGroup { |
| 153 | } |
| 154 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 155 | @available(tvOS, unavailable) |
| 156 | extension WidgetKit::WidgetRelevanceGroup { |
| 157 | public static func named(_ name: Swift::String) -> WidgetKit::WidgetRelevanceGroup |
| 158 | public static let ungrouped: WidgetKit::WidgetRelevanceGroup |
| 159 | public static let automatic: WidgetKit::WidgetRelevanceGroup |
| 160 | } |
| 161 | extension SwiftUICore::EnvironmentValues { |
| 162 | @available(iOS 18.0, *) |
| 163 | @available(macOS, unavailable) |
| 164 | @available(macCatalyst, unavailable) |
| 165 | @available(tvOS, unavailable) |
| 166 | @available(watchOS, unavailable) |
| 167 | @available(visionOS, unavailable) |
| 168 | public var isActivityUpdateReduced: Swift::Bool { |
| 169 | get |
| 170 | set |
| 171 | } |
| 172 | } |
| 173 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 26.0, *) |
| 174 | @available(tvOS, unavailable) |
| 175 | public struct WidgetAccentedRenderingMode : Swift::Hashable { |
| 176 | public static let accented: WidgetKit::WidgetAccentedRenderingMode |
| 177 | public static let desaturated: WidgetKit::WidgetAccentedRenderingMode |
| 178 | public static let accentedDesaturated: WidgetKit::WidgetAccentedRenderingMode |
| 179 | public static let fullColor: WidgetKit::WidgetAccentedRenderingMode |
| 180 | public static func == (a: WidgetKit::WidgetAccentedRenderingMode, b: WidgetKit::WidgetAccentedRenderingMode) -> Swift::Bool |
| 181 | public func hash(into hasher: inout Swift::Hasher) |
| 182 | public var hashValue: Swift::Int { |
| 183 | get |
| 184 | } |
| 185 | } |
| 186 | @available(iOS 18.0, watchOS 11.0, macOS 15.0, visionOS 26.0, *) |
| 187 | @available(tvOS, unavailable) |
| 188 | extension SwiftUICore::Image { |
| 189 | public func widgetAccentedRenderingMode(_ renderingMode: WidgetKit::WidgetAccentedRenderingMode?) -> some SwiftUICore::View |
| 190 | |
| 191 | } |
| 192 | @_hasMissingDesignatedInitializers @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 193 | @available(tvOS, unavailable) |
| 194 | @available(visionOS, unavailable) |
| 195 | public class ControlCenter { |
| 196 | public static let shared: WidgetKit::ControlCenter |
| 197 | public func currentControls() async throws -> [WidgetKit::ControlInfo] |
| 198 | public func reloadControls(ofKind kind: Swift::String) |
| 199 | public func reloadAllControls() |
| 200 | @objc deinit |
| 201 | } |
| 202 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 203 | @available(tvOS, unavailable) |
| 204 | @available(visionOS, unavailable) |
| 205 | public struct ControlInfo { |
| 206 | public func configurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : AppIntents::ControlConfigurationIntent |
| 207 | public let kind: Swift::String |
| 208 | public var pushInfo: WidgetKit::ControlPushInfo? |
| 209 | } |
| 210 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 211 | @available(tvOS, unavailable) |
| 212 | @available(visionOS, unavailable) |
| 213 | extension WidgetKit::ControlInfo : Swift::Identifiable, Swift::Hashable, Swift::Equatable { |
| 214 | public var id: Swift::String { |
| 215 | get |
| 216 | } |
| 217 | public static func == (lhs: WidgetKit::ControlInfo, rhs: WidgetKit::ControlInfo) -> Swift::Bool |
| 218 | public func hash(into hasher: inout Swift::Hasher) |
| 219 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 220 | @available(tvOS, unavailable) |
| 221 | @available(visionOS, unavailable) |
| 222 | public typealias ID = Swift::String |
| 223 | public var hashValue: Swift::Int { |
| 224 | get |
| 225 | } |
| 226 | } |
| 227 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 228 | @available(tvOS, unavailable) |
| 229 | extension SwiftUICore::EnvironmentValues { |
| 230 | public var widgetFamily: WidgetKit::WidgetFamily { |
| 231 | get |
| 232 | } |
| 233 | } |
| 234 | @available(iOS 26.0, visionOS 26.0, *) |
| 235 | @available(tvOS, unavailable) |
| 236 | @available(macOS, unavailable) |
| 237 | @available(watchOS, unavailable) |
| 238 | public struct LevelOfDetail : Swift::Equatable { |
| 239 | public static let `default`: WidgetKit::LevelOfDetail |
| 240 | public static let simplified: WidgetKit::LevelOfDetail |
| 241 | public static func == (a: WidgetKit::LevelOfDetail, b: WidgetKit::LevelOfDetail) -> Swift::Bool |
| 242 | } |
| 243 | @available(iOS 26.0, visionOS 26.0, *) |
| 244 | @available(tvOS, unavailable) |
| 245 | @available(macOS, unavailable) |
| 246 | @available(watchOS, unavailable) |
| 247 | extension SwiftUICore::EnvironmentValues { |
| 248 | public var levelOfDetail: WidgetKit::LevelOfDetail { |
| 249 | get |
| 250 | set |
| 251 | } |
| 255 | @available(macOS, unavailable) |
| 256 | @available(tvOS, unavailable) |
| 257 | @available(visionOS, unavailable) |
| 258 | @_Concurrency.MainActor @preconcurrency public struct RelevanceConfiguration<Content> : SwiftUI.WidgetConfiguration where Content : SwiftUICore.View { |
| 259 | @_Concurrency.MainActor @preconcurrency public init<Provider>(kind: Swift.String, provider: Provider, @SwiftUICore.ViewBuilder content: @escaping @_Concurrency.MainActor (Provider.Entry) -> Content) where Provider : WidgetKit.RelevanceEntriesProvider |
| 260 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.WidgetConfiguration { |
| 261 | get |
| 262 | } |
| 263 | @available(watchOS 26.0, *) |
| 264 | @available(iOS, unavailable) |
| 265 | @available(tvOS, unavailable) |
| 266 | @available(visionOS, unavailable) |
| 267 | @available(macOS, unavailable) |
| 268 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit22RelevanceConfigurationV4bodyQrvp", 0) __<Content> |
| 269 | } |
| 270 | @available(watchOS 26.0, *) |
| 255 | @available(macOS, unavailable) |
| 256 | @available(tvOS, unavailable) |
| 257 | @available(visionOS, unavailable) |
| 258 | @_Concurrency::MainActor @preconcurrency public struct RelevanceConfiguration<Content> : SwiftUI::WidgetConfiguration where Content : SwiftUICore::View { |
| 259 | @_Concurrency::MainActor @preconcurrency public init<Provider>(kind: Swift::String, provider: Provider, @SwiftUICore::ViewBuilder content: @escaping @_Concurrency::MainActor (Provider.Entry) -> Content) where Provider : WidgetKit::RelevanceEntriesProvider |
| 260 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::WidgetConfiguration { |
| 261 | get |
| 262 | } |
| 263 | @available(watchOS 26.0, *) |
| 264 | @available(macOS, unavailable) |
| 265 | @available(iOS, unavailable) |
| 266 | @available(tvOS, unavailable) |
| 267 | @available(visionOS, unavailable) |
| 268 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit22RelevanceConfigurationV4bodyQrvp", 0) __<Content> |
| 269 | } |
| 270 | @available(watchOS 26.0, *) |
| 273 | @available(tvOS, unavailable) |
| 274 | @available(visionOS, unavailable) |
| 275 | public protocol RelevanceEntriesProvider { |
| 276 | associatedtype Entry : WidgetKit.RelevanceEntry |
| 277 | associatedtype Configuration : AppIntents.WidgetConfigurationIntent |
| 278 | typealias Context = WidgetKit.RelevanceEntriesProviderContext |
| 279 | func relevance() async -> WidgetKit.WidgetRelevance<Self.Configuration> |
| 280 | func entry(configuration: Self.Configuration, context: Self.Context) async throws -> Self.Entry |
| 281 | func placeholder(context: Self.Context) -> Self.Entry |
| 282 | } |
| 273 | @available(tvOS, unavailable) |
| 274 | @available(visionOS, unavailable) |
| 275 | public protocol RelevanceEntriesProvider { |
| 276 | associatedtype Entry : WidgetKit::RelevanceEntry |
| 277 | associatedtype Configuration : AppIntents::WidgetConfigurationIntent |
| 278 | typealias Context = WidgetKit::RelevanceEntriesProviderContext |
| 279 | func relevance() async -> WidgetKit::WidgetRelevance<Self.Configuration> |
| 280 | func entry(configuration: Self.Configuration, context: Self.Context) async throws -> Self.Entry |
| 281 | func placeholder(context: Self.Context) -> Self.Entry |
| 282 | } |
| 286 | @available(tvOS, unavailable) |
| 287 | @available(visionOS, unavailable) |
| 288 | public struct RelevanceEntriesProviderContext { |
| 289 | public let displaySize: CoreFoundation.CGSize |
| 290 | public let isPreview: Swift.Bool |
| 291 | } |
| 292 | @available(watchOS 26.0, *) |
| 293 | @available(iOS, unavailable) |
| 294 | @available(macOS, unavailable) |
| 295 | @available(tvOS, unavailable) |
| 296 | @available(visionOS, unavailable) |
| 297 | public protocol RelevanceEntry : Swift.Sendable { |
| 298 | } |
| 299 | @available(iOS 16.1, *) |
| 300 | @available(macOS, unavailable) |
| 301 | @available(macCatalyst, unavailable) |
| 302 | @available(tvOS, unavailable) |
| 303 | @available(watchOS, unavailable) |
| 304 | @available(visionOS, unavailable) |
| 305 | public struct ActivityViewContext<Attributes> where Attributes : ActivityKit.ActivityAttributes { |
| 306 | public let activityID: Swift.String |
| 307 | public let attributes: Attributes |
| 308 | public let state: Attributes.ContentState |
| 309 | @available(iOS 16.2, macOS 26.0, macCatalyst 18.2, *) |
| 310 | @available(tvOS, unavailable) |
| 311 | @available(watchOS, unavailable) |
| 312 | @available(visionOS, unavailable) |
| 313 | public let isStale: Swift.Bool |
| 314 | } |
| 315 | @available(iOS 16.1, *) |
| 316 | @available(macOS, unavailable) |
| 317 | @available(macCatalyst, unavailable) |
| 318 | @available(tvOS, unavailable) |
| 319 | @available(watchOS, unavailable) |
| 320 | @available(visionOS, unavailable) |
| 321 | public struct DynamicIslandMode : Swift.Equatable { |
| 322 | public static let expanded: WidgetKit.DynamicIslandMode |
| 323 | public static let compactLeading: WidgetKit.DynamicIslandMode |
| 324 | public static let compactTrailing: WidgetKit.DynamicIslandMode |
| 325 | public static let minimal: WidgetKit.DynamicIslandMode |
| 326 | public static func == (a: WidgetKit.DynamicIslandMode, b: WidgetKit.DynamicIslandMode) -> Swift.Bool |
| 327 | } |
| 328 | @available(iOS 16.1, *) |
| 329 | @available(macOS, unavailable) |
| 286 | @available(tvOS, unavailable) |
| 287 | @available(visionOS, unavailable) |
| 288 | public struct RelevanceEntriesProviderContext { |
| 289 | public let displaySize: CoreFoundation::CGSize |
| 290 | public let isPreview: Swift::Bool |
| 291 | } |
| 292 | @available(watchOS 26.0, *) |
| 293 | @available(iOS, unavailable) |
| 294 | @available(macOS, unavailable) |
| 295 | @available(tvOS, unavailable) |
| 296 | @available(visionOS, unavailable) |
| 297 | public protocol RelevanceEntry : Swift::Sendable { |
| 298 | } |
| 299 | @available(iOS 16.1, *) |
| 300 | @available(macOS, unavailable) |
| 301 | @available(macCatalyst, unavailable) |
| 302 | @available(tvOS, unavailable) |
| 303 | @available(watchOS, unavailable) |
| 304 | @available(visionOS, unavailable) |
| 305 | public struct ActivityViewContext<Attributes> where Attributes : ActivityKit::ActivityAttributes { |
| 306 | public let activityID: Swift::String |
| 307 | public let attributes: Attributes |
| 308 | public let state: Attributes.ContentState |
| 309 | @available(iOS 16.2, macOS 26.0, macCatalyst 18.2, *) |
| 310 | @available(tvOS, unavailable) |
| 311 | @available(watchOS, unavailable) |
| 312 | @available(visionOS, unavailable) |
| 313 | public let isStale: Swift::Bool |
| 314 | } |
| 315 | @available(iOS 16.1, *) |
| 316 | @available(macOS, unavailable) |
| 317 | @available(macCatalyst, unavailable) |
| 318 | @available(tvOS, unavailable) |
| 319 | @available(watchOS, unavailable) |
| 320 | @available(visionOS, unavailable) |
| 321 | public struct DynamicIslandMode : Swift::Equatable { |
| 322 | public static let expanded: WidgetKit::DynamicIslandMode |
| 323 | public static let compactLeading: WidgetKit::DynamicIslandMode |
| 324 | public static let compactTrailing: WidgetKit::DynamicIslandMode |
| 325 | public static let minimal: WidgetKit::DynamicIslandMode |
| 326 | public static func == (a: WidgetKit::DynamicIslandMode, b: WidgetKit::DynamicIslandMode) -> Swift::Bool |
| 327 | } |
| 328 | @available(iOS 16.1, *) |
| 329 | @available(macOS, unavailable) |
| 332 | @available(watchOS, unavailable) |
| 333 | @available(visionOS, unavailable) |
| 334 | public struct DynamicIsland { |
| 335 | public init<Expanded, CompactLeading, CompactTrailing, Minimal>(@WidgetKit.DynamicIslandExpandedContentBuilder expanded: @escaping () -> WidgetKit.DynamicIslandExpandedContent<Expanded>, @SwiftUICore.ViewBuilder compactLeading: @escaping () -> CompactLeading, @SwiftUICore.ViewBuilder compactTrailing: @escaping () -> CompactTrailing, @SwiftUICore.ViewBuilder minimal: @escaping () -> Minimal) where Expanded : SwiftUICore.View, CompactLeading : SwiftUICore.View, CompactTrailing : SwiftUICore.View, Minimal : SwiftUICore.View |
| 336 | public func widgetURL(_ url: Foundation.URL?) -> WidgetKit.DynamicIsland |
| 337 | public func keylineTint(_ color: SwiftUICore.Color?) -> WidgetKit.DynamicIsland |
| 338 | public func contentMargins(_ edges: SwiftUICore.Edge.Set = .all, _ length: Swift.Double, for mode: WidgetKit.DynamicIslandMode) -> WidgetKit.DynamicIsland |
| 339 | } |
| 340 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 341 | @available(tvOS, unavailable) |
| 342 | public struct WidgetRelevanceAttribute<Configuration> { |
| 343 | } |
| 344 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 345 | @available(tvOS, unavailable) |
| 346 | extension WidgetKit.WidgetRelevanceAttribute where Configuration == () { |
| 347 | public init(context: RelevanceKit.RelevantContext) |
| 348 | public init(group: WidgetKit.WidgetRelevanceGroup) |
| 349 | } |
| 350 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 351 | @available(tvOS, unavailable) |
| 352 | extension WidgetKit.WidgetRelevanceAttribute where Configuration : AppIntents.WidgetConfigurationIntent { |
| 353 | public init(configuration: Configuration, context: RelevanceKit.RelevantContext) |
| 354 | public init(configuration: Configuration, group: WidgetKit.WidgetRelevanceGroup) |
| 355 | } |
| 356 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 357 | @available(tvOS, unavailable) |
| 358 | extension WidgetKit.WidgetRelevanceAttribute where Configuration : Intents.INIntent { |
| 359 | public init(configuration: Configuration, context: RelevanceKit.RelevantContext) |
| 360 | public init(configuration: Configuration, group: WidgetKit.WidgetRelevanceGroup) |
| 361 | } |
| 362 | @available(iOS 16.1, *) |
| 363 | @available(macOS, unavailable) |
| 364 | @available(macCatalyst, unavailable) |
| 365 | @available(tvOS, unavailable) |
| 366 | @available(watchOS, unavailable) |
| 367 | @available(visionOS, unavailable) |
| 368 | @_Concurrency.MainActor @preconcurrency public struct ActivityConfiguration<Attributes> : SwiftUI.WidgetConfiguration where Attributes : ActivityKit.ActivityAttributes { |
| 369 | @_Concurrency.MainActor @preconcurrency public init<Content>(for attributesType: Attributes.Type, @SwiftUICore.ViewBuilder content: @escaping (WidgetKit.ActivityViewContext<Attributes>) -> Content, dynamicIsland: @escaping (WidgetKit.ActivityViewContext<Attributes>) -> WidgetKit.DynamicIsland) where Content : SwiftUICore.View |
| 370 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.WidgetConfiguration { |
| 371 | get |
| 372 | } |
| 373 | @available(iOS 16.1, *) |
| 374 | @available(tvOS, unavailable) |
| 375 | @available(watchOS, unavailable) |
| 376 | @available(visionOS, unavailable) |
| 377 | @available(macOS, unavailable) |
| 378 | @available(macCatalyst, unavailable) |
| 379 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit21ActivityConfigurationV4bodyQrvp", 0) __<Attributes> |
| 380 | } |
| 381 | @available(iOS 16.1, *) |
| 332 | @available(watchOS, unavailable) |
| 333 | @available(visionOS, unavailable) |
| 334 | public struct DynamicIsland { |
| 335 | public init<Expanded, CompactLeading, CompactTrailing, Minimal>(@WidgetKit::DynamicIslandExpandedContentBuilder expanded: @escaping () -> WidgetKit::DynamicIslandExpandedContent<Expanded>, @SwiftUICore::ViewBuilder compactLeading: @escaping () -> CompactLeading, @SwiftUICore::ViewBuilder compactTrailing: @escaping () -> CompactTrailing, @SwiftUICore::ViewBuilder minimal: @escaping () -> Minimal) where Expanded : SwiftUICore::View, CompactLeading : SwiftUICore::View, CompactTrailing : SwiftUICore::View, Minimal : SwiftUICore::View |
| 336 | public func widgetURL(_ url: Foundation::URL?) -> WidgetKit::DynamicIsland |
| 337 | public func keylineTint(_ color: SwiftUICore::Color?) -> WidgetKit::DynamicIsland |
| 338 | public func contentMargins(_ edges: SwiftUICore::Edge.SwiftUICore::Set = .all, _ length: Swift::Double, for mode: WidgetKit::DynamicIslandMode) -> WidgetKit::DynamicIsland |
| 339 | } |
| 340 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 341 | @available(tvOS, unavailable) |
| 342 | public struct WidgetRelevanceAttribute<Configuration> { |
| 343 | } |
| 344 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 345 | @available(tvOS, unavailable) |
| 346 | extension WidgetKit::WidgetRelevanceAttribute where Configuration == () { |
| 347 | public init(context: RelevanceKit::RelevantContext) |
| 348 | public init(group: WidgetKit::WidgetRelevanceGroup) |
| 349 | } |
| 350 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 351 | @available(tvOS, unavailable) |
| 352 | extension WidgetKit::WidgetRelevanceAttribute where Configuration : AppIntents::WidgetConfigurationIntent { |
| 353 | public init(configuration: Configuration, context: RelevanceKit::RelevantContext) |
| 354 | public init(configuration: Configuration, group: WidgetKit::WidgetRelevanceGroup) |
| 355 | } |
| 356 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 357 | @available(tvOS, unavailable) |
| 358 | extension WidgetKit::WidgetRelevanceAttribute where Configuration : Intents::INIntent { |
| 359 | public init(configuration: Configuration, context: RelevanceKit::RelevantContext) |
| 360 | public init(configuration: Configuration, group: WidgetKit::WidgetRelevanceGroup) |
| 361 | } |
| 362 | @available(iOS 16.1, *) |
| 363 | @available(macOS, unavailable) |
| 364 | @available(macCatalyst, unavailable) |
| 365 | @available(tvOS, unavailable) |
| 366 | @available(watchOS, unavailable) |
| 367 | @available(visionOS, unavailable) |
| 368 | @_Concurrency::MainActor @preconcurrency public struct ActivityConfiguration<Attributes> : SwiftUI::WidgetConfiguration where Attributes : ActivityKit::ActivityAttributes { |
| 369 | @_Concurrency::MainActor @preconcurrency public init<Content>(for attributesType: Attributes.Type, @SwiftUICore::ViewBuilder content: @escaping (WidgetKit::ActivityViewContext<Attributes>) -> Content, dynamicIsland: @escaping (WidgetKit::ActivityViewContext<Attributes>) -> WidgetKit::DynamicIsland) where Content : SwiftUICore::View |
| 370 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::WidgetConfiguration { |
| 371 | get |
| 372 | } |
| 373 | @available(iOS 16.1, *) |
| 374 | @available(macOS, unavailable) |
| 375 | @available(tvOS, unavailable) |
| 376 | @available(watchOS, unavailable) |
| 377 | @available(macCatalyst, unavailable) |
| 378 | @available(visionOS, unavailable) |
| 379 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit21ActivityConfigurationV4bodyQrvp", 0) __<Attributes> |
| 380 | } |
| 381 | @available(iOS 16.1, *) |
| 384 | @available(tvOS, unavailable) |
| 385 | @available(watchOS, unavailable) |
| 386 | @available(visionOS, unavailable) |
| 387 | extension SwiftUICore.EnvironmentValues { |
| 388 | @available(iOS 17.0, *) |
| 389 | @available(macOS, unavailable) |
| 390 | @available(macCatalyst, unavailable) |
| 391 | @available(tvOS, unavailable) |
| 392 | @available(watchOS, unavailable) |
| 393 | @available(visionOS, unavailable) |
| 394 | @usableFromInline |
| 395 | internal struct ActivityFullScreenKey : SwiftUICore.EnvironmentKey { |
| 396 | @usableFromInline |
| 397 | internal static var defaultValue: Swift.Bool |
| 398 | @available(iOS 17.0, *) |
| 399 | @usableFromInline |
| 400 | @available(tvOS, unavailable, introduced: 13.0) |
| 401 | @available(watchOS, unavailable, introduced: 6.0) |
| 402 | @available(visionOS, unavailable) |
| 403 | @available(macOS, unavailable) |
| 404 | @available(macCatalyst, unavailable) |
| 405 | internal typealias Value = Swift.Bool |
| 406 | } |
| 407 | @available(iOS 16.1, *) |
| 408 | @backDeployed(before: iOS 17.0) |
| 384 | @available(tvOS, unavailable) |
| 385 | @available(watchOS, unavailable) |
| 386 | @available(visionOS, unavailable) |
| 387 | extension SwiftUICore::EnvironmentValues { |
| 388 | @available(iOS 17.0, *) |
| 389 | @available(macOS, unavailable) |
| 390 | @available(macCatalyst, unavailable) |
| 391 | @available(tvOS, unavailable) |
| 392 | @available(watchOS, unavailable) |
| 393 | @available(visionOS, unavailable) |
| 394 | @usableFromInline |
| 395 | internal struct ActivityFullScreenKey : SwiftUICore::EnvironmentKey { |
| 396 | @usableFromInline |
| 397 | internal static var defaultValue: Swift::Bool |
| 398 | @available(iOS 17.0, *) |
| 399 | @usableFromInline |
| 400 | @available(macOS, unavailable) |
| 401 | @available(tvOS, unavailable, introduced: 13.0) |
| 402 | @available(watchOS, unavailable, introduced: 6.0) |
| 403 | @available(macCatalyst, unavailable) |
| 404 | @available(visionOS, unavailable) |
| 405 | internal typealias Value = Swift::Bool |
| 406 | } |
| 407 | @available(iOS 16.1, *) |
| 408 | @backDeployed(before: iOS 17.0) |
| 411 | @available(tvOS, unavailable) |
| 412 | @available(watchOS, unavailable) |
| 413 | @available(visionOS, unavailable) |
| 414 | public var isActivityFullscreen: Swift.Bool { |
| 415 | get { |
| 416 | if #available(iOS 17.0, *) { |
| 417 | return self[ActivityFullScreenKey.self] |
| 411 | @available(tvOS, unavailable) |
| 412 | @available(watchOS, unavailable) |
| 413 | @available(visionOS, unavailable) |
| 414 | public var isActivityFullscreen: Swift::Bool { |
| 415 | get { |
| 416 | if #available(iOS 17.0, *) { |
| 417 | return self[ActivityFullScreenKey.self] |
| 427 | @available(tvOS, unavailable) |
| 428 | @available(watchOS, unavailable) |
| 429 | @available(visionOS, unavailable) |
| 430 | public struct DynamicIslandExpandedContent<Content> where Content : SwiftUICore.View { |
| 431 | @usableFromInline |
| 432 | internal var content: Content |
| 433 | @usableFromInline |
| 434 | internal init(@SwiftUICore.ViewBuilder content: () -> Content) |
| 435 | } |
| 436 | @available(iOS 16.1, *) |
| 437 | @available(macOS, unavailable) |
| 427 | @available(tvOS, unavailable) |
| 428 | @available(watchOS, unavailable) |
| 429 | @available(visionOS, unavailable) |
| 430 | public struct DynamicIslandExpandedContent<Content> where Content : SwiftUICore::View { |
| 431 | @usableFromInline |
| 432 | internal var content: Content |
| 433 | @usableFromInline |
| 434 | internal init(@SwiftUICore::ViewBuilder content: () -> Content) |
| 435 | } |
| 436 | @available(iOS 16.1, *) |
| 437 | @available(macOS, unavailable) |
| 440 | @available(watchOS, unavailable) |
| 441 | @available(visionOS, unavailable) |
| 442 | @_functionBuilder public struct DynamicIslandExpandedContentBuilder { |
| 443 | @_alwaysEmitIntoClient public static func buildPartialBlock<C>(first: WidgetKit.DynamicIslandExpandedRegion<C>) -> WidgetKit.DynamicIslandExpandedContent<some SwiftUICore.View> where C : SwiftUICore.View { |
| 444 | DynamicIslandExpandedContent { |
| 445 | first._viewRepresentation |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | @_alwaysEmitIntoClient public static func buildPartialBlock<C>(first: WidgetKit.DynamicIslandExpandedContent<C>) -> WidgetKit.DynamicIslandExpandedContent<some SwiftUICore.View> where C : SwiftUICore.View { |
| 450 | first |
| 451 | } |
| 452 | |
| 453 | @_alwaysEmitIntoClient public static func buildPartialBlock<C0, C1>(accumulated: WidgetKit.DynamicIslandExpandedContent<C0>, next: WidgetKit.DynamicIslandExpandedRegion<C1>) -> WidgetKit.DynamicIslandExpandedContent<some SwiftUICore.View> where C0 : SwiftUICore.View, C1 : SwiftUICore.View { |
| 454 | DynamicIslandExpandedContent { |
| 455 | accumulated.content |
| 456 | next._viewRepresentation |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | @_alwaysEmitIntoClient public static func buildPartialBlock<C0, C1>(accumulated: WidgetKit.DynamicIslandExpandedContent<C0>, next: WidgetKit.DynamicIslandExpandedContent<C1>) -> WidgetKit.DynamicIslandExpandedContent<some SwiftUICore.View> where C0 : SwiftUICore.View, C1 : SwiftUICore.View { |
| 461 | DynamicIslandExpandedContent { |
| 462 | accumulated.content |
| 463 | next.content |
| 440 | @available(watchOS, unavailable) |
| 441 | @available(visionOS, unavailable) |
| 442 | @_functionBuilder public struct DynamicIslandExpandedContentBuilder { |
| 443 | @_alwaysEmitIntoClient public static func buildPartialBlock<C>(first: WidgetKit::DynamicIslandExpandedRegion<C>) -> WidgetKit::DynamicIslandExpandedContent<some SwiftUICore::View> where C : SwiftUICore::View { |
| 444 | DynamicIslandExpandedContent { |
| 445 | first._viewRepresentation |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | @_alwaysEmitIntoClient public static func buildPartialBlock<C>(first: WidgetKit::DynamicIslandExpandedContent<C>) -> WidgetKit::DynamicIslandExpandedContent<some SwiftUICore::View> where C : SwiftUICore::View { |
| 450 | first |
| 451 | } |
| 452 | |
| 453 | @_alwaysEmitIntoClient public static func buildPartialBlock<C0, C1>(accumulated: WidgetKit::DynamicIslandExpandedContent<C0>, next: WidgetKit::DynamicIslandExpandedRegion<C1>) -> WidgetKit::DynamicIslandExpandedContent<some SwiftUICore::View> where C0 : SwiftUICore::View, C1 : SwiftUICore::View { |
| 454 | DynamicIslandExpandedContent { |
| 455 | accumulated.content |
| 456 | next._viewRepresentation |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | @_alwaysEmitIntoClient public static func buildPartialBlock<C0, C1>(accumulated: WidgetKit::DynamicIslandExpandedContent<C0>, next: WidgetKit::DynamicIslandExpandedContent<C1>) -> WidgetKit::DynamicIslandExpandedContent<some SwiftUICore::View> where C0 : SwiftUICore::View, C1 : SwiftUICore::View { |
| 461 | DynamicIslandExpandedContent { |
| 462 | accumulated.content |
| 463 | next.content |
| 468 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 469 | @available(tvOS, unavailable) |
| 470 | @available(visionOS, unavailable) |
| 471 | extension SwiftUI.ControlWidgetTemplate { |
| 472 | @_Concurrency.MainActor @preconcurrency public func tint(_ tint: SwiftUICore.Color?) -> some SwiftUI.ControlWidgetTemplate |
| 473 | |
| 474 | @_Concurrency.MainActor @preconcurrency public func privacySensitive(_ sensitive: Swift.Bool = true) -> some SwiftUI.ControlWidgetTemplate |
| 475 | |
| 476 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 477 | @available(tvOS, unavailable) |
| 478 | @available(visionOS, unavailable) |
| 479 | @_Concurrency.MainActor @preconcurrency public func disabled(_ disabled: Swift.Bool) -> some SwiftUI.ControlWidgetTemplate |
| 480 | |
| 481 | } |
| 482 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 483 | @available(tvOS, unavailable) |
| 484 | @available(visionOS, unavailable) |
| 485 | public protocol AppIntentControlValueProvider { |
| 486 | associatedtype Value |
| 487 | associatedtype Configuration : AppIntents.ControlConfigurationIntent |
| 488 | func previewValue(configuration: Self.Configuration) -> Self.Value |
| 489 | func currentValue(configuration: Self.Configuration) async throws -> Self.Value |
| 490 | } |
| 491 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 492 | @available(tvOS, unavailable) |
| 493 | @available(visionOS, unavailable) |
| 494 | @_Concurrency.MainActor @preconcurrency public struct AppIntentControlConfiguration<Configuration, Content> : SwiftUI.ControlWidgetConfiguration where Configuration : AppIntents.ControlConfigurationIntent, Content : SwiftUI.ControlWidgetTemplate { |
| 495 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.ControlWidgetConfiguration { |
| 496 | get |
| 497 | } |
| 498 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 499 | @available(tvOS, unavailable) |
| 500 | @available(visionOS, unavailable) |
| 501 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit29AppIntentControlConfigurationV4bodyQrvp", 0) __<Configuration, Content> |
| 502 | } |
| 503 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 504 | @available(tvOS, unavailable) |
| 505 | @available(visionOS, unavailable) |
| 506 | extension WidgetKit.AppIntentControlConfiguration { |
| 507 | @_Concurrency.MainActor @preconcurrency public init<Provider>(kind: Swift.String, provider: Provider, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping (Provider.Value) -> Content) where Configuration == Provider.Configuration, Provider : WidgetKit.AppIntentControlValueProvider |
| 508 | @_Concurrency.MainActor @preconcurrency public init(kind: Swift.String, intent: Configuration.Type = Configuration.self, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping (Configuration) -> Content) |
| 509 | } |
| 510 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 511 | @available(tvOS, unavailable) |
| 512 | public struct WidgetPreviewContext : SwiftUI.PreviewContext { |
| 513 | public subscript<Key>(key: Key.Type) -> Key.Value where Key : SwiftUI.PreviewContextKey { |
| 514 | get |
| 515 | } |
| 516 | public init(family: WidgetKit.WidgetFamily) |
| 517 | } |
| 518 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 519 | @available(tvOS, unavailable) |
| 520 | @available(visionOS, unavailable) |
| 521 | extension SwiftUICore.View { |
| 522 | @_Concurrency.MainActor @preconcurrency public func controlWidgetStatus(_ status: SwiftUICore.Text) -> some SwiftUICore.View |
| 523 | |
| 524 | @_Concurrency.MainActor @preconcurrency public func controlWidgetStatus(_ statusKey: SwiftUICore.LocalizedStringKey) -> some SwiftUICore.View |
| 525 | |
| 526 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func controlWidgetStatus(_ status: Foundation.LocalizedStringResource) -> some SwiftUICore.View { |
| 527 | controlWidgetStatus(Text(status)) |
| 528 | } |
| 529 | |
| 530 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func controlWidgetStatus<S>(_ status: S) -> some SwiftUICore.View where S : Swift.StringProtocol |
| 531 | |
| 532 | } |
| 533 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 534 | @available(tvOS, unavailable) |
| 535 | @available(visionOS, unavailable) |
| 536 | extension SwiftUICore.View { |
| 537 | @_Concurrency.MainActor @preconcurrency public func controlWidgetActionHint(_ hint: SwiftUICore.Text) -> some SwiftUICore.View |
| 538 | |
| 539 | @_Concurrency.MainActor @preconcurrency public func controlWidgetActionHint(_ hintKey: SwiftUICore.LocalizedStringKey) -> some SwiftUICore.View |
| 540 | |
| 541 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func controlWidgetActionHint(_ hint: Foundation.LocalizedStringResource) -> some SwiftUICore.View { |
| 542 | controlWidgetActionHint(Text(hint)) |
| 543 | } |
| 544 | |
| 545 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func controlWidgetActionHint<S>(_ hint: S) -> some SwiftUICore.View where S : Swift.StringProtocol |
| 546 | |
| 547 | } |
| 548 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 549 | @available(tvOS, unavailable) |
| 550 | @available(visionOS, unavailable) |
| 551 | public protocol ControlPushHandler { |
| 552 | init() |
| 553 | func pushTokensDidChange(controls: [WidgetKit.ControlInfo]) |
| 554 | } |
| 555 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 556 | @available(tvOS, unavailable) |
| 557 | public protocol TimelineProvider { |
| 558 | associatedtype Entry : WidgetKit.TimelineEntry |
| 559 | typealias Context = WidgetKit.TimelineProviderContext |
| 560 | func placeholder(in context: Self.Context) -> Self.Entry |
| 561 | @preconcurrency func getSnapshot(in context: Self.Context, completion: @escaping @Sendable (Self.Entry) -> Swift.Void) |
| 562 | @preconcurrency func getTimeline(in context: Self.Context, completion: @escaping @Sendable (WidgetKit.Timeline<Self.Entry>) -> Swift.Void) |
| 563 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 564 | @available(tvOS, unavailable) |
| 565 | func relevance() async -> WidgetKit.WidgetRelevance<Swift.Void> |
| 566 | } |
| 567 | extension WidgetKit.TimelineProvider { |
| 568 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 569 | @available(tvOS, unavailable) |
| 570 | public func relevance() async -> WidgetKit.WidgetRelevance<Swift.Void> |
| 571 | } |
| 572 | @_hasMissingDesignatedInitializers @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 573 | @available(tvOS, unavailable) |
| 574 | public class WidgetCenter { |
| 575 | public static let shared: WidgetKit.WidgetCenter |
| 576 | public struct UserInfoKey { |
| 577 | public static let kind: Swift.String |
| 578 | public static let family: Swift.String |
| 579 | public static let activityID: Swift.String |
| 580 | } |
| 581 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 582 | @available(tvOS, unavailable) |
| 583 | public func invalidateConfigurationRecommendations() |
| 584 | @preconcurrency public func getCurrentConfigurations(_ completion: @escaping @Sendable (Swift.Result<[WidgetKit.WidgetInfo], any Swift.Error>) -> Swift.Void) |
| 585 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 586 | @available(tvOS, unavailable) |
| 587 | public func currentConfigurations() async throws -> [WidgetKit.WidgetInfo] |
| 588 | public func reloadTimelines(ofKind kind: Swift.String) |
| 589 | public func reloadAllTimelines() |
| 590 | @objc deinit |
| 591 | } |
| 592 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 593 | @available(tvOS, unavailable) |
| 594 | extension WidgetKit.WidgetCenter { |
| 595 | public func invalidateRelevance(ofKind kind: Swift.String) |
| 596 | } |
| 597 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 598 | @available(tvOS, unavailable) |
| 599 | extension WidgetKit.WidgetCenter { |
| 600 | public var currentPushInfo: WidgetKit.WidgetPushInfo? { |
| 601 | get async |
| 602 | } |
| 603 | } |
| 604 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 605 | @available(tvOS, unavailable) |
| 606 | extension SwiftUICore.View { |
| 607 | @_Concurrency.MainActor @preconcurrency public func widgetURL(_ url: Foundation.URL?) -> some SwiftUICore.View |
| 608 | |
| 609 | } |
| 610 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 611 | @available(tvOS, unavailable) |
| 612 | @_Concurrency.MainActor @preconcurrency public struct AccessoryWidgetBackground : SwiftUICore.View { |
| 613 | @_Concurrency.MainActor @preconcurrency public init() |
| 614 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View { |
| 615 | get |
| 616 | } |
| 617 | @available(iOS 16.0, watchOS 9.0, visionOS 26.0, macOS 13.0, *) |
| 618 | @available(tvOS, unavailable) |
| 619 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit09AccessoryA10BackgroundV4bodyQrvp", 0) __ |
| 620 | } |
| 621 | extension SwiftUICore.EnvironmentValues { |
| 622 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 623 | @available(tvOS, unavailable) |
| 624 | public var widgetContentMargins: SwiftUICore.EdgeInsets { |
| 625 | get |
| 626 | } |
| 627 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, tvOS 18.0, visionOS 26.0, *) |
| 628 | @usableFromInline |
| 629 | internal struct WidgetContentMarginsKey : SwiftUICore.EnvironmentKey { |
| 630 | @usableFromInline |
| 631 | internal static var defaultValue: SwiftUICore.EdgeInsets { |
| 632 | get |
| 633 | } |
| 634 | @available(iOS 17.0, tvOS 18.0, watchOS 10.0, visionOS 26.0, macOS 14.0, *) |
| 635 | @usableFromInline |
| 636 | internal typealias Value = SwiftUICore.EdgeInsets |
| 637 | } |
| 638 | } |
| 639 | @available(iOS 15.0, macOS 12.0, watchOS 9.0, visionOS 26.0, *) |
| 640 | @available(tvOS, unavailable) |
| 641 | extension SwiftUI.WidgetConfiguration { |
| 642 | @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func contentMarginsDisabled() -> some SwiftUI.WidgetConfiguration { |
| 643 | if #available(iOS 17.0, watchOS 10.0, macOS 14.0, *) { |
| 644 | return _contentMarginsDisabled() |
| 645 | } else { |
| 468 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 469 | @available(tvOS, unavailable) |
| 470 | @available(visionOS, unavailable) |
| 471 | extension SwiftUI::ControlWidgetTemplate { |
| 472 | @_Concurrency::MainActor @preconcurrency public func tint(_ tint: SwiftUICore::Color?) -> some SwiftUI::ControlWidgetTemplate |
| 473 | |
| 474 | @_Concurrency::MainActor @preconcurrency public func privacySensitive(_ sensitive: Swift::Bool = true) -> some SwiftUI::ControlWidgetTemplate |
| 475 | |
| 476 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 477 | @available(tvOS, unavailable) |
| 478 | @available(visionOS, unavailable) |
| 479 | @_Concurrency::MainActor @preconcurrency public func disabled(_ disabled: Swift::Bool) -> some SwiftUI::ControlWidgetTemplate |
| 480 | |
| 481 | } |
| 482 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 483 | @available(tvOS, unavailable) |
| 484 | @available(visionOS, unavailable) |
| 485 | public protocol AppIntentControlValueProvider { |
| 486 | associatedtype Value |
| 487 | associatedtype Configuration : AppIntents::ControlConfigurationIntent |
| 488 | func previewValue(configuration: Self.Configuration) -> Self.Value |
| 489 | func currentValue(configuration: Self.Configuration) async throws -> Self.Value |
| 490 | } |
| 491 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 492 | @available(tvOS, unavailable) |
| 493 | @available(visionOS, unavailable) |
| 494 | @_Concurrency::MainActor @preconcurrency public struct AppIntentControlConfiguration<Configuration, Content> : SwiftUI::ControlWidgetConfiguration where Configuration : AppIntents::ControlConfigurationIntent, Content : SwiftUI::ControlWidgetTemplate { |
| 495 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::ControlWidgetConfiguration { |
| 496 | get |
| 497 | } |
| 498 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 499 | @available(tvOS, unavailable) |
| 500 | @available(visionOS, unavailable) |
| 501 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit29AppIntentControlConfigurationV4bodyQrvp", 0) __<Configuration, Content> |
| 502 | } |
| 503 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 504 | @available(tvOS, unavailable) |
| 505 | @available(visionOS, unavailable) |
| 506 | extension WidgetKit::AppIntentControlConfiguration { |
| 507 | @_Concurrency::MainActor @preconcurrency public init<Provider>(kind: Swift::String, provider: Provider, @SwiftUI::ControlWidgetTemplateBuilder content: @escaping (Provider.Value) -> Content) where Configuration == Provider.Configuration, Provider : WidgetKit::AppIntentControlValueProvider |
| 508 | @_Concurrency::MainActor @preconcurrency public init(kind: Swift::String, intent: Configuration.Type = Configuration.self, @SwiftUI::ControlWidgetTemplateBuilder content: @escaping (Configuration) -> Content) |
| 509 | } |
| 510 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 511 | @available(tvOS, unavailable) |
| 512 | public struct WidgetPreviewContext : SwiftUI::PreviewContext { |
| 513 | public subscript<Key>(key: Key.Type) -> Key.Value where Key : SwiftUI::PreviewContextKey { |
| 514 | get |
| 515 | } |
| 516 | public init(family: WidgetKit::WidgetFamily) |
| 517 | } |
| 518 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 519 | @available(tvOS, unavailable) |
| 520 | @available(visionOS, unavailable) |
| 521 | extension SwiftUICore::View { |
| 522 | @_Concurrency::MainActor @preconcurrency public func controlWidgetStatus(_ status: SwiftUICore::Text) -> some SwiftUICore::View |
| 523 | |
| 524 | @_Concurrency::MainActor @preconcurrency public func controlWidgetStatus(_ statusKey: SwiftUICore::LocalizedStringKey) -> some SwiftUICore::View |
| 525 | |
| 526 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func controlWidgetStatus(_ status: Foundation::LocalizedStringResource) -> some SwiftUICore::View { |
| 527 | controlWidgetStatus(Text(status)) |
| 528 | } |
| 529 | |
| 530 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public func controlWidgetStatus<S>(_ status: S) -> some SwiftUICore::View where S : Swift::StringProtocol |
| 531 | |
| 532 | } |
| 533 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 534 | @available(tvOS, unavailable) |
| 535 | @available(visionOS, unavailable) |
| 536 | extension SwiftUICore::View { |
| 537 | @_Concurrency::MainActor @preconcurrency public func controlWidgetActionHint(_ hint: SwiftUICore::Text) -> some SwiftUICore::View |
| 538 | |
| 539 | @_Concurrency::MainActor @preconcurrency public func controlWidgetActionHint(_ hintKey: SwiftUICore::LocalizedStringKey) -> some SwiftUICore::View |
| 540 | |
| 541 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func controlWidgetActionHint(_ hint: Foundation::LocalizedStringResource) -> some SwiftUICore::View { |
| 542 | controlWidgetActionHint(Text(hint)) |
| 543 | } |
| 544 | |
| 545 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public func controlWidgetActionHint<S>(_ hint: S) -> some SwiftUICore::View where S : Swift::StringProtocol |
| 546 | |
| 547 | } |
| 548 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 549 | @available(tvOS, unavailable) |
| 550 | @available(visionOS, unavailable) |
| 551 | public protocol ControlPushHandler { |
| 552 | init() |
| 553 | func pushTokensDidChange(controls: [WidgetKit::ControlInfo]) |
| 554 | } |
| 555 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 556 | @available(tvOS, unavailable) |
| 557 | public protocol TimelineProvider { |
| 558 | associatedtype Entry : WidgetKit::TimelineEntry |
| 559 | typealias Context = WidgetKit::TimelineProviderContext |
| 560 | func placeholder(in context: Self.Context) -> Self.Entry |
| 561 | @preconcurrency func getSnapshot(in context: Self.Context, completion: @escaping @Sendable (Self.Entry) -> Swift::Void) |
| 562 | @preconcurrency func getTimeline(in context: Self.Context, completion: @escaping @Sendable (WidgetKit::Timeline<Self.Entry>) -> Swift::Void) |
| 563 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 564 | @available(tvOS, unavailable) |
| 565 | func relevance() async -> WidgetKit::WidgetRelevance<Swift::Void> |
| 566 | } |
| 567 | extension WidgetKit::TimelineProvider { |
| 568 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 569 | @available(tvOS, unavailable) |
| 570 | public func relevance() async -> WidgetKit::WidgetRelevance<Swift::Void> |
| 571 | } |
| 572 | @_hasMissingDesignatedInitializers @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 573 | @available(tvOS, unavailable) |
| 574 | public class WidgetCenter { |
| 575 | public static let shared: WidgetKit::WidgetCenter |
| 576 | public struct UserInfoKey { |
| 577 | public static let kind: Swift::String |
| 578 | public static let family: Swift::String |
| 579 | public static let activityID: Swift::String |
| 580 | } |
| 581 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 582 | @available(tvOS, unavailable) |
| 583 | public func invalidateConfigurationRecommendations() |
| 584 | @preconcurrency public func getCurrentConfigurations(_ completion: @escaping @Sendable (Swift::Result<[WidgetKit::WidgetInfo], any Swift::Error>) -> Swift::Void) |
| 585 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 586 | @available(tvOS, unavailable) |
| 587 | public func currentConfigurations() async throws -> [WidgetKit::WidgetInfo] |
| 588 | public func reloadTimelines(ofKind kind: Swift::String) |
| 589 | public func reloadAllTimelines() |
| 590 | @objc deinit |
| 591 | } |
| 592 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 593 | @available(tvOS, unavailable) |
| 594 | extension WidgetKit::WidgetCenter { |
| 595 | public func invalidateRelevance(ofKind kind: Swift::String) |
| 596 | } |
| 597 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 598 | @available(tvOS, unavailable) |
| 599 | extension WidgetKit::WidgetCenter { |
| 600 | public var currentPushInfo: WidgetKit::WidgetPushInfo? { |
| 601 | get async |
| 602 | } |
| 603 | } |
| 604 | extension SwiftUICore::EnvironmentValues { |
| 605 | @available(iOS 27.0, *) |
| 606 | @available(macOS, unavailable) |
| 607 | @available(tvOS, unavailable) |
| 608 | @available(watchOS, unavailable) |
| 609 | @available(visionOS, unavailable) |
| 610 | public var isDynamicIslandLimitedInWidth: Swift::Bool { |
| 611 | get |
| 612 | } |
| 613 | } |
| 614 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 615 | @available(tvOS, unavailable) |
| 616 | extension SwiftUICore::View { |
| 617 | @_Concurrency::MainActor @preconcurrency public func widgetURL(_ url: Foundation::URL?) -> some SwiftUICore::View |
| 618 | |
| 619 | } |
| 620 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 621 | @available(tvOS, unavailable) |
| 622 | @_Concurrency::MainActor @preconcurrency public struct AccessoryWidgetBackground : SwiftUICore::View { |
| 623 | @_Concurrency::MainActor @preconcurrency public init() |
| 624 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUICore::View { |
| 625 | get |
| 626 | } |
| 627 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, visionOS 26.0, *) |
| 628 | @available(tvOS, unavailable) |
| 629 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit09AccessoryA10BackgroundV4bodyQrvp", 0) __ |
| 630 | } |
| 631 | extension SwiftUICore::EnvironmentValues { |
| 632 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 633 | @available(tvOS, unavailable) |
| 634 | public var widgetContentMargins: SwiftUICore::EdgeInsets { |
| 635 | get |
| 636 | } |
| 637 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, tvOS 18.0, visionOS 26.0, *) |
| 638 | @usableFromInline |
| 639 | internal struct WidgetContentMarginsKey : SwiftUICore::EnvironmentKey { |
| 640 | @usableFromInline |
| 641 | internal static var defaultValue: SwiftUICore::EdgeInsets { |
| 642 | get |
| 643 | } |
| 644 | @available(macOS 14.0, iOS 17.0, tvOS 18.0, watchOS 10.0, visionOS 26.0, *) |
| 645 | @usableFromInline |
| 646 | internal typealias Value = SwiftUICore::EdgeInsets |
| 647 | } |
| 648 | } |
| 649 | @available(iOS 15.0, macOS 12.0, watchOS 9.0, visionOS 26.0, *) |
| 650 | @available(tvOS, unavailable) |
| 651 | extension SwiftUI::WidgetConfiguration { |
| 652 | @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func contentMarginsDisabled() -> some SwiftUI::WidgetConfiguration { |
| 653 | if #available(iOS 17.0, watchOS 10.0, macOS 14.0, *) { |
| 654 | return _contentMarginsDisabled() |
| 655 | } else { |
| 649 | |
| 650 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 651 | @available(tvOS, unavailable) |
| 652 | @_Concurrency.MainActor @preconcurrency public func _contentMarginsDisabled() -> some SwiftUI.WidgetConfiguration |
| 653 | |
| 654 | } |
| 655 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 656 | @available(tvOS, unavailable) |
| 657 | extension DeveloperToolsSupport.Preview { |
| 658 | @_Concurrency.MainActor public init(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, widget: @escaping () -> some Widget, @WidgetKit.PreviewTimelineBuilder timeline: @escaping @_Concurrency.MainActor () async -> [any WidgetKit.TimelineEntry]) |
| 659 | @_Concurrency.MainActor public init(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, widget: @escaping () -> some Widget, timelineProvider: @escaping () -> some TimelineProvider) |
| 660 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 18.0, visionOS 26.0, *) |
| 661 | @_Concurrency.MainActor public init<Provider>(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> some Widget, timelineProvider: @escaping () -> Provider) where Provider : WidgetKit.IntentTimelineProvider |
| 662 | @_Concurrency.MainActor public init<Provider>(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> some Widget, timelineProvider: @escaping () -> Provider) where Provider : WidgetKit.AppIntentTimelineProvider |
| 663 | } |
| 664 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 665 | @available(tvOS, unavailable) |
| 666 | @freestanding(declaration) public macro Preview<Widget>(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, widget: @escaping () -> Widget, @WidgetKit.PreviewTimelineBuilder timeline: @escaping @_Concurrency.MainActor () async -> [any WidgetKit.TimelineEntry]) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget |
| 667 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 668 | @available(tvOS, unavailable) |
| 669 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, widget: @escaping () -> Widget, timelineProvider: @escaping () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Provider : WidgetKit.TimelineProvider |
| 670 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 671 | @available(tvOS, unavailable) |
| 672 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> Widget, timelineProvider: @escaping () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Provider : WidgetKit.IntentTimelineProvider |
| 673 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 674 | @available(tvOS, unavailable) |
| 675 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift.String? = nil, as family: WidgetKit.WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> Widget, timelineProvider: @escaping () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Provider : WidgetKit.AppIntentTimelineProvider |
| 676 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 677 | @available(tvOS, unavailable) |
| 678 | @_functionBuilder public struct PreviewTimelineBuilder { |
| 679 | @available(*, unavailable, message: "Please provide at lease one timeline entry to preview your widget.") |
| 680 | @_alwaysEmitIntoClient public static func buildBlock() -> [any WidgetKit.TimelineEntry] { |
| 681 | fatalError("Unreachable") |
| 682 | } |
| 683 | public static func buildExpression(_ entry: some TimelineEntry) -> [any WidgetKit.TimelineEntry] |
| 684 | public static func buildPartialBlock(first: [any WidgetKit.TimelineEntry]) -> [any WidgetKit.TimelineEntry] |
| 685 | public static func buildPartialBlock(accumulated: [any WidgetKit.TimelineEntry], next: [any WidgetKit.TimelineEntry]) -> [any WidgetKit.TimelineEntry] |
| 686 | public static func buildArray(_ components: [[any WidgetKit.TimelineEntry]]) -> [any WidgetKit.TimelineEntry] |
| 687 | } |
| 688 | @available(watchOS 26.0, *) |
| 689 | @available(tvOS, unavailable) |
| 690 | @available(iOS, unavailable) |
| 691 | @available(macOS, unavailable) |
| 692 | @available(visionOS, unavailable) |
| 693 | extension DeveloperToolsSupport.Preview { |
| 694 | @_Concurrency.MainActor public init<Entry>(_ name: Swift.String? = nil, widget: @escaping () -> some Widget, @WidgetKit.PreviewRelevanceEntryBuilder<Entry> relevanceEntries: @escaping @_Concurrency.MainActor () async -> [Entry]) where Entry : WidgetKit.RelevanceEntry |
| 695 | @_Concurrency.MainActor public init<Provider>(_ name: Swift.String? = nil, widget: @escaping @_Concurrency.MainActor () -> some Widget, relevanceProvider: @escaping @_Concurrency.MainActor () -> Provider) where Provider : WidgetKit.RelevanceEntriesProvider |
| 696 | @_Concurrency.MainActor public init<Provider>(_ name: Swift.String? = nil, widget: @escaping @_Concurrency.MainActor () -> some Widget, relevanceProvider: @escaping @_Concurrency.MainActor () -> Provider, relevance: @escaping @_Concurrency.MainActor () async -> WidgetKit.WidgetRelevance<Provider.Configuration>) where Provider : WidgetKit.RelevanceEntriesProvider |
| 697 | } |
| 698 | @available(watchOS 26.0, *) |
| 699 | @available(tvOS, unavailable) |
| 700 | @available(iOS, unavailable) |
| 701 | @available(macOS, unavailable) |
| 702 | @available(visionOS, unavailable) |
| 703 | @freestanding(declaration) public macro Preview<Widget, Entry>(_ name: Swift.String? = nil, widget: @escaping @_Concurrency.MainActor () -> Widget, @WidgetKit.PreviewRelevanceEntryBuilder<Entry> relevanceEntries: @escaping @_Concurrency.MainActor () async -> [Entry]) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Entry : WidgetKit.RelevanceEntry |
| 704 | @available(watchOS 26.0, *) |
| 705 | @available(iOS, unavailable) |
| 706 | @available(macOS, unavailable) |
| 707 | @available(tvOS, unavailable) |
| 708 | @available(visionOS, unavailable) |
| 709 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift.String? = nil, widget: @escaping @_Concurrency.MainActor () -> Widget, relevanceProvider: @escaping @_Concurrency.MainActor () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Provider : WidgetKit.RelevanceEntriesProvider |
| 710 | @available(watchOS 26.0, *) |
| 711 | @available(iOS, unavailable) |
| 712 | @available(macOS, unavailable) |
| 713 | @available(tvOS, unavailable) |
| 714 | @available(visionOS, unavailable) |
| 715 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift.String? = nil, widget: @escaping @_Concurrency.MainActor () -> Widget, relevanceProvider: @escaping @_Concurrency.MainActor () -> Provider, relevance: @escaping @_Concurrency.MainActor () async -> WidgetKit.WidgetRelevance<Provider.Configuration>) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Provider : WidgetKit.RelevanceEntriesProvider |
| 716 | @available(watchOS 26.0, *) |
| 717 | @available(tvOS, unavailable) |
| 718 | @available(iOS, unavailable) |
| 719 | @available(macOS, unavailable) |
| 720 | @available(visionOS, unavailable) |
| 721 | @_functionBuilder public struct PreviewRelevanceEntryBuilder<Entry> where Entry : WidgetKit.RelevanceEntry { |
| 722 | @available(*, unavailable, message: "Please provide at lease one relevance entry to preview your widget.") |
| 723 | @_alwaysEmitIntoClient public static func buildBlock() -> [Entry] { |
| 724 | fatalError("Unreachable") |
| 659 | |
| 660 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 661 | @available(tvOS, unavailable) |
| 662 | @_Concurrency::MainActor @preconcurrency public func _contentMarginsDisabled() -> some SwiftUI::WidgetConfiguration |
| 663 | |
| 664 | } |
| 665 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 666 | @available(tvOS, unavailable) |
| 667 | extension DeveloperToolsSupport::Preview { |
| 668 | @_Concurrency::MainActor public init(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, widget: @escaping () -> some Widget, @WidgetKit::PreviewTimelineBuilder timeline: @escaping @_Concurrency::MainActor () async -> [any WidgetKit::TimelineEntry]) |
| 669 | @_Concurrency::MainActor public init(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, widget: @escaping () -> some Widget, timelineProvider: @escaping () -> some TimelineProvider) |
| 670 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, tvOS 18.0, visionOS 26.0, *) |
| 671 | @_Concurrency::MainActor public init<Provider>(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> some Widget, timelineProvider: @escaping () -> Provider) where Provider : WidgetKit::IntentTimelineProvider |
| 672 | @_Concurrency::MainActor public init<Provider>(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> some Widget, timelineProvider: @escaping () -> Provider) where Provider : WidgetKit::AppIntentTimelineProvider |
| 673 | } |
| 674 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 675 | @available(tvOS, unavailable) |
| 676 | @freestanding(declaration) public macro Preview<Widget>(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, widget: @escaping () -> Widget, @WidgetKit::PreviewTimelineBuilder timeline: @escaping @_Concurrency::MainActor () async -> [any WidgetKit::TimelineEntry]) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget |
| 677 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 678 | @available(tvOS, unavailable) |
| 679 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, widget: @escaping () -> Widget, timelineProvider: @escaping () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Provider : WidgetKit::TimelineProvider |
| 680 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 681 | @available(tvOS, unavailable) |
| 682 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> Widget, timelineProvider: @escaping () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Provider : WidgetKit::IntentTimelineProvider |
| 683 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 684 | @available(tvOS, unavailable) |
| 685 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift::String? = nil, as family: WidgetKit::WidgetFamily, using intent: Provider.Intent, widget: @escaping () -> Widget, timelineProvider: @escaping () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Provider : WidgetKit::AppIntentTimelineProvider |
| 686 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 687 | @available(tvOS, unavailable) |
| 688 | @_functionBuilder public struct PreviewTimelineBuilder { |
| 689 | @available(*, unavailable, message: "Please provide at lease one timeline entry to preview your widget.") |
| 690 | @_alwaysEmitIntoClient public static func buildBlock() -> [any WidgetKit::TimelineEntry] { |
| 691 | fatalError("Unreachable") |
| 692 | } |
| 693 | public static func buildExpression(_ entry: some TimelineEntry) -> [any WidgetKit::TimelineEntry] |
| 694 | public static func buildPartialBlock(first: [any WidgetKit::TimelineEntry]) -> [any WidgetKit::TimelineEntry] |
| 695 | public static func buildPartialBlock(accumulated: [any WidgetKit::TimelineEntry], next: [any WidgetKit::TimelineEntry]) -> [any WidgetKit::TimelineEntry] |
| 696 | public static func buildArray(_ components: [[any WidgetKit::TimelineEntry]]) -> [any WidgetKit::TimelineEntry] |
| 697 | } |
| 698 | @available(watchOS 26.0, *) |
| 699 | @available(tvOS, unavailable) |
| 700 | @available(iOS, unavailable) |
| 701 | @available(macOS, unavailable) |
| 702 | @available(visionOS, unavailable) |
| 703 | extension DeveloperToolsSupport::Preview { |
| 704 | @_Concurrency::MainActor public init<Entry>(_ name: Swift::String? = nil, widget: @escaping () -> some Widget, @WidgetKit::PreviewRelevanceEntryBuilder<Entry> relevanceEntries: @escaping @_Concurrency::MainActor () async -> [Entry]) where Entry : WidgetKit::RelevanceEntry |
| 705 | @_Concurrency::MainActor public init<Provider>(_ name: Swift::String? = nil, widget: @escaping @_Concurrency::MainActor () -> some Widget, relevanceProvider: @escaping @_Concurrency::MainActor () -> Provider) where Provider : WidgetKit::RelevanceEntriesProvider |
| 706 | @_Concurrency::MainActor public init<Provider>(_ name: Swift::String? = nil, widget: @escaping @_Concurrency::MainActor () -> some Widget, relevanceProvider: @escaping @_Concurrency::MainActor () -> Provider, relevance: @escaping @_Concurrency::MainActor () async -> WidgetKit::WidgetRelevance<Provider.Configuration>) where Provider : WidgetKit::RelevanceEntriesProvider |
| 707 | } |
| 708 | @available(watchOS 26.0, *) |
| 709 | @available(tvOS, unavailable) |
| 710 | @available(iOS, unavailable) |
| 711 | @available(macOS, unavailable) |
| 712 | @available(visionOS, unavailable) |
| 713 | @freestanding(declaration) public macro Preview<Widget, Entry>(_ name: Swift::String? = nil, widget: @escaping @_Concurrency::MainActor () -> Widget, @WidgetKit::PreviewRelevanceEntryBuilder<Entry> relevanceEntries: @escaping @_Concurrency::MainActor () async -> [Entry]) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Entry : WidgetKit::RelevanceEntry |
| 714 | @available(watchOS 26.0, *) |
| 715 | @available(iOS, unavailable) |
| 716 | @available(macOS, unavailable) |
| 717 | @available(tvOS, unavailable) |
| 718 | @available(visionOS, unavailable) |
| 719 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift::String? = nil, widget: @escaping @_Concurrency::MainActor () -> Widget, relevanceProvider: @escaping @_Concurrency::MainActor () -> Provider) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Provider : WidgetKit::RelevanceEntriesProvider |
| 720 | @available(watchOS 26.0, *) |
| 721 | @available(iOS, unavailable) |
| 722 | @available(macOS, unavailable) |
| 723 | @available(tvOS, unavailable) |
| 724 | @available(visionOS, unavailable) |
| 725 | @freestanding(declaration) public macro Preview<Widget, Provider>(_ name: Swift::String? = nil, widget: @escaping @_Concurrency::MainActor () -> Widget, relevanceProvider: @escaping @_Concurrency::MainActor () -> Provider, relevance: @escaping @_Concurrency::MainActor () async -> WidgetKit::WidgetRelevance<Provider.Configuration>) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Provider : WidgetKit::RelevanceEntriesProvider |
| 726 | @available(watchOS 26.0, *) |
| 727 | @available(tvOS, unavailable) |
| 728 | @available(iOS, unavailable) |
| 729 | @available(macOS, unavailable) |
| 730 | @available(visionOS, unavailable) |
| 731 | @_functionBuilder public struct PreviewRelevanceEntryBuilder<Entry> where Entry : WidgetKit::RelevanceEntry { |
| 732 | @available(*, unavailable, message: "Please provide at lease one relevance entry to preview your widget.") |
| 733 | @_alwaysEmitIntoClient public static func buildBlock() -> [Entry] { |
| 734 | fatalError("Unreachable") |
| 729 | public static func buildArray(_ components: [[Entry]]) -> [Entry] |
| 730 | } |
| 731 | @available(*, unavailable) |
| 732 | extension WidgetKit.PreviewRelevanceEntryBuilder : Swift.Sendable { |
| 733 | } |
| 734 | @available(iOS 18.0, *) |
| 735 | @available(macOS, unavailable) |
| 736 | @available(macCatalyst, unavailable) |
| 737 | @available(tvOS, unavailable) |
| 738 | @available(watchOS, unavailable) |
| 739 | @available(visionOS, unavailable) |
| 740 | public enum ActivityFamily : Swift.Equatable { |
| 741 | case small |
| 742 | case medium |
| 743 | } |
| 739 | public static func buildArray(_ components: [[Entry]]) -> [Entry] |
| 740 | } |
| 741 | @available(*, unavailable) |
| 742 | extension WidgetKit::PreviewRelevanceEntryBuilder : Swift::Sendable { |
| 743 | } |
| 744 | @available(iOS 18.0, *) |
| 745 | @available(macOS, unavailable) |
| 746 | @available(macCatalyst, unavailable) |
| 747 | @available(tvOS, unavailable) |
| 748 | @available(watchOS, unavailable) |
| 749 | @available(visionOS, unavailable) |
| 750 | public enum ActivityFamily : Swift::Equatable { |
| 751 | case small |
| 752 | case medium |
| 753 | } |
| 747 | @available(tvOS, unavailable) |
| 748 | @available(watchOS, unavailable) |
| 749 | @available(visionOS, unavailable) |
| 750 | extension WidgetKit.ActivityFamily : Swift.Codable, Swift.CustomStringConvertible, Swift.RawRepresentable { |
| 751 | public typealias RawValue = Swift.Int |
| 752 | public init?(rawValue: Swift.Int) |
| 753 | public var rawValue: Swift.Int { |
| 754 | get |
| 755 | } |
| 756 | public var description: Swift.String { |
| 757 | get |
| 758 | } |
| 759 | } |
| 757 | @available(tvOS, unavailable) |
| 758 | @available(watchOS, unavailable) |
| 759 | @available(visionOS, unavailable) |
| 760 | extension WidgetKit::ActivityFamily : Swift::Codable, Swift::CustomStringConvertible, Swift::RawRepresentable { |
| 761 | public typealias RawValue = Swift::Int |
| 762 | public init?(rawValue: Swift::Int) |
| 763 | public var rawValue: Swift::Int { |
| 764 | get |
| 765 | } |
| 766 | public var description: Swift::String { |
| 767 | get |
| 768 | } |
| 769 | } |
| 763 | @available(tvOS, unavailable) |
| 764 | @available(watchOS, unavailable) |
| 765 | @available(visionOS, unavailable) |
| 766 | extension SwiftUI.WidgetConfiguration { |
| 767 | @_Concurrency.MainActor @preconcurrency public func supplementalActivityFamilies(_ families: [WidgetKit.ActivityFamily]) -> some SwiftUI.WidgetConfiguration |
| 768 | |
| 769 | } |
| 770 | extension SwiftUICore.EnvironmentValues { |
| 771 | @available(iOS 18.0, *) |
| 772 | @available(macOS, unavailable) |
| 773 | @available(macCatalyst, unavailable) |
| 774 | @available(tvOS, unavailable) |
| 775 | @available(watchOS, unavailable) |
| 776 | @available(visionOS, unavailable) |
| 777 | public var activityFamily: WidgetKit.ActivityFamily { |
| 778 | get |
| 779 | set |
| 780 | } |
| 773 | @available(tvOS, unavailable) |
| 774 | @available(watchOS, unavailable) |
| 775 | @available(visionOS, unavailable) |
| 776 | extension SwiftUI::WidgetConfiguration { |
| 777 | @_Concurrency::MainActor @preconcurrency public func supplementalActivityFamilies(_ families: [WidgetKit::ActivityFamily]) -> some SwiftUI::WidgetConfiguration |
| 778 | |
| 779 | } |
| 780 | extension SwiftUICore::EnvironmentValues { |
| 781 | @available(iOS 18.0, *) |
| 782 | @available(macOS, unavailable) |
| 783 | @available(macCatalyst, unavailable) |
| 784 | @available(tvOS, unavailable) |
| 785 | @available(watchOS, unavailable) |
| 786 | @available(visionOS, unavailable) |
| 787 | public var activityFamily: WidgetKit::ActivityFamily { |
| 788 | get |
| 789 | set |
| 790 | } |
| 785 | @available(tvOS, unavailable) |
| 786 | @available(watchOS, unavailable) |
| 787 | @available(visionOS, unavailable) |
| 788 | public struct SupportedActivityFamiliesEnvironmentKey : SwiftUICore.EnvironmentKey { |
| 789 | public static var defaultValue: Swift.Set<WidgetKit.ActivityFamily> { |
| 790 | get |
| 791 | } |
| 792 | @available(iOS 18.0, *) |
| 793 | @available(tvOS, unavailable) |
| 794 | @available(watchOS, unavailable) |
| 795 | @available(visionOS, unavailable) |
| 796 | @available(macOS, unavailable) |
| 797 | @available(macCatalyst, unavailable) |
| 798 | public typealias Value = Swift.Set<WidgetKit.ActivityFamily> |
| 799 | } |
| 800 | extension SwiftUICore.EnvironmentValues { |
| 801 | @available(iOS 18.0, *) |
| 802 | @available(macOS, unavailable) |
| 803 | @available(macCatalyst, unavailable) |
| 804 | @available(tvOS, unavailable) |
| 805 | @available(watchOS, unavailable) |
| 806 | @available(visionOS, unavailable) |
| 807 | public var supportedActivityFamilies: Swift.Set<WidgetKit.ActivityFamily> { |
| 808 | get |
| 809 | set |
| 810 | } |
| 811 | } |
| 812 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 813 | @available(tvOS, unavailable) |
| 814 | public struct WidgetPushInfo : Swift.Sendable { |
| 815 | public let token: Foundation.Data |
| 816 | } |
| 817 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 818 | @available(tvOS, unavailable) |
| 819 | public protocol WidgetPushHandler { |
| 820 | init() |
| 821 | func pushTokenDidChange(_ pushInfo: WidgetKit.WidgetPushInfo, widgets: [WidgetKit.WidgetInfo]) |
| 822 | } |
| 823 | @available(iOS 16.1, *) |
| 824 | @available(macOS, unavailable) |
| 825 | @available(macCatalyst, unavailable) |
| 826 | @available(tvOS, unavailable) |
| 827 | @available(watchOS, unavailable) |
| 828 | @available(visionOS, unavailable) |
| 829 | public struct DynamicIslandExpandedRegionVerticalPlacement : Swift.Equatable { |
| 830 | public static let `default`: WidgetKit.DynamicIslandExpandedRegionVerticalPlacement |
| 831 | public static let belowIfTooWide: WidgetKit.DynamicIslandExpandedRegionVerticalPlacement |
| 832 | public static func == (a: WidgetKit.DynamicIslandExpandedRegionVerticalPlacement, b: WidgetKit.DynamicIslandExpandedRegionVerticalPlacement) -> Swift.Bool |
| 833 | } |
| 834 | @available(iOS 16.1, *) |
| 835 | @available(macOS, unavailable) |
| 795 | @available(tvOS, unavailable) |
| 796 | @available(watchOS, unavailable) |
| 797 | @available(visionOS, unavailable) |
| 798 | public struct SupportedActivityFamiliesEnvironmentKey : SwiftUICore::EnvironmentKey { |
| 799 | public static var defaultValue: Swift::Set<WidgetKit::ActivityFamily> { |
| 800 | get |
| 801 | } |
| 802 | @available(iOS 18.0, *) |
| 803 | @available(macOS, unavailable) |
| 804 | @available(tvOS, unavailable) |
| 805 | @available(watchOS, unavailable) |
| 806 | @available(macCatalyst, unavailable) |
| 807 | @available(visionOS, unavailable) |
| 808 | public typealias Value = Swift::Set<WidgetKit::ActivityFamily> |
| 809 | } |
| 810 | extension SwiftUICore::EnvironmentValues { |
| 811 | @available(iOS 18.0, *) |
| 812 | @available(macOS, unavailable) |
| 813 | @available(macCatalyst, unavailable) |
| 814 | @available(tvOS, unavailable) |
| 815 | @available(watchOS, unavailable) |
| 816 | @available(visionOS, unavailable) |
| 817 | public var supportedActivityFamilies: Swift::Set<WidgetKit::ActivityFamily> { |
| 818 | get |
| 819 | set |
| 820 | } |
| 821 | } |
| 822 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 823 | @available(tvOS, unavailable) |
| 824 | public struct WidgetPushInfo : Swift::Sendable { |
| 825 | public let token: Foundation::Data |
| 826 | } |
| 827 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 828 | @available(tvOS, unavailable) |
| 829 | public protocol WidgetPushHandler { |
| 830 | init() |
| 831 | func pushTokenDidChange(_ pushInfo: WidgetKit::WidgetPushInfo, widgets: [WidgetKit::WidgetInfo]) |
| 832 | } |
| 833 | @available(iOS 16.1, *) |
| 834 | @available(macOS, unavailable) |
| 835 | @available(macCatalyst, unavailable) |
| 836 | @available(tvOS, unavailable) |
| 837 | @available(watchOS, unavailable) |
| 838 | @available(visionOS, unavailable) |
| 839 | public struct DynamicIslandExpandedRegionVerticalPlacement : Swift::Equatable { |
| 840 | public static let `default`: WidgetKit::DynamicIslandExpandedRegionVerticalPlacement |
| 841 | public static let belowIfTooWide: WidgetKit::DynamicIslandExpandedRegionVerticalPlacement |
| 842 | public static func == (a: WidgetKit::DynamicIslandExpandedRegionVerticalPlacement, b: WidgetKit::DynamicIslandExpandedRegionVerticalPlacement) -> Swift::Bool |
| 843 | } |
| 844 | @available(iOS 16.1, *) |
| 845 | @available(macOS, unavailable) |
| 844 | @available(tvOS, unavailable) |
| 845 | @available(watchOS, unavailable) |
| 846 | @available(visionOS, unavailable) |
| 847 | public static let leading: WidgetKit.DynamicIslandExpandedRegionPosition |
| 848 | @available(iOS 16.1, *) |
| 849 | @available(macOS, unavailable) |
| 850 | @available(macCatalyst, unavailable) |
| 851 | @available(tvOS, unavailable) |
| 852 | @available(watchOS, unavailable) |
| 853 | @available(visionOS, unavailable) |
| 854 | public static let trailing: WidgetKit.DynamicIslandExpandedRegionPosition |
| 855 | @available(iOS 16.1, *) |
| 856 | @available(macOS, unavailable) |
| 857 | @available(macCatalyst, unavailable) |
| 858 | @available(tvOS, unavailable) |
| 859 | @available(watchOS, unavailable) |
| 860 | @available(visionOS, unavailable) |
| 861 | public static let center: WidgetKit.DynamicIslandExpandedRegionPosition |
| 862 | @available(iOS 16.1, *) |
| 863 | @available(macOS, unavailable) |
| 864 | @available(macCatalyst, unavailable) |
| 865 | @available(tvOS, unavailable) |
| 866 | @available(watchOS, unavailable) |
| 867 | @available(visionOS, unavailable) |
| 868 | public static let bottom: WidgetKit.DynamicIslandExpandedRegionPosition |
| 869 | } |
| 870 | @available(iOS 16.1, *) |
| 871 | @available(macOS, unavailable) |
| 872 | @available(macCatalyst, unavailable) |
| 873 | @available(tvOS, unavailable) |
| 874 | @available(watchOS, unavailable) |
| 875 | @available(visionOS, unavailable) |
| 876 | public struct DynamicIslandExpandedRegion<Content> where Content : SwiftUICore.View { |
| 877 | public init(_ position: WidgetKit.DynamicIslandExpandedRegionPosition, priority: Swift.Double = 0, @SwiftUICore.ViewBuilder content: () -> Content) |
| 878 | public var _viewRepresentation: some SwiftUICore.View { |
| 879 | get |
| 880 | } |
| 881 | @available(iOS 16.1, *) |
| 854 | @available(tvOS, unavailable) |
| 855 | @available(watchOS, unavailable) |
| 856 | @available(visionOS, unavailable) |
| 857 | public static let leading: WidgetKit::DynamicIslandExpandedRegionPosition |
| 858 | @available(iOS 16.1, *) |
| 859 | @available(macOS, unavailable) |
| 860 | @available(macCatalyst, unavailable) |
| 861 | @available(tvOS, unavailable) |
| 862 | @available(watchOS, unavailable) |
| 863 | @available(visionOS, unavailable) |
| 864 | public static let trailing: WidgetKit::DynamicIslandExpandedRegionPosition |
| 865 | @available(iOS 16.1, *) |
| 866 | @available(macOS, unavailable) |
| 867 | @available(macCatalyst, unavailable) |
| 868 | @available(tvOS, unavailable) |
| 869 | @available(watchOS, unavailable) |
| 870 | @available(visionOS, unavailable) |
| 871 | public static let center: WidgetKit::DynamicIslandExpandedRegionPosition |
| 872 | @available(iOS 16.1, *) |
| 873 | @available(macOS, unavailable) |
| 874 | @available(macCatalyst, unavailable) |
| 875 | @available(tvOS, unavailable) |
| 876 | @available(watchOS, unavailable) |
| 877 | @available(visionOS, unavailable) |
| 878 | public static let bottom: WidgetKit::DynamicIslandExpandedRegionPosition |
| 879 | } |
| 880 | @available(iOS 16.1, *) |
| 881 | @available(macOS, unavailable) |
| 882 | @available(macCatalyst, unavailable) |
| 883 | @available(tvOS, unavailable) |
| 884 | @available(watchOS, unavailable) |
| 885 | @available(visionOS, unavailable) |
| 886 | public struct DynamicIslandExpandedRegion<Content> where Content : SwiftUICore::View { |
| 887 | public init(_ position: WidgetKit::DynamicIslandExpandedRegionPosition, priority: Swift::Double = 0, @SwiftUICore::ViewBuilder content: () -> Content) |
| 888 | public var _viewRepresentation: some SwiftUICore::View { |
| 889 | get |
| 890 | } |
| 891 | @available(iOS 16.1, *) |
| 884 | @available(tvOS, unavailable) |
| 885 | @available(watchOS, unavailable) |
| 886 | @available(visionOS, unavailable) |
| 887 | public func contentMargins(_ edges: SwiftUICore.Edge.Set = .all, _ length: Swift.Double) -> WidgetKit.DynamicIslandExpandedRegion<Content> |
| 888 | } |
| 889 | extension SwiftUICore.View { |
| 890 | @available(iOS 16.1, *) |
| 891 | @available(macOS, unavailable) |
| 892 | @available(macCatalyst, unavailable) |
| 893 | @available(tvOS, unavailable) |
| 894 | @available(watchOS, unavailable) |
| 895 | @available(visionOS, unavailable) |
| 896 | @_Concurrency.MainActor @preconcurrency public func dynamicIsland(verticalPlacement: WidgetKit.DynamicIslandExpandedRegionVerticalPlacement) -> some SwiftUICore.View |
| 897 | |
| 898 | } |
| 899 | @available(iOS 17.0, watchOS 10.0, visionOS 26.0, *) |
| 900 | @available(macOS, unavailable) |
| 901 | @available(tvOS, unavailable) |
| 902 | extension SwiftUICore.View { |
| 903 | @_Concurrency.MainActor @preconcurrency public func widgetCurvesContent(_ curvesContent: Swift.Bool = true) -> some SwiftUICore.View |
| 904 | |
| 905 | } |
| 906 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, *) |
| 907 | @available(tvOS, unavailable) |
| 908 | extension SwiftUI.Widget { |
| 909 | @_Concurrency.MainActor @preconcurrency public static func main() |
| 910 | } |
| 911 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 912 | @available(tvOS, unavailable) |
| 913 | @available(visionOS, unavailable) |
| 914 | extension SwiftUI.ControlWidget { |
| 915 | @_Concurrency.MainActor @preconcurrency public static func main() |
| 916 | } |
| 917 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 918 | @available(tvOS, unavailable) |
| 919 | extension SwiftUI.WidgetBundle { |
| 920 | @_Concurrency.MainActor @preconcurrency public static func main() |
| 921 | } |
| 922 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 923 | @available(tvOS, unavailable) |
| 924 | @preconcurrency public enum WidgetFamily : Swift.Int, Swift.RawRepresentable, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Sendable { |
| 925 | @available(iOS 14.0, macOS 11.0, visionOS 26.0, *) |
| 926 | @available(tvOS, unavailable) |
| 927 | @available(watchOS, unavailable) |
| 894 | @available(tvOS, unavailable) |
| 895 | @available(watchOS, unavailable) |
| 896 | @available(visionOS, unavailable) |
| 897 | public func contentMargins(_ edges: SwiftUICore::Edge.SwiftUICore::Set = .all, _ length: Swift::Double) -> WidgetKit::DynamicIslandExpandedRegion<Content> |
| 898 | } |
| 899 | extension SwiftUICore::View { |
| 900 | @available(iOS 16.1, *) |
| 901 | @available(macOS, unavailable) |
| 902 | @available(macCatalyst, unavailable) |
| 903 | @available(tvOS, unavailable) |
| 904 | @available(watchOS, unavailable) |
| 905 | @available(visionOS, unavailable) |
| 906 | @_Concurrency::MainActor @preconcurrency public func dynamicIsland(verticalPlacement: WidgetKit::DynamicIslandExpandedRegionVerticalPlacement) -> some SwiftUICore::View |
| 907 | |
| 908 | } |
| 909 | @available(iOS 17.0, watchOS 10.0, visionOS 26.0, *) |
| 910 | @available(macOS, unavailable) |
| 911 | @available(tvOS, unavailable) |
| 912 | extension SwiftUICore::View { |
| 913 | @_Concurrency::MainActor @preconcurrency public func widgetCurvesContent(_ curvesContent: Swift::Bool = true) -> some SwiftUICore::View |
| 914 | |
| 915 | } |
| 916 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, *) |
| 917 | @available(tvOS, unavailable) |
| 918 | extension SwiftUI::Widget { |
| 919 | @_Concurrency::MainActor @preconcurrency public static func main() |
| 920 | } |
| 921 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 922 | @available(tvOS, unavailable) |
| 923 | @available(visionOS, unavailable) |
| 924 | extension SwiftUI::ControlWidget { |
| 925 | @_Concurrency::MainActor @preconcurrency public static func main() |
| 926 | } |
| 927 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 928 | @available(tvOS, unavailable) |
| 929 | extension SwiftUI::WidgetBundle { |
| 930 | @_Concurrency::MainActor @preconcurrency public static func main() |
| 931 | } |
| 932 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 933 | @available(tvOS, unavailable) |
| 934 | @preconcurrency public enum WidgetFamily : Swift::Int, Swift::RawRepresentable, Swift::CustomDebugStringConvertible, Swift::CustomStringConvertible, Swift::Sendable { |
| 935 | @available(iOS 14.0, macOS 11.0, visionOS 26.0, *) |
| 936 | @available(tvOS, unavailable) |
| 937 | @available(watchOS, unavailable) |
| 938 | @available(tvOS, unavailable) |
| 939 | @available(watchOS, unavailable) |
| 940 | case systemExtraLarge |
| 941 | @available(visionOS 26.0, *) |
| 942 | @available(iOS, unavailable) |
| 943 | @available(macOS, unavailable) |
| 944 | @available(tvOS, unavailable) |
| 945 | @available(watchOS, unavailable) |
| 946 | case systemExtraLargePortrait |
| 948 | @available(tvOS, unavailable) |
| 949 | @available(watchOS, unavailable) |
| 950 | case systemExtraLarge |
| 951 | @available(iOS 27.0, macOS 27.0, visionOS 26.0, *) |
| 952 | @available(tvOS, unavailable) |
| 953 | @available(watchOS, unavailable) |
| 954 | case systemExtraLargePortrait |
| 966 | @available(tvOS, unavailable) |
| 967 | @available(visionOS, unavailable) |
| 968 | case accessoryInline |
| 969 | public var debugDescription: Swift.String { |
| 970 | get |
| 971 | } |
| 972 | public var description: Swift.String { |
| 973 | get |
| 974 | } |
| 975 | public init?(rawValue: Swift.Int) |
| 976 | @available(iOS 14.0, watchOS 9.0, visionOS 26.0, macOS 11.0, *) |
| 977 | @available(tvOS, unavailable) |
| 978 | public typealias RawValue = Swift.Int |
| 979 | public var rawValue: Swift.Int { |
| 980 | get |
| 981 | } |
| 982 | } |
| 983 | @available(iOS 15.0, watchOS 9.0, macOS 12.0, visionOS 26.0, *) |
| 984 | @available(tvOS, unavailable) |
| 985 | extension SwiftUI.WidgetConfiguration { |
| 986 | @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func containerBackgroundRemovable(_ isRemovable: Swift.Bool = true) -> some SwiftUI.WidgetConfiguration { |
| 987 | if #available(iOS 17.0, watchOS 10.0, macOS 14.0, *) { |
| 988 | return _containerBackgroundRemovable(isRemovable) |
| 989 | } else { |
| 974 | @available(tvOS, unavailable) |
| 975 | @available(visionOS, unavailable) |
| 976 | case accessoryInline |
| 977 | public var debugDescription: Swift::String { |
| 978 | get |
| 979 | } |
| 980 | public var description: Swift::String { |
| 981 | get |
| 982 | } |
| 983 | public init?(rawValue: Swift::Int) |
| 984 | @available(macOS 11.0, iOS 14.0, watchOS 9.0, visionOS 26.0, *) |
| 985 | @available(tvOS, unavailable) |
| 986 | public typealias RawValue = Swift::Int |
| 987 | public var rawValue: Swift::Int { |
| 988 | get |
| 989 | } |
| 990 | } |
| 991 | @available(iOS 15.0, watchOS 9.0, macOS 12.0, visionOS 26.0, *) |
| 992 | @available(tvOS, unavailable) |
| 993 | extension SwiftUI::WidgetConfiguration { |
| 994 | @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func containerBackgroundRemovable(_ isRemovable: Swift::Bool = true) -> some SwiftUI::WidgetConfiguration { |
| 995 | if #available(iOS 17.0, watchOS 10.0, macOS 14.0, *) { |
| 996 | return _containerBackgroundRemovable(isRemovable) |
| 997 | } else { |
| 994 | } |
| 995 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 996 | @available(tvOS, unavailable) |
| 997 | extension SwiftUI.WidgetConfiguration { |
| 998 | @_Concurrency.MainActor @preconcurrency public func _containerBackgroundRemovable(_ isRemovable: Swift.Bool) -> some SwiftUI.WidgetConfiguration |
| 999 | |
| 1000 | } |
| 1001 | extension SwiftUI.ContainerBackgroundPlacement { |
| 1002 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 1003 | @available(tvOS, unavailable) |
| 1004 | public static let widget: SwiftUI.ContainerBackgroundPlacement |
| 1005 | } |
| 1006 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 1007 | @available(tvOS, unavailable) |
| 1008 | extension SwiftUICore.EnvironmentValues { |
| 1009 | @usableFromInline |
| 1010 | internal struct ShowsWidgetBackgroundKey : SwiftUICore.EnvironmentKey { |
| 1011 | @usableFromInline |
| 1012 | internal static var defaultValue: Swift.Bool |
| 1013 | @available(iOS 17.0, watchOS 10.0, visionOS 26.0, macOS 14.0, *) |
| 1014 | @usableFromInline |
| 1015 | @available(tvOS, unavailable, introduced: 13.0) |
| 1016 | internal typealias Value = Swift.Bool |
| 1017 | } |
| 1018 | } |
| 1019 | extension SwiftUICore.EnvironmentValues { |
| 1020 | @available(iOS 15.0, macOS 12.0, watchOS 8.0, visionOS 26.0, *) |
| 1021 | @available(tvOS, unavailable) |
| 1022 | @_alwaysEmitIntoClient public var showsWidgetContainerBackground: Swift.Bool { |
| 1023 | get { |
| 1024 | if #available(iOS 17, watchOS 10.0, macOS 14.0, *) { |
| 1025 | return self[ShowsWidgetBackgroundKey.self] |
| 1002 | } |
| 1003 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 1004 | @available(tvOS, unavailable) |
| 1005 | extension SwiftUI::WidgetConfiguration { |
| 1006 | @_Concurrency::MainActor @preconcurrency public func _containerBackgroundRemovable(_ isRemovable: Swift::Bool) -> some SwiftUI::WidgetConfiguration |
| 1007 | |
| 1008 | } |
| 1009 | extension SwiftUI::ContainerBackgroundPlacement { |
| 1010 | @available(iOS 17.0, watchOS 10.0, macOS 14.0, visionOS 26.0, *) |
| 1011 | @available(tvOS, unavailable) |
| 1012 | public static let widget: SwiftUI::ContainerBackgroundPlacement |
| 1013 | } |
| 1014 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 1015 | @available(tvOS, unavailable) |
| 1016 | extension SwiftUICore::EnvironmentValues { |
| 1017 | @usableFromInline |
| 1018 | internal struct ShowsWidgetBackgroundKey : SwiftUICore::EnvironmentKey { |
| 1019 | @usableFromInline |
| 1020 | internal static var defaultValue: Swift::Bool |
| 1021 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, visionOS 26.0, *) |
| 1022 | @usableFromInline |
| 1023 | @available(tvOS, unavailable, introduced: 13.0) |
| 1024 | internal typealias Value = Swift::Bool |
| 1025 | } |
| 1026 | } |
| 1027 | extension SwiftUICore::EnvironmentValues { |
| 1028 | @available(iOS 15.0, macOS 12.0, watchOS 8.0, visionOS 26.0, *) |
| 1029 | @available(tvOS, unavailable) |
| 1030 | @_alwaysEmitIntoClient public var showsWidgetContainerBackground: Swift::Bool { |
| 1031 | get { |
| 1032 | if #available(iOS 17, watchOS 10.0, macOS 14.0, *) { |
| 1033 | return self[ShowsWidgetBackgroundKey.self] |
| 1031 | } |
| 1032 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1033 | @available(tvOS, unavailable) |
| 1034 | public struct WidgetRenderingMode : Swift.Equatable, Swift.CustomStringConvertible { |
| 1035 | public static let fullColor: WidgetKit.WidgetRenderingMode |
| 1036 | public static let accented: WidgetKit.WidgetRenderingMode |
| 1037 | public static let vibrant: WidgetKit.WidgetRenderingMode |
| 1038 | public var description: Swift.String { |
| 1039 | get |
| 1040 | } |
| 1041 | public static func == (a: WidgetKit.WidgetRenderingMode, b: WidgetKit.WidgetRenderingMode) -> Swift.Bool |
| 1042 | } |
| 1043 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1044 | @available(tvOS, unavailable) |
| 1045 | extension SwiftUICore.EnvironmentValues { |
| 1046 | public var widgetRenderingMode: WidgetKit.WidgetRenderingMode { |
| 1047 | get |
| 1048 | set |
| 1049 | } |
| 1050 | } |
| 1051 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1052 | @available(tvOS, unavailable) |
| 1053 | extension SwiftUICore.View { |
| 1054 | @_Concurrency.MainActor @preconcurrency public func widgetAccentable(_ accentable: Swift.Bool = true) -> some SwiftUICore.View |
| 1055 | |
| 1056 | } |
| 1057 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1058 | @available(tvOS, unavailable) |
| 1059 | public protocol IntentTimelineProvider { |
| 1060 | associatedtype Entry : WidgetKit.TimelineEntry |
| 1061 | associatedtype Intent : Intents.INIntent |
| 1062 | typealias Context = WidgetKit.TimelineProviderContext |
| 1063 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1064 | @available(tvOS, unavailable) |
| 1065 | func recommendations() -> [WidgetKit.IntentRecommendation<Self.Intent>] |
| 1066 | func placeholder(in context: Self.Context) -> Self.Entry |
| 1067 | @preconcurrency func getSnapshot(for configuration: Self.Intent, in context: Self.Context, completion: @escaping @Sendable (Self.Entry) -> Swift.Void) |
| 1068 | @preconcurrency func getTimeline(for configuration: Self.Intent, in context: Self.Context, completion: @escaping @Sendable (WidgetKit.Timeline<Self.Entry>) -> Swift.Void) |
| 1069 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1070 | @available(tvOS, unavailable) |
| 1071 | func relevance() async -> WidgetKit.WidgetRelevance<Self.Intent> |
| 1072 | } |
| 1073 | @available(iOS 16.0, macOS 13.0, visionOS 26.0, *) |
| 1074 | @available(tvOS, unavailable) |
| 1075 | @available(watchOS, unavailable) |
| 1076 | extension WidgetKit.IntentTimelineProvider { |
| 1077 | public func recommendations() -> [WidgetKit.IntentRecommendation<Self.Intent>] |
| 1078 | } |
| 1079 | extension WidgetKit.IntentTimelineProvider { |
| 1080 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1081 | @available(tvOS, unavailable) |
| 1082 | public func relevance() async -> WidgetKit.WidgetRelevance<Self.Intent> |
| 1083 | } |
| 1084 | @available(iOS 16.0, watchOS 9.0, visionOS 26.0, *) |
| 1085 | @available(macOS, unavailable) |
| 1086 | @available(tvOS, unavailable) |
| 1087 | extension SwiftUICore.View { |
| 1088 | @_Concurrency.MainActor @preconcurrency public func widgetLabel<Label>(@SwiftUICore.ViewBuilder label: () -> Label) -> some SwiftUICore.View where Label : SwiftUICore.View |
| 1089 | |
| 1090 | @_Concurrency.MainActor @preconcurrency public func widgetLabel(_ labelKey: SwiftUICore.LocalizedStringKey) -> some SwiftUICore.View |
| 1091 | |
| 1092 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func widgetLabel(_ label: Foundation.LocalizedStringResource) -> some SwiftUICore.View { |
| 1093 | widgetLabel { |
| 1094 | Text(label) |
| 1095 | } |
| 1096 | } |
| 1097 | |
| 1098 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func widgetLabel<S>(_ label: S) -> some SwiftUICore.View where S : Swift.StringProtocol |
| 1099 | |
| 1100 | } |
| 1101 | @available(iOS 16.0, watchOS 9.0, visionOS 26.0, *) |
| 1102 | @available(macOS, unavailable) |
| 1103 | @available(tvOS, unavailable) |
| 1104 | extension SwiftUICore.EnvironmentValues { |
| 1105 | public var showsWidgetLabel: Swift.Bool { |
| 1106 | get |
| 1107 | set |
| 1108 | } |
| 1039 | } |
| 1040 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1041 | @available(tvOS, unavailable) |
| 1042 | public struct WidgetRenderingMode : Swift::Equatable, Swift::CustomStringConvertible { |
| 1043 | public static let fullColor: WidgetKit::WidgetRenderingMode |
| 1044 | public static let accented: WidgetKit::WidgetRenderingMode |
| 1045 | public static let vibrant: WidgetKit::WidgetRenderingMode |
| 1046 | public var description: Swift::String { |
| 1047 | get |
| 1048 | } |
| 1049 | public static func == (a: WidgetKit::WidgetRenderingMode, b: WidgetKit::WidgetRenderingMode) -> Swift::Bool |
| 1050 | } |
| 1051 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1052 | @available(tvOS, unavailable) |
| 1053 | extension SwiftUICore::EnvironmentValues { |
| 1054 | public var widgetRenderingMode: WidgetKit::WidgetRenderingMode { |
| 1055 | get |
| 1056 | set |
| 1057 | } |
| 1058 | } |
| 1059 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1060 | @available(tvOS, unavailable) |
| 1061 | extension SwiftUICore::View { |
| 1062 | @_Concurrency::MainActor @preconcurrency public func widgetAccentable(_ accentable: Swift::Bool = true) -> some SwiftUICore::View |
| 1063 | |
| 1064 | } |
| 1065 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1066 | @available(tvOS, unavailable) |
| 1067 | public protocol IntentTimelineProvider { |
| 1068 | associatedtype Entry : WidgetKit::TimelineEntry |
| 1069 | associatedtype Intent : Intents::INIntent |
| 1070 | typealias Context = WidgetKit::TimelineProviderContext |
| 1071 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1072 | @available(tvOS, unavailable) |
| 1073 | func recommendations() -> [WidgetKit::IntentRecommendation<Self.Intent>] |
| 1074 | func placeholder(in context: Self.Context) -> Self.Entry |
| 1075 | @preconcurrency func getSnapshot(for configuration: Self.Intent, in context: Self.Context, completion: @escaping @Sendable (Self.Entry) -> Swift::Void) |
| 1076 | @preconcurrency func getTimeline(for configuration: Self.Intent, in context: Self.Context, completion: @escaping @Sendable (WidgetKit::Timeline<Self.Entry>) -> Swift::Void) |
| 1077 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1078 | @available(tvOS, unavailable) |
| 1079 | func relevance() async -> WidgetKit::WidgetRelevance<Self.Intent> |
| 1080 | } |
| 1081 | @available(iOS 16.0, macOS 13.0, visionOS 26.0, *) |
| 1082 | @available(tvOS, unavailable) |
| 1083 | @available(watchOS, unavailable) |
| 1084 | extension WidgetKit::IntentTimelineProvider { |
| 1085 | public func recommendations() -> [WidgetKit::IntentRecommendation<Self.Intent>] |
| 1086 | } |
| 1087 | extension WidgetKit::IntentTimelineProvider { |
| 1088 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1089 | @available(tvOS, unavailable) |
| 1090 | public func relevance() async -> WidgetKit::WidgetRelevance<Self.Intent> |
| 1091 | } |
| 1092 | @available(iOS 16.0, watchOS 9.0, visionOS 26.0, *) |
| 1093 | @available(macOS, unavailable) |
| 1094 | @available(tvOS, unavailable) |
| 1095 | extension SwiftUICore::View { |
| 1096 | @_Concurrency::MainActor @preconcurrency public func widgetLabel<Label>(@SwiftUICore::ViewBuilder label: () -> Label) -> some SwiftUICore::View where Label : SwiftUICore::View |
| 1097 | |
| 1098 | @_Concurrency::MainActor @preconcurrency public func widgetLabel(_ labelKey: SwiftUICore::LocalizedStringKey) -> some SwiftUICore::View |
| 1099 | |
| 1100 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func widgetLabel(_ label: Foundation::LocalizedStringResource) -> some SwiftUICore::View { |
| 1101 | widgetLabel { |
| 1102 | Text(label) |
| 1103 | } |
| 1104 | } |
| 1105 | |
| 1106 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public func widgetLabel<S>(_ label: S) -> some SwiftUICore::View where S : Swift::StringProtocol |
| 1107 | |
| 1108 | } |
| 1109 | @available(iOS 16.0, watchOS 9.0, visionOS 26.0, *) |
| 1110 | @available(macOS, unavailable) |
| 1111 | @available(tvOS, unavailable) |
| 1112 | extension SwiftUICore::EnvironmentValues { |
| 1113 | public var showsWidgetLabel: Swift::Bool { |
| 1114 | get |
| 1115 | set |
| 1116 | } |
| 1118 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1119 | @available(tvOS, unavailable) |
| 1120 | @available(visionOS, unavailable) |
| 1121 | @_Concurrency.MainActor @preconcurrency public struct StaticControlConfiguration<Content> : SwiftUI.ControlWidgetConfiguration where Content : SwiftUI.ControlWidgetTemplate { |
| 1122 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.ControlWidgetConfiguration { |
| 1123 | get |
| 1124 | } |
| 1125 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 1126 | @available(tvOS, unavailable) |
| 1127 | @available(visionOS, unavailable) |
| 1128 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit26StaticControlConfigurationV4bodyQrvp", 0) __<Content> |
| 1129 | } |
| 1130 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1131 | @available(tvOS, unavailable) |
| 1132 | @available(visionOS, unavailable) |
| 1133 | extension WidgetKit.StaticControlConfiguration { |
| 1134 | @_Concurrency.MainActor @preconcurrency public init(kind: Swift.String, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping () -> Content) |
| 1135 | @_Concurrency.MainActor @preconcurrency public init<Provider>(kind: Swift.String, provider: Provider, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping (Provider.Value) -> Content) where Provider : WidgetKit.ControlValueProvider |
| 1136 | } |
| 1137 | @available(iOS 16.2, *) |
| 1138 | @available(macOS, unavailable) |
| 1139 | @available(macCatalyst, unavailable) |
| 1140 | @available(tvOS, unavailable) |
| 1141 | @available(watchOS, unavailable) |
| 1142 | @available(visionOS, unavailable) |
| 1143 | @preconcurrency public enum ActivityPreviewViewKind : Swift.Sendable { |
| 1144 | case content |
| 1145 | case dynamicIsland(WidgetKit.ActivityPreviewViewKind.DynamicIslandPreviewViewState) |
| 1146 | @preconcurrency public enum DynamicIslandPreviewViewState : Swift.Sendable { |
| 1147 | case compact |
| 1148 | case minimal |
| 1149 | case expanded |
| 1150 | public static func == (a: WidgetKit.ActivityPreviewViewKind.DynamicIslandPreviewViewState, b: WidgetKit.ActivityPreviewViewKind.DynamicIslandPreviewViewState) -> Swift.Bool |
| 1151 | public func hash(into hasher: inout Swift.Hasher) |
| 1152 | public var hashValue: Swift.Int { |
| 1153 | get |
| 1154 | } |
| 1155 | } |
| 1126 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1127 | @available(tvOS, unavailable) |
| 1128 | @available(visionOS, unavailable) |
| 1129 | @_Concurrency::MainActor @preconcurrency public struct StaticControlConfiguration<Content> : SwiftUI::ControlWidgetConfiguration where Content : SwiftUI::ControlWidgetTemplate { |
| 1130 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::ControlWidgetConfiguration { |
| 1131 | get |
| 1132 | } |
| 1133 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 1134 | @available(tvOS, unavailable) |
| 1135 | @available(visionOS, unavailable) |
| 1136 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit26StaticControlConfigurationV4bodyQrvp", 0) __<Content> |
| 1137 | } |
| 1138 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1139 | @available(tvOS, unavailable) |
| 1140 | @available(visionOS, unavailable) |
| 1141 | extension WidgetKit::StaticControlConfiguration { |
| 1142 | @_Concurrency::MainActor @preconcurrency public init(kind: Swift::String, @SwiftUI::ControlWidgetTemplateBuilder content: @escaping () -> Content) |
| 1143 | @_Concurrency::MainActor @preconcurrency public init<Provider>(kind: Swift::String, provider: Provider, @SwiftUI::ControlWidgetTemplateBuilder content: @escaping (Provider.Value) -> Content) where Provider : WidgetKit::ControlValueProvider |
| 1144 | } |
| 1145 | @available(iOS 16.2, *) |
| 1146 | @available(macOS, unavailable) |
| 1147 | @available(macCatalyst, unavailable) |
| 1148 | @available(tvOS, unavailable) |
| 1149 | @available(watchOS, unavailable) |
| 1150 | @available(visionOS, unavailable) |
| 1151 | @preconcurrency public enum ActivityPreviewViewKind : Swift::Sendable { |
| 1152 | case content |
| 1153 | case dynamicIsland(WidgetKit::ActivityPreviewViewKind.WidgetKit::DynamicIslandPreviewViewState) |
| 1154 | @preconcurrency public enum DynamicIslandPreviewViewState : Swift::Sendable { |
| 1155 | case compact |
| 1156 | case minimal |
| 1157 | case expanded |
| 1158 | public static func == (a: WidgetKit::ActivityPreviewViewKind.WidgetKit::DynamicIslandPreviewViewState, b: WidgetKit::ActivityPreviewViewKind.WidgetKit::DynamicIslandPreviewViewState) -> Swift::Bool |
| 1159 | public func hash(into hasher: inout Swift::Hasher) |
| 1160 | public var hashValue: Swift::Int { |
| 1161 | get |
| 1162 | } |
| 1163 | } |
| 1160 | @available(tvOS, unavailable) |
| 1161 | @available(watchOS, unavailable) |
| 1162 | @available(visionOS, unavailable) |
| 1163 | extension ActivityKit.ActivityAttributes { |
| 1164 | public func previewContext(_ contentState: Self.ContentState, isStale: Swift.Bool = false, viewKind: WidgetKit.ActivityPreviewViewKind) -> some SwiftUICore.View |
| 1165 | |
| 1166 | } |
| 1167 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1168 | @available(tvOS, unavailable) |
| 1169 | @available(visionOS, unavailable) |
| 1170 | public struct ControlPushInfo { |
| 1171 | public let token: Foundation.Data |
| 1172 | } |
| 1173 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1174 | @available(tvOS, unavailable) |
| 1175 | @available(visionOS, unavailable) |
| 1176 | @_Concurrency.MainActor @preconcurrency public struct ControlWidgetToggle<Label, ValueLabel, Action> : SwiftUI.ControlWidgetTemplate where Label : SwiftUICore.View, ValueLabel : SwiftUICore.View { |
| 1177 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.ControlWidgetTemplate { |
| 1178 | get |
| 1179 | } |
| 1180 | @_Concurrency.MainActor @preconcurrency public static var _controlType: any Any.Type { |
| 1181 | get |
| 1182 | } |
| 1183 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 1184 | @available(tvOS, unavailable) |
| 1185 | @available(visionOS, unavailable) |
| 1186 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA6ToggleV4bodyQrvp", 0) __<Label, ValueLabel, Action> |
| 1187 | } |
| 1188 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1189 | @available(tvOS, unavailable) |
| 1190 | @available(visionOS, unavailable) |
| 1191 | extension WidgetKit.ControlWidgetToggle { |
| 1192 | @_Concurrency.MainActor @preconcurrency public init(isOn: Swift.Bool, action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label, @SwiftUICore.ViewBuilder valueLabel: @escaping (Swift.Bool) -> ValueLabel) where Action : AppIntents.SetValueIntent, Action.ValueType == Swift.Bool |
| 1193 | @_Concurrency.MainActor @preconcurrency public init(isOn: Swift.Bool, action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label) where ValueLabel == WidgetKit.ControlWidgetToggleDefaultLabel, Action : AppIntents.SetValueIntent, Action.ValueType == Swift.Bool |
| 1194 | } |
| 1195 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1196 | @available(tvOS, unavailable) |
| 1197 | @available(visionOS, unavailable) |
| 1198 | @_Concurrency.MainActor @preconcurrency public struct ControlWidgetToggleDefaultLabel : SwiftUICore.View { |
| 1199 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View { |
| 1200 | get |
| 1201 | } |
| 1202 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 1203 | @available(tvOS, unavailable) |
| 1204 | @available(visionOS, unavailable) |
| 1205 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA18ToggleDefaultLabelV4bodyQrvp", 0) __ |
| 1206 | } |
| 1207 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1208 | @available(tvOS, unavailable) |
| 1209 | @available(visionOS, unavailable) |
| 1210 | extension WidgetKit.ControlWidgetToggle where Label == SwiftUICore.Text { |
| 1211 | @_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, isOn: Swift.Bool, action: Action, @SwiftUICore.ViewBuilder valueLabel: @escaping (Swift.Bool) -> ValueLabel) where Action : AppIntents.SetValueIntent, Action.ValueType == Swift.Bool |
| 1212 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public init(_ titleResource: Foundation.LocalizedStringResource, isOn: Swift.Bool, action: Action, @SwiftUICore.ViewBuilder valueLabel: @escaping (Swift.Bool) -> ValueLabel) where Action : AppIntents.SetValueIntent, Action.ValueType == Swift.Bool { |
| 1213 | self.init( |
| 1214 | isOn: isOn, |
| 1215 | action: action, |
| 1216 | label: { Text(titleResource) }, |
| 1217 | valueLabel: valueLabel) |
| 1218 | } |
| 1219 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public init(_ title: some StringProtocol, isOn: Swift.Bool, action: Action, @SwiftUICore.ViewBuilder valueLabel: @escaping (Swift.Bool) -> ValueLabel) where Action : AppIntents.SetValueIntent, Action.ValueType == Swift.Bool |
| 1220 | } |
| 1221 | @available(*, unavailable) |
| 1222 | extension WidgetKit.ControlWidgetToggle : Swift.Sendable { |
| 1223 | } |
| 1224 | @available(*, unavailable) |
| 1225 | extension WidgetKit.ControlWidgetToggleDefaultLabel : Swift.Sendable { |
| 1226 | } |
| 1227 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1228 | @available(tvOS, unavailable) |
| 1229 | @_Concurrency.MainActor @preconcurrency public struct IntentConfiguration<Intent, Content> : SwiftUI.WidgetConfiguration where Intent : Intents.INIntent, Content : SwiftUICore.View { |
| 1230 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.WidgetConfiguration { |
| 1231 | get |
| 1232 | } |
| 1233 | @available(iOS 14.0, watchOS 9.0, visionOS 26.0, macOS 11.0, *) |
| 1234 | @available(tvOS, unavailable) |
| 1235 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit19IntentConfigurationV4bodyQrvp", 0) __<Intent, Content> |
| 1236 | } |
| 1237 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1238 | @available(tvOS, unavailable) |
| 1239 | public struct IntentRecommendation<T> where T : Intents.INIntent { |
| 1240 | public init(intent: T, description: SwiftUICore.Text) |
| 1241 | public init(intent: T, description: SwiftUICore.LocalizedStringKey) |
| 1242 | @_disfavoredOverload @_alwaysEmitIntoClient public init(intent: T, description: Foundation.LocalizedStringResource) { |
| 1243 | self.init( |
| 1244 | intent: intent, |
| 1245 | description: Text(description) |
| 1246 | ) |
| 1247 | } |
| 1248 | @_disfavoredOverload public init<S>(intent: T, description: S) where S : Swift.StringProtocol |
| 1249 | } |
| 1250 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1251 | @available(tvOS, unavailable) |
| 1252 | extension WidgetKit.IntentConfiguration { |
| 1253 | @_Concurrency.MainActor @preconcurrency public init<Provider>(kind: Swift.String, intent: Intent.Type, provider: Provider, @SwiftUICore.ViewBuilder content: @escaping (Provider.Entry) -> Content) where Intent == Provider.Intent, Provider : WidgetKit.IntentTimelineProvider |
| 1254 | } |
| 1255 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1256 | @available(tvOS, unavailable) |
| 1257 | @available(visionOS, unavailable) |
| 1258 | extension SwiftUI.ControlWidgetConfiguration { |
| 1259 | @_Concurrency.MainActor @preconcurrency public func displayName(_ displayName: Foundation.LocalizedStringResource) -> some SwiftUI.ControlWidgetConfiguration |
| 1260 | |
| 1261 | @_Concurrency.MainActor @preconcurrency public func description(_ description: Foundation.LocalizedStringResource) -> some SwiftUI.ControlWidgetConfiguration |
| 1262 | |
| 1263 | @_Concurrency.MainActor @preconcurrency public func promptsForUserConfiguration() -> some SwiftUI.ControlWidgetConfiguration |
| 1264 | |
| 1265 | @_Concurrency.MainActor @preconcurrency public func pushHandler(_ pushHandlerType: any WidgetKit.ControlPushHandler.Type) -> some SwiftUI.ControlWidgetConfiguration |
| 1266 | |
| 1267 | } |
| 1268 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1269 | @available(tvOS, unavailable) |
| 1270 | @available(visionOS, unavailable) |
| 1271 | @_Concurrency.MainActor @preconcurrency public struct ControlWidgetButton<Label, ActionLabel, Action> : SwiftUI.ControlWidgetTemplate where Label : SwiftUICore.View, ActionLabel : SwiftUICore.View { |
| 1272 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUI.ControlWidgetTemplate { |
| 1273 | get |
| 1274 | } |
| 1275 | @_Concurrency.MainActor @preconcurrency public static var _controlType: any Any.Type { |
| 1276 | get |
| 1277 | } |
| 1278 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 1279 | @available(tvOS, unavailable) |
| 1280 | @available(visionOS, unavailable) |
| 1281 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA6ButtonV4bodyQrvp", 0) __<Label, ActionLabel, Action> |
| 1282 | } |
| 1283 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1284 | @available(tvOS, unavailable) |
| 1285 | @available(visionOS, unavailable) |
| 1286 | extension WidgetKit.ControlWidgetButton { |
| 1287 | @_Concurrency.MainActor @preconcurrency public init(action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent |
| 1288 | @_Concurrency.MainActor @preconcurrency public init(action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label) where ActionLabel == WidgetKit.ControlWidgetButtonDefaultActionLabel, Action : AppIntents.AppIntent |
| 1289 | @_Concurrency.MainActor @preconcurrency public init(action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label) where ActionLabel == WidgetKit.ControlWidgetButtonDefaultActionLabel, Action : AppIntents.OpenIntent |
| 1290 | } |
| 1291 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1292 | @available(tvOS, unavailable) |
| 1293 | @available(visionOS, unavailable) |
| 1294 | extension WidgetKit.ControlWidgetButton where Label == SwiftUICore.Text { |
| 1295 | @_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, action: Action, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent |
| 1296 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public init(_ titleResource: Foundation.LocalizedStringResource, action: Action, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent { |
| 1297 | self.init( |
| 1298 | action: action, |
| 1299 | label: { Text(titleResource) }, |
| 1300 | actionLabel: actionLabel |
| 1301 | ) |
| 1302 | } |
| 1303 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public init(_ title: some StringProtocol, action: Action, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent |
| 1304 | } |
| 1305 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1306 | @available(tvOS, unavailable) |
| 1307 | @available(visionOS, unavailable) |
| 1308 | @_Concurrency.MainActor @preconcurrency public struct ControlWidgetButtonDefaultActionLabel : SwiftUICore.View { |
| 1309 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View { |
| 1310 | get |
| 1311 | } |
| 1312 | @available(iOS 18.0, watchOS 26.0, macOS 26.0, *) |
| 1313 | @available(tvOS, unavailable) |
| 1314 | @available(visionOS, unavailable) |
| 1315 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA24ButtonDefaultActionLabelV4bodyQrvp", 0) __ |
| 1316 | } |
| 1317 | @available(*, unavailable) |
| 1318 | extension WidgetKit.ControlWidgetButton : Swift.Sendable { |
| 1319 | } |
| 1320 | @available(*, unavailable) |
| 1321 | extension WidgetKit.ControlWidgetButtonDefaultActionLabel : Swift.Sendable { |
| 1322 | } |
| 1323 | @available(iOS 16.0, *) |
| 1324 | @available(macOS, unavailable) |
| 1325 | @available(macCatalyst, unavailable) |
| 1326 | @available(tvOS, unavailable) |
| 1327 | @available(watchOS, unavailable) |
| 1328 | @available(visionOS, unavailable) |
| 1329 | extension SwiftUICore.View { |
| 1330 | @_Concurrency.MainActor @preconcurrency public func activityBackgroundTint(_ color: SwiftUICore.Color?) -> some SwiftUICore.View |
| 1331 | |
| 1332 | } |
| 1333 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1334 | @available(tvOS, unavailable) |
| 1335 | public struct Timeline<EntryType> where EntryType : WidgetKit.TimelineEntry { |
| 1336 | public let entries: [EntryType] |
| 1337 | public let policy: WidgetKit.TimelineReloadPolicy |
| 1338 | public init(entries: [EntryType], policy: WidgetKit.TimelineReloadPolicy) |
| 1339 | } |
| 1340 | @available(iOS 16.1, *) |
| 1341 | @available(macOS, unavailable) |
| 1342 | @available(macCatalyst, unavailable) |
| 1343 | @available(tvOS, unavailable) |
| 1344 | @available(watchOS, unavailable) |
| 1345 | @available(visionOS, unavailable) |
| 1346 | extension SwiftUICore.View { |
| 1347 | @_Concurrency.MainActor @preconcurrency public func activitySystemActionForegroundColor(_ color: SwiftUICore.Color?) -> some SwiftUICore.View |
| 1348 | |
| 1349 | } |
| 1350 | @available(watchOS 11.0, *) |
| 1168 | @available(tvOS, unavailable) |
| 1169 | @available(watchOS, unavailable) |
| 1170 | @available(visionOS, unavailable) |
| 1171 | extension ActivityKit::ActivityAttributes { |
| 1172 | public func previewContext(_ contentState: Self.ContentState, isStale: Swift::Bool = false, viewKind: WidgetKit::ActivityPreviewViewKind) -> some SwiftUICore::View |
| 1173 | |
| 1174 | } |
| 1175 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1176 | @available(tvOS, unavailable) |
| 1177 | @available(visionOS, unavailable) |
| 1178 | public struct ControlPushInfo { |
| 1179 | public let token: Foundation::Data |
| 1180 | } |
| 1181 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1182 | @available(tvOS, unavailable) |
| 1183 | @available(visionOS, unavailable) |
| 1184 | @_Concurrency::MainActor @preconcurrency public struct ControlWidgetToggle<Label, ValueLabel, Action> : SwiftUI::ControlWidgetTemplate where Label : SwiftUICore::View, ValueLabel : SwiftUICore::View { |
| 1185 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::ControlWidgetTemplate { |
| 1186 | get |
| 1187 | } |
| 1188 | @_Concurrency::MainActor @preconcurrency public static var _controlType: any Any.Type { |
| 1189 | get |
| 1190 | } |
| 1191 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 1192 | @available(tvOS, unavailable) |
| 1193 | @available(visionOS, unavailable) |
| 1194 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA6ToggleV4bodyQrvp", 0) __<Label, ValueLabel, Action> |
| 1195 | } |
| 1196 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1197 | @available(tvOS, unavailable) |
| 1198 | @available(visionOS, unavailable) |
| 1199 | extension WidgetKit::ControlWidgetToggle { |
| 1200 | @_Concurrency::MainActor @preconcurrency public init(isOn: Swift::Bool, action: Action, @SwiftUICore::ViewBuilder label: @escaping () -> Label, @SwiftUICore::ViewBuilder valueLabel: @escaping (Swift::Bool) -> ValueLabel) where Action : AppIntents::SetValueIntent, Action.ValueType == Swift::Bool |
| 1201 | @_Concurrency::MainActor @preconcurrency public init(isOn: Swift::Bool, action: Action, @SwiftUICore::ViewBuilder label: @escaping () -> Label) where ValueLabel == WidgetKit::ControlWidgetToggleDefaultLabel, Action : AppIntents::SetValueIntent, Action.ValueType == Swift::Bool |
| 1202 | } |
| 1203 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1204 | @available(tvOS, unavailable) |
| 1205 | @available(visionOS, unavailable) |
| 1206 | @_Concurrency::MainActor @preconcurrency public struct ControlWidgetToggleDefaultLabel : SwiftUICore::View { |
| 1207 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUICore::View { |
| 1208 | get |
| 1209 | } |
| 1210 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 1211 | @available(tvOS, unavailable) |
| 1212 | @available(visionOS, unavailable) |
| 1213 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA18ToggleDefaultLabelV4bodyQrvp", 0) __ |
| 1214 | } |
| 1215 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1216 | @available(tvOS, unavailable) |
| 1217 | @available(visionOS, unavailable) |
| 1218 | extension WidgetKit::ControlWidgetToggle where Label == SwiftUICore::Text { |
| 1219 | @_Concurrency::MainActor @preconcurrency public init(_ titleKey: SwiftUICore::LocalizedStringKey, isOn: Swift::Bool, action: Action, @SwiftUICore::ViewBuilder valueLabel: @escaping (Swift::Bool) -> ValueLabel) where Action : AppIntents::SetValueIntent, Action.ValueType == Swift::Bool |
| 1220 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public init(_ titleResource: Foundation::LocalizedStringResource, isOn: Swift::Bool, action: Action, @SwiftUICore::ViewBuilder valueLabel: @escaping (Swift::Bool) -> ValueLabel) where Action : AppIntents::SetValueIntent, Action.ValueType == Swift::Bool { |
| 1221 | self.init( |
| 1222 | isOn: isOn, |
| 1223 | action: action, |
| 1224 | label: { Text(titleResource) }, |
| 1225 | valueLabel: valueLabel) |
| 1226 | } |
| 1227 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public init(_ title: some StringProtocol, isOn: Swift::Bool, action: Action, @SwiftUICore::ViewBuilder valueLabel: @escaping (Swift::Bool) -> ValueLabel) where Action : AppIntents::SetValueIntent, Action.ValueType == Swift::Bool |
| 1228 | } |
| 1229 | @available(*, unavailable) |
| 1230 | extension WidgetKit::ControlWidgetToggle : Swift::Sendable { |
| 1231 | } |
| 1232 | @available(*, unavailable) |
| 1233 | extension WidgetKit::ControlWidgetToggleDefaultLabel : Swift::Sendable { |
| 1234 | } |
| 1235 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1236 | @available(tvOS, unavailable) |
| 1237 | @_Concurrency::MainActor @preconcurrency public struct IntentConfiguration<Intent, Content> : SwiftUI::WidgetConfiguration where Intent : Intents::INIntent, Content : SwiftUICore::View { |
| 1238 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::WidgetConfiguration { |
| 1239 | get |
| 1240 | } |
| 1241 | @available(macOS 11.0, iOS 14.0, watchOS 9.0, visionOS 26.0, *) |
| 1242 | @available(tvOS, unavailable) |
| 1243 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit19IntentConfigurationV4bodyQrvp", 0) __<Intent, Content> |
| 1244 | } |
| 1245 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1246 | @available(tvOS, unavailable) |
| 1247 | public struct IntentRecommendation<T> where T : Intents::INIntent { |
| 1248 | public init(intent: T, description: SwiftUICore::Text) |
| 1249 | public init(intent: T, description: SwiftUICore::LocalizedStringKey) |
| 1250 | @_disfavoredOverload @_alwaysEmitIntoClient public init(intent: T, description: Foundation::LocalizedStringResource) { |
| 1251 | self.init( |
| 1252 | intent: intent, |
| 1253 | description: Text(description) |
| 1254 | ) |
| 1255 | } |
| 1256 | @_disfavoredOverload public init<S>(intent: T, description: S) where S : Swift::StringProtocol |
| 1257 | } |
| 1258 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1259 | @available(tvOS, unavailable) |
| 1260 | extension WidgetKit::IntentConfiguration { |
| 1261 | @_Concurrency::MainActor @preconcurrency public init<Provider>(kind: Swift::String, intent: Intent.Type, provider: Provider, @SwiftUICore::ViewBuilder content: @escaping (Provider.Entry) -> Content) where Intent == Provider.Intent, Provider : WidgetKit::IntentTimelineProvider |
| 1262 | } |
| 1263 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1264 | @available(tvOS, unavailable) |
| 1265 | @available(visionOS, unavailable) |
| 1266 | extension SwiftUI::ControlWidgetConfiguration { |
| 1267 | @_Concurrency::MainActor @preconcurrency public func displayName(_ displayName: Foundation::LocalizedStringResource) -> some SwiftUI::ControlWidgetConfiguration |
| 1268 | |
| 1269 | @_Concurrency::MainActor @preconcurrency public func description(_ description: Foundation::LocalizedStringResource) -> some SwiftUI::ControlWidgetConfiguration |
| 1270 | |
| 1271 | @_Concurrency::MainActor @preconcurrency public func promptsForUserConfiguration() -> some SwiftUI::ControlWidgetConfiguration |
| 1272 | |
| 1273 | @_Concurrency::MainActor @preconcurrency public func pushHandler(_ pushHandlerType: any WidgetKit::ControlPushHandler.Type) -> some SwiftUI::ControlWidgetConfiguration |
| 1274 | |
| 1275 | } |
| 1276 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1277 | @available(tvOS, unavailable) |
| 1278 | @available(visionOS, unavailable) |
| 1279 | @_Concurrency::MainActor @preconcurrency public struct ControlWidgetButton<Label, ActionLabel, Action> : SwiftUI::ControlWidgetTemplate where Label : SwiftUICore::View, ActionLabel : SwiftUICore::View { |
| 1280 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUI::ControlWidgetTemplate { |
| 1281 | get |
| 1282 | } |
| 1283 | @_Concurrency::MainActor @preconcurrency public static var _controlType: any Any.Type { |
| 1284 | get |
| 1285 | } |
| 1286 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 1287 | @available(tvOS, unavailable) |
| 1288 | @available(visionOS, unavailable) |
| 1289 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA6ButtonV4bodyQrvp", 0) __<Label, ActionLabel, Action> |
| 1290 | } |
| 1291 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1292 | @available(tvOS, unavailable) |
| 1293 | @available(visionOS, unavailable) |
| 1294 | extension WidgetKit::ControlWidgetButton { |
| 1295 | @_Concurrency::MainActor @preconcurrency public init(action: Action, @SwiftUICore::ViewBuilder label: @escaping () -> Label, @SwiftUICore::ViewBuilder actionLabel: @escaping (Swift::Bool) -> ActionLabel) where Action : AppIntents::AppIntent |
| 1296 | @_Concurrency::MainActor @preconcurrency public init(action: Action, @SwiftUICore::ViewBuilder label: @escaping () -> Label) where ActionLabel == WidgetKit::ControlWidgetButtonDefaultActionLabel, Action : AppIntents::AppIntent |
| 1297 | @_Concurrency::MainActor @preconcurrency public init(action: Action, @SwiftUICore::ViewBuilder label: @escaping () -> Label) where ActionLabel == WidgetKit::ControlWidgetButtonDefaultActionLabel, Action : AppIntents::OpenIntent |
| 1298 | } |
| 1299 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1300 | @available(tvOS, unavailable) |
| 1301 | @available(visionOS, unavailable) |
| 1302 | extension WidgetKit::ControlWidgetButton where Label == SwiftUICore::Text { |
| 1303 | @_Concurrency::MainActor @preconcurrency public init(_ titleKey: SwiftUICore::LocalizedStringKey, action: Action, @SwiftUICore::ViewBuilder actionLabel: @escaping (Swift::Bool) -> ActionLabel) where Action : AppIntents::AppIntent |
| 1304 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public init(_ titleResource: Foundation::LocalizedStringResource, action: Action, @SwiftUICore::ViewBuilder actionLabel: @escaping (Swift::Bool) -> ActionLabel) where Action : AppIntents::AppIntent { |
| 1305 | self.init( |
| 1306 | action: action, |
| 1307 | label: { Text(titleResource) }, |
| 1308 | actionLabel: actionLabel |
| 1309 | ) |
| 1310 | } |
| 1311 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public init(_ title: some StringProtocol, action: Action, @SwiftUICore::ViewBuilder actionLabel: @escaping (Swift::Bool) -> ActionLabel) where Action : AppIntents::AppIntent |
| 1312 | } |
| 1313 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1314 | @available(tvOS, unavailable) |
| 1315 | @available(visionOS, unavailable) |
| 1316 | @_Concurrency::MainActor @preconcurrency public struct ControlWidgetButtonDefaultActionLabel : SwiftUICore::View { |
| 1317 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUICore::View { |
| 1318 | get |
| 1319 | } |
| 1320 | @available(macOS 26.0, iOS 18.0, watchOS 26.0, *) |
| 1321 | @available(tvOS, unavailable) |
| 1322 | @available(visionOS, unavailable) |
| 1323 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit07ControlA24ButtonDefaultActionLabelV4bodyQrvp", 0) __ |
| 1324 | } |
| 1325 | @available(*, unavailable) |
| 1326 | extension WidgetKit::ControlWidgetButton : Swift::Sendable { |
| 1327 | } |
| 1328 | @available(*, unavailable) |
| 1329 | extension WidgetKit::ControlWidgetButtonDefaultActionLabel : Swift::Sendable { |
| 1330 | } |
| 1331 | @available(iOS 16.0, *) |
| 1332 | @available(macOS, unavailable) |
| 1333 | @available(macCatalyst, unavailable) |
| 1334 | @available(tvOS, unavailable) |
| 1335 | @available(watchOS, unavailable) |
| 1336 | @available(visionOS, unavailable) |
| 1337 | extension SwiftUICore::View { |
| 1338 | @_Concurrency::MainActor @preconcurrency public func activityBackgroundTint(_ color: SwiftUICore::Color?) -> some SwiftUICore::View |
| 1339 | |
| 1340 | } |
| 1341 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1342 | @available(tvOS, unavailable) |
| 1343 | public struct Timeline<EntryType> where EntryType : WidgetKit::TimelineEntry { |
| 1344 | public let entries: [EntryType] |
| 1345 | public let policy: WidgetKit::TimelineReloadPolicy |
| 1346 | public init(entries: [EntryType], policy: WidgetKit::TimelineReloadPolicy) |
| 1347 | } |
| 1348 | @available(iOS 16.1, *) |
| 1349 | @available(macOS, unavailable) |
| 1350 | @available(macCatalyst, unavailable) |
| 1351 | @available(tvOS, unavailable) |
| 1352 | @available(watchOS, unavailable) |
| 1353 | @available(visionOS, unavailable) |
| 1354 | extension SwiftUICore::View { |
| 1355 | @_Concurrency::MainActor @preconcurrency public func activitySystemActionForegroundColor(_ color: SwiftUICore::Color?) -> some SwiftUICore::View |
| 1356 | |
| 1357 | } |
| 1358 | @available(watchOS 11.0, *) |
| 1353 | @available(macCatalyst, unavailable) |
| 1354 | @available(visionOS, unavailable) |
| 1355 | @available(tvOS, unavailable) |
| 1356 | @_Concurrency.MainActor @preconcurrency public struct AccessoryWidgetGroup<Label, Content> : SwiftUICore.View where Label : SwiftUICore.View, Content : SwiftUICore.View { |
| 1357 | @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View { |
| 1358 | get |
| 1359 | } |
| 1360 | @available(watchOS 11.0, *) |
| 1361 | @available(iOS, unavailable) |
| 1362 | @available(tvOS, unavailable) |
| 1363 | @available(visionOS, unavailable) |
| 1364 | @available(macOS, unavailable) |
| 1365 | @available(macCatalyst, unavailable) |
| 1366 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit09AccessoryA5GroupV4bodyQrvp", 0) __<Label, Content> |
| 1367 | } |
| 1368 | @available(*, unavailable) |
| 1369 | extension WidgetKit.AccessoryWidgetGroup : Swift.Sendable { |
| 1370 | } |
| 1371 | @available(watchOS 11.0, *) |
| 1372 | @available(iOS, unavailable) |
| 1373 | @available(macCatalyst, unavailable) |
| 1374 | @available(visionOS, unavailable) |
| 1375 | @available(macOS, unavailable) |
| 1376 | @available(tvOS, unavailable) |
| 1377 | extension WidgetKit.AccessoryWidgetGroup { |
| 1378 | @_Concurrency.MainActor @preconcurrency public init(@SwiftUICore.ViewBuilder label: () -> Label, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1379 | } |
| 1380 | @available(watchOS 11.0, *) |
| 1381 | @available(iOS, unavailable) |
| 1382 | @available(macCatalyst, unavailable) |
| 1383 | @available(visionOS, unavailable) |
| 1384 | @available(macOS, unavailable) |
| 1385 | @available(tvOS, unavailable) |
| 1386 | extension WidgetKit.AccessoryWidgetGroup where Label == SwiftUICore.Text { |
| 1387 | @_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1388 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public init(_ titleResource: Foundation.LocalizedStringResource, @SwiftUICore.ViewBuilder content: () -> Content) { |
| 1389 | self.init(label: { Text(titleResource) }, |
| 1390 | content: content) |
| 1391 | } |
| 1392 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public init(_ title: some StringProtocol, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1393 | } |
| 1394 | @available(watchOS 11.0, *) |
| 1395 | @available(iOS, unavailable) |
| 1396 | @available(macCatalyst, unavailable) |
| 1397 | @available(visionOS, unavailable) |
| 1398 | @available(macOS, unavailable) |
| 1399 | @available(tvOS, unavailable) |
| 1400 | extension WidgetKit.AccessoryWidgetGroup where Label == SwiftUI.Label<SwiftUICore.Text, SwiftUICore.Image> { |
| 1401 | @_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, systemImage: Swift.String, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1402 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public init(_ titleResource: Foundation.LocalizedStringResource, systemImage: Swift.String, @SwiftUICore.ViewBuilder content: () -> Content) { |
| 1403 | self.init( |
| 1404 | label: { |
| 1405 | SwiftUI.Label { |
| 1361 | @available(macCatalyst, unavailable) |
| 1362 | @available(visionOS, unavailable) |
| 1363 | @available(tvOS, unavailable) |
| 1364 | @_Concurrency::MainActor @preconcurrency public struct AccessoryWidgetGroup<Label, Content> : SwiftUICore::View where Label : SwiftUICore::View, Content : SwiftUICore::View { |
| 1365 | @_Concurrency::MainActor @preconcurrency public var body: some SwiftUICore::View { |
| 1366 | get |
| 1367 | } |
| 1368 | @available(watchOS 11.0, *) |
| 1369 | @available(macOS, unavailable) |
| 1370 | @available(iOS, unavailable) |
| 1371 | @available(tvOS, unavailable) |
| 1372 | @available(macCatalyst, unavailable) |
| 1373 | @available(visionOS, unavailable) |
| 1374 | public typealias Body = @_opaqueReturnTypeOf("$s9WidgetKit09AccessoryA5GroupV4bodyQrvp", 0) __<Label, Content> |
| 1375 | } |
| 1376 | @available(*, unavailable) |
| 1377 | extension WidgetKit::AccessoryWidgetGroup : Swift::Sendable { |
| 1378 | } |
| 1379 | @available(watchOS 11.0, *) |
| 1380 | @available(iOS, unavailable) |
| 1381 | @available(macCatalyst, unavailable) |
| 1382 | @available(visionOS, unavailable) |
| 1383 | @available(macOS, unavailable) |
| 1384 | @available(tvOS, unavailable) |
| 1385 | extension WidgetKit::AccessoryWidgetGroup { |
| 1386 | @_Concurrency::MainActor @preconcurrency public init(@SwiftUICore::ViewBuilder label: () -> Label, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1387 | } |
| 1388 | @available(watchOS 11.0, *) |
| 1389 | @available(iOS, unavailable) |
| 1390 | @available(macCatalyst, unavailable) |
| 1391 | @available(visionOS, unavailable) |
| 1392 | @available(macOS, unavailable) |
| 1393 | @available(tvOS, unavailable) |
| 1394 | extension WidgetKit::AccessoryWidgetGroup where Label == SwiftUICore::Text { |
| 1395 | @_Concurrency::MainActor @preconcurrency public init(_ titleKey: SwiftUICore::LocalizedStringKey, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1396 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public init(_ titleResource: Foundation::LocalizedStringResource, @SwiftUICore::ViewBuilder content: () -> Content) { |
| 1397 | self.init(label: { Text(titleResource) }, |
| 1398 | content: content) |
| 1399 | } |
| 1400 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public init(_ title: some StringProtocol, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1401 | } |
| 1402 | @available(watchOS 11.0, *) |
| 1403 | @available(iOS, unavailable) |
| 1404 | @available(macCatalyst, unavailable) |
| 1405 | @available(visionOS, unavailable) |
| 1406 | @available(macOS, unavailable) |
| 1407 | @available(tvOS, unavailable) |
| 1408 | extension WidgetKit::AccessoryWidgetGroup where Label == SwiftUI::Label<SwiftUICore::Text, SwiftUICore::Image> { |
| 1409 | @_Concurrency::MainActor @preconcurrency public init(_ titleKey: SwiftUICore::LocalizedStringKey, systemImage: Swift::String, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1410 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public init(_ titleResource: Foundation::LocalizedStringResource, systemImage: Swift::String, @SwiftUICore::ViewBuilder content: () -> Content) { |
| 1411 | self.init( |
| 1412 | label: { |
| 1413 | SwiftUI.Label { |
| 1411 | content: content |
| 1412 | ) |
| 1413 | } |
| 1414 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public init(_ titleKey: some StringProtocol, systemImage: Swift.String, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1415 | } |
| 1416 | @available(watchOS 11.0, *) |
| 1417 | @available(iOS, unavailable) |
| 1418 | @available(macCatalyst, unavailable) |
| 1419 | @available(visionOS, unavailable) |
| 1420 | @available(macOS, unavailable) |
| 1421 | @available(tvOS, unavailable) |
| 1422 | extension WidgetKit.AccessoryWidgetGroup where Label == SwiftUI.Label<SwiftUICore.Text, SwiftUICore.Image> { |
| 1423 | @_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, image: DeveloperToolsSupport.ImageResource, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1424 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public init(_ titleResource: Foundation.LocalizedStringResource, image: DeveloperToolsSupport.ImageResource, @SwiftUICore.ViewBuilder content: () -> Content) { |
| 1425 | self.init( |
| 1426 | label: { |
| 1427 | SwiftUI.Label { |
| 1419 | content: content |
| 1420 | ) |
| 1421 | } |
| 1422 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public init(_ titleKey: some StringProtocol, systemImage: Swift::String, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1423 | } |
| 1424 | @available(watchOS 11.0, *) |
| 1425 | @available(iOS, unavailable) |
| 1426 | @available(macCatalyst, unavailable) |
| 1427 | @available(visionOS, unavailable) |
| 1428 | @available(macOS, unavailable) |
| 1429 | @available(tvOS, unavailable) |
| 1430 | extension WidgetKit::AccessoryWidgetGroup where Label == SwiftUI::Label<SwiftUICore::Text, SwiftUICore::Image> { |
| 1431 | @_Concurrency::MainActor @preconcurrency public init(_ titleKey: SwiftUICore::LocalizedStringKey, image: DeveloperToolsSupport::ImageResource, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1432 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public init(_ titleResource: Foundation::LocalizedStringResource, image: DeveloperToolsSupport::ImageResource, @SwiftUICore::ViewBuilder content: () -> Content) { |
| 1433 | self.init( |
| 1434 | label: { |
| 1435 | SwiftUI.Label { |
| 1433 | content: content |
| 1434 | ) |
| 1435 | } |
| 1436 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public init(_ title: some StringProtocol, image: DeveloperToolsSupport.ImageResource, @SwiftUICore.ViewBuilder content: () -> Content) |
| 1437 | } |
| 1438 | @available(watchOS 11.0, *) |
| 1439 | @available(iOS, unavailable) |
| 1441 | content: content |
| 1442 | ) |
| 1443 | } |
| 1444 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public init(_ title: some StringProtocol, image: DeveloperToolsSupport::ImageResource, @SwiftUICore::ViewBuilder content: () -> Content) |
| 1445 | } |
| 1446 | @available(watchOS 11.0, *) |
| 1447 | @available(iOS, unavailable) |
| 1442 | @available(macOS, unavailable) |
| 1443 | @available(tvOS, unavailable) |
| 1444 | public struct AccessoryWidgetGroupStyle { |
| 1445 | public static let circular: WidgetKit.AccessoryWidgetGroupStyle |
| 1446 | public static let roundedSquare: WidgetKit.AccessoryWidgetGroupStyle |
| 1447 | public static let automatic: WidgetKit.AccessoryWidgetGroupStyle |
| 1448 | } |
| 1449 | @available(watchOS 11.0, *) |
| 1450 | @available(iOS, unavailable) |
| 1451 | @available(macCatalyst, unavailable) |
| 1452 | @available(visionOS, unavailable) |
| 1453 | @available(macOS, unavailable) |
| 1454 | @available(tvOS, unavailable) |
| 1455 | extension SwiftUICore.View { |
| 1456 | @_Concurrency.MainActor @preconcurrency public func accessoryWidgetGroupStyle(_ style: WidgetKit.AccessoryWidgetGroupStyle = .automatic) -> some SwiftUICore.View |
| 1457 | |
| 1458 | } |
| 1459 | @available(iOS 17.0, *) |
| 1450 | @available(macOS, unavailable) |
| 1451 | @available(tvOS, unavailable) |
| 1452 | public struct AccessoryWidgetGroupStyle { |
| 1453 | public static let circular: WidgetKit::AccessoryWidgetGroupStyle |
| 1454 | public static let roundedSquare: WidgetKit::AccessoryWidgetGroupStyle |
| 1455 | public static let automatic: WidgetKit::AccessoryWidgetGroupStyle |
| 1456 | } |
| 1457 | @available(watchOS 11.0, *) |
| 1458 | @available(iOS, unavailable) |
| 1459 | @available(macCatalyst, unavailable) |
| 1460 | @available(visionOS, unavailable) |
| 1461 | @available(macOS, unavailable) |
| 1462 | @available(tvOS, unavailable) |
| 1463 | extension SwiftUICore::View { |
| 1464 | @_Concurrency::MainActor @preconcurrency public func accessoryWidgetGroupStyle(_ style: WidgetKit::AccessoryWidgetGroupStyle = .automatic) -> some SwiftUICore::View |
| 1465 | |
| 1466 | } |
| 1467 | @available(iOS 17.0, *) |
| 1463 | @available(tvOS, unavailable) |
| 1464 | @available(watchOS, unavailable) |
| 1465 | @available(visionOS, unavailable) |
| 1466 | extension DeveloperToolsSupport.Preview { |
| 1467 | @_Concurrency.MainActor public init<Attributes>(_ name: Swift.String? = nil, as viewKind: WidgetKit.ActivityPreviewViewKind, using attributes: Attributes, widget: @escaping () -> some Widget, @WidgetKit.PreviewActivityBuilder<Attributes> contentStates: @escaping @_Concurrency.MainActor () async -> [Attributes.ContentState]) where Attributes : ActivityKit.ActivityAttributes |
| 1468 | } |
| 1469 | @available(iOS 17.0, *) |
| 1470 | @available(macOS, unavailable) |
| 1471 | @available(tvOS, unavailable) |
| 1472 | @available(watchOS, unavailable) |
| 1473 | @available(visionOS, unavailable) |
| 1474 | extension DeveloperToolsSupport::Preview { |
| 1475 | @_Concurrency::MainActor public init<Attributes>(_ name: Swift::String? = nil, as viewKind: WidgetKit::ActivityPreviewViewKind, using attributes: Attributes, widget: @escaping () -> some Widget, @WidgetKit::PreviewActivityBuilder<Attributes> contentStates: @escaping @_Concurrency::MainActor () async -> [Attributes.ContentState]) where Attributes : ActivityKit::ActivityAttributes |
| 1476 | } |
| 1477 | @available(iOS 17.0, *) |
| 1478 | @available(macOS, unavailable) |
| 1473 | @available(tvOS, unavailable) |
| 1474 | @available(watchOS, unavailable) |
| 1475 | @available(visionOS, unavailable) |
| 1476 | @freestanding(declaration) public macro Preview<Widget, Attributes>(_ name: Swift.String? = nil, as viewKind: WidgetKit.ActivityPreviewViewKind, using attributes: Attributes, widget: @escaping () -> Widget, @WidgetKit.PreviewActivityBuilder<Attributes> contentStates: @escaping @_Concurrency.MainActor () async -> [Attributes.ContentState]) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI.Widget, Attributes : ActivityKit.ActivityAttributes |
| 1477 | @available(iOS 17.0, *) |
| 1478 | @available(macOS, unavailable) |
| 1479 | @available(visionOS, unavailable) |
| 1480 | @available(macCatalyst, unavailable) |
| 1481 | @available(tvOS, unavailable) |
| 1482 | @available(watchOS, unavailable) |
| 1483 | @available(visionOS, unavailable) |
| 1484 | @_functionBuilder public struct PreviewActivityBuilder<A> where A : ActivityKit.ActivityAttributes { |
| 1485 | public static func buildExpression(_ contentState: A.ContentState) -> [A.ContentState] |
| 1486 | public static func buildPartialBlock(first: [A.ContentState]) -> [A.ContentState] |
| 1487 | public static func buildPartialBlock(accumulated: [A.ContentState], next: [A.ContentState]) -> [A.ContentState] |
| 1481 | @available(tvOS, unavailable) |
| 1482 | @available(watchOS, unavailable) |
| 1483 | @available(visionOS, unavailable) |
| 1484 | @freestanding(declaration) public macro Preview<Widget, Attributes>(_ name: Swift::String? = nil, as viewKind: WidgetKit::ActivityPreviewViewKind, using attributes: Attributes, widget: @escaping () -> Widget, @WidgetKit::PreviewActivityBuilder<Attributes> contentStates: @escaping @_Concurrency::MainActor () async -> [Attributes.ContentState]) = #externalMacro(module: "PreviewsMacros", type: "Common") where Widget : SwiftUI::Widget, Attributes : ActivityKit::ActivityAttributes |
| 1485 | @available(iOS 17.0, *) |
| 1486 | @available(macOS, unavailable) |
| 1487 | @available(visionOS, unavailable) |
| 1488 | @available(macCatalyst, unavailable) |
| 1489 | @available(tvOS, unavailable) |
| 1490 | @available(watchOS, unavailable) |
| 1491 | @available(visionOS, unavailable) |
| 1492 | @_functionBuilder public struct PreviewActivityBuilder<A> where A : ActivityKit::ActivityAttributes { |
| 1493 | public static func buildExpression(_ contentState: A.ContentState) -> [A.ContentState] |
| 1494 | public static func buildPartialBlock(first: [A.ContentState]) -> [A.ContentState] |
| 1495 | public static func buildPartialBlock(accumulated: [A.ContentState], next: [A.ContentState]) -> [A.ContentState] |
| 1490 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 1491 | @available(tvOS, unavailable) |
| 1492 | public protocol AppIntentTimelineProvider { |
| 1493 | associatedtype Entry : WidgetKit.TimelineEntry |
| 1494 | associatedtype Intent : AppIntents.WidgetConfigurationIntent |
| 1495 | typealias Context = WidgetKit.TimelineProviderContext |
| 1496 | func recommendations() -> [WidgetKit.AppIntentRecommendation<Self.Intent>] |
| 1497 | func placeholder(in context: Self.Context) -> Self.Entry |
| 1498 | func snapshot(for configuration: Self.Intent, in context: Self.Context) async -> Self.Entry |
| 1499 | func timeline(for configuration: Self.Intent, in context: Self.Context) async -> WidgetKit.Timeline<Self.Entry> |
| 1500 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1501 | @available(tvOS, unavailable) |
| 1502 | func relevance() async -> WidgetKit.WidgetRelevance<Self.Intent> |
| 1503 | } |
| 1504 | extension WidgetKit.AppIntentTimelineProvider { |
| 1505 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1506 | @available(tvOS, unavailable) |
| 1507 | public func relevance() async -> WidgetKit.WidgetRelevance<Self.Intent> |
| 1508 | } |
| 1509 | extension WidgetKit.AppIntentTimelineProvider { |
| 1510 | @available(iOS 17.0, macOS 14.0, visionOS 26.0, *) |
| 1511 | @available(tvOS, unavailable) |
| 1512 | @available(watchOS, unavailable) |
| 1513 | public func recommendations() -> [WidgetKit.AppIntentRecommendation<Self.Intent>] |
| 1514 | } |
| 1515 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1516 | @available(tvOS, unavailable) |
| 1517 | extension SwiftUI.WidgetConfiguration { |
| 1518 | @_Concurrency.MainActor @preconcurrency public func configurationDisplayName(_ displayName: SwiftUICore.Text) -> some SwiftUI.WidgetConfiguration |
| 1519 | |
| 1520 | @_Concurrency.MainActor @preconcurrency public func configurationDisplayName(_ displayNameKey: SwiftUICore.LocalizedStringKey) -> some SwiftUI.WidgetConfiguration |
| 1521 | |
| 1522 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1523 | @available(tvOS, unavailable) |
| 1524 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func configurationDisplayName(_ displayName: Foundation.LocalizedStringResource) -> some SwiftUI.WidgetConfiguration { |
| 1525 | return configurationDisplayName(Text(displayName)) |
| 1526 | } |
| 1527 | |
| 1528 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func configurationDisplayName<S>(_ displayName: S) -> some SwiftUI.WidgetConfiguration where S : Swift.StringProtocol |
| 1529 | |
| 1530 | @_Concurrency.MainActor @preconcurrency public func description(_ description: SwiftUICore.Text) -> some SwiftUI.WidgetConfiguration |
| 1531 | |
| 1532 | @_Concurrency.MainActor @preconcurrency public func description(_ descriptionKey: SwiftUICore.LocalizedStringKey) -> some SwiftUI.WidgetConfiguration |
| 1533 | |
| 1534 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1535 | @available(tvOS, unavailable) |
| 1536 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency.MainActor @preconcurrency public func description(_ descriptionResource: Foundation.LocalizedStringResource) -> some SwiftUI.WidgetConfiguration { |
| 1537 | return description(Text(descriptionResource)) |
| 1538 | } |
| 1539 | |
| 1540 | @_disfavoredOverload @_Concurrency.MainActor @preconcurrency public func description<S>(_ description: S) -> some SwiftUI.WidgetConfiguration where S : Swift.StringProtocol |
| 1541 | |
| 1542 | @_Concurrency.MainActor @preconcurrency public func supportedFamilies(_ families: [WidgetKit.WidgetFamily]) -> some SwiftUI.WidgetConfiguration |
| 1543 | |
| 1544 | @_Concurrency.MainActor @preconcurrency public func onBackgroundURLSessionEvents(matching matchingString: Swift.String, _ urlSessionEvent: @escaping (_ identifier: Swift.String, _ completion: @escaping () -> Swift.Void) -> Swift.Void) -> some SwiftUI.WidgetConfiguration |
| 1545 | |
| 1546 | @_Concurrency.MainActor @preconcurrency public func onBackgroundURLSessionEvents(matching matchingBlock: ((_ identifier: Swift.String) -> Swift.Bool)? = nil, _ urlSessionEvent: @escaping (_ identifier: Swift.String, _ completion: @escaping () -> Swift.Void) -> Swift.Void) -> some SwiftUI.WidgetConfiguration |
| 1547 | |
| 1548 | @available(iOS 18.0, macOS 15.0, visionOS 26.0, *) |
| 1549 | @available(tvOS, unavailable) |
| 1550 | @available(watchOS, unavailable) |
| 1551 | @_Concurrency.MainActor @preconcurrency public func promptsForUserConfiguration() -> some SwiftUI.WidgetConfiguration |
| 1552 | |
| 1553 | @available(watchOS 26.0, *) |
| 1554 | @available(iOS, unavailable) |
| 1555 | @available(macOS, unavailable) |
| 1556 | @available(tvOS, unavailable) |
| 1557 | @available(visionOS, unavailable) |
| 1558 | @_Concurrency.MainActor @preconcurrency public func associatedKind(_ associatedKind: Swift.String?) -> some SwiftUI.WidgetConfiguration |
| 1559 | |
| 1560 | } |
| 1561 | @available(iOS 17.0, watchOS 26.0, *) |
| 1562 | @available(macOS, unavailable) |
| 1563 | @available(tvOS, unavailable) |
| 1564 | @available(visionOS, unavailable) |
| 1565 | public struct WidgetLocation : Swift.Sendable, Swift.Hashable { |
| 1566 | public static func == (a: WidgetKit.WidgetLocation, b: WidgetKit.WidgetLocation) -> Swift.Bool |
| 1567 | public func hash(into hasher: inout Swift.Hasher) |
| 1568 | public var hashValue: Swift.Int { |
| 1569 | get |
| 1570 | } |
| 1571 | } |
| 1572 | @available(iOS 17.0, watchOS 26.0, *) |
| 1573 | @available(macOS, unavailable) |
| 1574 | @available(tvOS, unavailable) |
| 1575 | @available(visionOS, unavailable) |
| 1576 | extension WidgetKit.WidgetLocation { |
| 1577 | @available(iOS 17.0, *) |
| 1578 | @available(watchOS, unavailable) |
| 1579 | @available(macOS, unavailable) |
| 1580 | @available(tvOS, unavailable) |
| 1581 | @available(visionOS, unavailable) |
| 1582 | public static let homeScreen: WidgetKit.WidgetLocation |
| 1583 | @available(iOS 17.0, *) |
| 1584 | @available(watchOS, unavailable) |
| 1585 | @available(macOS, unavailable) |
| 1586 | @available(tvOS, unavailable) |
| 1587 | @available(visionOS, unavailable) |
| 1588 | public static let lockScreen: WidgetKit.WidgetLocation |
| 1589 | @available(iOS 17.0, *) |
| 1590 | @available(watchOS, unavailable) |
| 1591 | @available(macOS, unavailable) |
| 1592 | @available(tvOS, unavailable) |
| 1593 | @available(visionOS, unavailable) |
| 1594 | public static let standBy: WidgetKit.WidgetLocation |
| 1595 | @available(iOS 17.0, *) |
| 1596 | @available(watchOS, unavailable) |
| 1597 | @available(macOS, unavailable) |
| 1598 | @available(tvOS, unavailable) |
| 1599 | @available(visionOS, unavailable) |
| 1600 | public static let iPhoneWidgetsOnMac: WidgetKit.WidgetLocation |
| 1601 | @available(watchOS 26.0, *) |
| 1602 | @available(iOS, unavailable) |
| 1603 | @available(macOS, unavailable) |
| 1604 | @available(tvOS, unavailable) |
| 1605 | @available(visionOS, unavailable) |
| 1606 | public static let watchFace: WidgetKit.WidgetLocation |
| 1607 | @available(watchOS 26.0, *) |
| 1608 | @available(iOS, unavailable) |
| 1609 | @available(macOS, unavailable) |
| 1610 | @available(tvOS, unavailable) |
| 1611 | @available(visionOS, unavailable) |
| 1612 | public static let smartStack: WidgetKit.WidgetLocation |
| 1613 | @available(iOS 26.0, *) |
| 1614 | @available(watchOS, unavailable) |
| 1615 | @available(macOS, unavailable) |
| 1616 | @available(tvOS, unavailable) |
| 1617 | @available(visionOS, unavailable) |
| 1618 | public static let carPlay: WidgetKit.WidgetLocation |
| 1619 | } |
| 1620 | @available(iOS 17.0, watchOS 26.0, *) |
| 1621 | @available(macOS, unavailable) |
| 1622 | @available(tvOS, unavailable) |
| 1623 | @available(visionOS, unavailable) |
| 1624 | extension SwiftUI.WidgetConfiguration { |
| 1625 | @_Concurrency.MainActor @preconcurrency public func disfavoredLocations(_ locations: [WidgetKit.WidgetLocation], for families: [WidgetKit.WidgetFamily]) -> some SwiftUI.WidgetConfiguration |
| 1626 | |
| 1627 | } |
| 1628 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 1629 | @available(tvOS, unavailable) |
| 1630 | extension SwiftUI.WidgetConfiguration { |
| 1631 | @_Concurrency.MainActor @preconcurrency public func pushHandler(_ pushHandlerType: any WidgetKit.WidgetPushHandler.Type) -> some SwiftUI.WidgetConfiguration |
| 1632 | |
| 1633 | } |
| 1634 | @available(iOS 26.0, visionOS 26.0, *) |
| 1635 | @available(macOS, unavailable) |
| 1636 | @available(watchOS, unavailable) |
| 1637 | @available(tvOS, unavailable) |
| 1638 | extension SwiftUI.WidgetConfiguration { |
| 1639 | @_Concurrency.MainActor @preconcurrency public func supportedMountingStyles(_ styles: [WidgetKit.WidgetMountingStyle]) -> some SwiftUI.WidgetConfiguration |
| 1640 | |
| 1641 | } |
| 1642 | @available(visionOS 26.0, *) |
| 1643 | @available(iOS, unavailable) |
| 1644 | @available(watchOS, unavailable) |
| 1645 | @available(macOS, unavailable) |
| 1646 | @available(tvOS, unavailable) |
| 1647 | extension SwiftUI.WidgetConfiguration { |
| 1648 | @_Concurrency.MainActor @preconcurrency public func widgetTexture(_ material: WidgetKit.WidgetTexture) -> some SwiftUI.WidgetConfiguration |
| 1649 | |
| 1650 | } |
| 1651 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1652 | @available(tvOS, unavailable) |
| 1653 | public struct TimelineReloadPolicy : Swift.Equatable { |
| 1654 | public static let atEnd: WidgetKit.TimelineReloadPolicy |
| 1655 | public static let never: WidgetKit.TimelineReloadPolicy |
| 1656 | public static func after(_ date: Foundation.Date) -> WidgetKit.TimelineReloadPolicy |
| 1657 | public static func == (a: WidgetKit.TimelineReloadPolicy, b: WidgetKit.TimelineReloadPolicy) -> Swift.Bool |
| 1658 | } |
| 1659 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1660 | @available(tvOS, unavailable) |
| 1661 | public struct TimelineProviderContext { |
| 1662 | @dynamicMemberLookup public struct EnvironmentVariants { |
| 1663 | public subscript<T>(dynamicMember keyPath: Swift.WritableKeyPath<SwiftUICore.EnvironmentValues, T>) -> [T]? { |
| 1664 | get |
| 1665 | } |
| 1666 | public subscript<T>(keyPath: Swift.WritableKeyPath<SwiftUICore.EnvironmentValues, T>) -> [T]? { |
| 1667 | get |
| 1668 | } |
| 1669 | } |
| 1670 | public let environmentVariants: WidgetKit.TimelineProviderContext.EnvironmentVariants |
| 1671 | public let family: WidgetKit.WidgetFamily |
| 1672 | public let isPreview: Swift.Bool |
| 1673 | public let displaySize: CoreFoundation.CGSize |
| 1674 | } |
| 1675 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 1676 | @available(tvOS, unavailable) |
| 1677 | extension WidgetKit.AppIntentConfiguration : Swift.Sendable {} |
| 1678 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1679 | @available(tvOS, unavailable) |
| 1680 | extension WidgetKit.StaticConfiguration : Swift.Sendable {} |
| 1681 | @available(watchOS 26.0, *) |
| 1682 | @available(iOS, unavailable) |
| 1683 | @available(macOS, unavailable) |
| 1684 | @available(tvOS, unavailable) |
| 1685 | @available(visionOS, unavailable) |
| 1686 | extension WidgetKit.RelevanceConfiguration : Swift.Sendable {} |
| 1687 | @available(iOS 16.1, *) |
| 1688 | @available(macOS, unavailable) |
| 1689 | @available(macCatalyst, unavailable) |
| 1690 | @available(tvOS, unavailable) |
| 1691 | @available(watchOS, unavailable) |
| 1692 | @available(visionOS, unavailable) |
| 1693 | extension WidgetKit.ActivityConfiguration : Swift.Sendable {} |
| 1694 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1695 | @available(tvOS, unavailable) |
| 1696 | @available(visionOS, unavailable) |
| 1697 | extension WidgetKit.AppIntentControlConfiguration : Swift.Sendable {} |
| 1698 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1699 | @available(tvOS, unavailable) |
| 1700 | extension WidgetKit.IntentConfiguration : Swift.Sendable {} |
| 1701 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1702 | @available(tvOS, unavailable) |
| 1703 | extension WidgetKit.AccessoryWidgetBackground : Swift.Sendable {} |
| 1704 | @available(iOS 18.0, *) |
| 1705 | @available(macOS, unavailable) |
| 1706 | @available(macCatalyst, unavailable) |
| 1707 | @available(tvOS, unavailable) |
| 1708 | @available(watchOS, unavailable) |
| 1709 | @available(visionOS, unavailable) |
| 1710 | extension WidgetKit.ActivityFamily : Swift.Hashable {} |
| 1711 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1712 | @available(tvOS, unavailable) |
| 1713 | extension WidgetKit.WidgetFamily : Swift.Hashable {} |
| 1714 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1715 | @available(tvOS, unavailable) |
| 1716 | @available(visionOS, unavailable) |
| 1717 | extension WidgetKit.StaticControlConfiguration : Swift.Sendable {} |
| 1718 | @available(iOS 16.2, *) |
| 1719 | @available(macOS, unavailable) |
| 1720 | @available(macCatalyst, unavailable) |
| 1721 | @available(tvOS, unavailable) |
| 1722 | @available(watchOS, unavailable) |
| 1723 | @available(visionOS, unavailable) |
| 1724 | extension WidgetKit.ActivityPreviewViewKind.DynamicIslandPreviewViewState : Swift.Equatable {} |
| 1725 | @available(iOS 16.2, *) |
| 1726 | @available(macOS, unavailable) |
| 1727 | @available(macCatalyst, unavailable) |
| 1728 | @available(tvOS, unavailable) |
| 1729 | @available(watchOS, unavailable) |
| 1730 | @available(visionOS, unavailable) |
| 1731 | extension WidgetKit.ActivityPreviewViewKind.DynamicIslandPreviewViewState : Swift.Hashable {} |
| 1498 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 1499 | @available(tvOS, unavailable) |
| 1500 | public protocol AppIntentTimelineProvider { |
| 1501 | associatedtype Entry : WidgetKit::TimelineEntry |
| 1502 | associatedtype Intent : AppIntents::WidgetConfigurationIntent |
| 1503 | typealias Context = WidgetKit::TimelineProviderContext |
| 1504 | func recommendations() -> [WidgetKit::AppIntentRecommendation<Self.Intent>] |
| 1505 | func placeholder(in context: Self.Context) -> Self.Entry |
| 1506 | func snapshot(for configuration: Self.Intent, in context: Self.Context) async -> Self.Entry |
| 1507 | func timeline(for configuration: Self.Intent, in context: Self.Context) async -> WidgetKit::Timeline<Self.Entry> |
| 1508 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1509 | @available(tvOS, unavailable) |
| 1510 | func relevance() async -> WidgetKit::WidgetRelevance<Self.Intent> |
| 1511 | } |
| 1512 | extension WidgetKit::AppIntentTimelineProvider { |
| 1513 | @available(iOS 18.0, macOS 15.0, watchOS 11.0, visionOS 26.0, *) |
| 1514 | @available(tvOS, unavailable) |
| 1515 | public func relevance() async -> WidgetKit::WidgetRelevance<Self.Intent> |
| 1516 | } |
| 1517 | extension WidgetKit::AppIntentTimelineProvider { |
| 1518 | @available(iOS 17.0, macOS 14.0, visionOS 26.0, *) |
| 1519 | @available(tvOS, unavailable) |
| 1520 | @available(watchOS, unavailable) |
| 1521 | public func recommendations() -> [WidgetKit::AppIntentRecommendation<Self.Intent>] |
| 1522 | } |
| 1523 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1524 | @available(tvOS, unavailable) |
| 1525 | extension SwiftUI::WidgetConfiguration { |
| 1526 | @_Concurrency::MainActor @preconcurrency public func configurationDisplayName(_ displayName: SwiftUICore::Text) -> some SwiftUI::WidgetConfiguration |
| 1527 | |
| 1528 | @_Concurrency::MainActor @preconcurrency public func configurationDisplayName(_ displayNameKey: SwiftUICore::LocalizedStringKey) -> some SwiftUI::WidgetConfiguration |
| 1529 | |
| 1530 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1531 | @available(tvOS, unavailable) |
| 1532 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func configurationDisplayName(_ displayName: Foundation::LocalizedStringResource) -> some SwiftUI::WidgetConfiguration { |
| 1533 | return configurationDisplayName(Text(displayName)) |
| 1534 | } |
| 1535 | |
| 1536 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public func configurationDisplayName<S>(_ displayName: S) -> some SwiftUI::WidgetConfiguration where S : Swift::StringProtocol |
| 1537 | |
| 1538 | @_Concurrency::MainActor @preconcurrency public func description(_ description: SwiftUICore::Text) -> some SwiftUI::WidgetConfiguration |
| 1539 | |
| 1540 | @_Concurrency::MainActor @preconcurrency public func description(_ descriptionKey: SwiftUICore::LocalizedStringKey) -> some SwiftUI::WidgetConfiguration |
| 1541 | |
| 1542 | @available(iOS 16.0, macOS 13.0, watchOS 9.0, visionOS 26.0, *) |
| 1543 | @available(tvOS, unavailable) |
| 1544 | @_disfavoredOverload @_alwaysEmitIntoClient @_Concurrency::MainActor @preconcurrency public func description(_ descriptionResource: Foundation::LocalizedStringResource) -> some SwiftUI::WidgetConfiguration { |
| 1545 | return description(Text(descriptionResource)) |
| 1546 | } |
| 1547 | |
| 1548 | @_disfavoredOverload @_Concurrency::MainActor @preconcurrency public func description<S>(_ description: S) -> some SwiftUI::WidgetConfiguration where S : Swift::StringProtocol |
| 1549 | |
| 1550 | @_Concurrency::MainActor @preconcurrency public func supportedFamilies(_ families: [WidgetKit::WidgetFamily]) -> some SwiftUI::WidgetConfiguration |
| 1551 | |
| 1552 | @_Concurrency::MainActor @preconcurrency public func onBackgroundURLSessionEvents(matching matchingString: Swift::String, _ urlSessionEvent: @escaping (_ identifier: Swift::String, _ completion: @escaping () -> Swift::Void) -> Swift::Void) -> some SwiftUI::WidgetConfiguration |
| 1553 | |
| 1554 | @_Concurrency::MainActor @preconcurrency public func onBackgroundURLSessionEvents(matching matchingBlock: ((_ identifier: Swift::String) -> Swift::Bool)? = nil, _ urlSessionEvent: @escaping (_ identifier: Swift::String, _ completion: @escaping () -> Swift::Void) -> Swift::Void) -> some SwiftUI::WidgetConfiguration |
| 1555 | |
| 1556 | @available(iOS 18.0, macOS 15.0, visionOS 26.0, *) |
| 1557 | @available(tvOS, unavailable) |
| 1558 | @available(watchOS, unavailable) |
| 1559 | @_Concurrency::MainActor @preconcurrency public func promptsForUserConfiguration() -> some SwiftUI::WidgetConfiguration |
| 1560 | |
| 1561 | @available(watchOS 26.0, *) |
| 1562 | @available(iOS, unavailable) |
| 1563 | @available(macOS, unavailable) |
| 1564 | @available(tvOS, unavailable) |
| 1565 | @available(visionOS, unavailable) |
| 1566 | @_Concurrency::MainActor @preconcurrency public func associatedKind(_ associatedKind: Swift::String?) -> some SwiftUI::WidgetConfiguration |
| 1567 | |
| 1568 | } |
| 1569 | @available(iOS 17.0, watchOS 26.0, *) |
| 1570 | @available(macOS, unavailable) |
| 1571 | @available(tvOS, unavailable) |
| 1572 | @available(visionOS, unavailable) |
| 1573 | public struct WidgetLocation : Swift::Sendable, Swift::Hashable { |
| 1574 | public static func == (a: WidgetKit::WidgetLocation, b: WidgetKit::WidgetLocation) -> Swift::Bool |
| 1575 | public func hash(into hasher: inout Swift::Hasher) |
| 1576 | public var hashValue: Swift::Int { |
| 1577 | get |
| 1578 | } |
| 1579 | } |
| 1580 | @available(iOS 17.0, watchOS 26.0, *) |
| 1581 | @available(macOS, unavailable) |
| 1582 | @available(tvOS, unavailable) |
| 1583 | @available(visionOS, unavailable) |
| 1584 | extension WidgetKit::WidgetLocation { |
| 1585 | @available(iOS 17.0, *) |
| 1586 | @available(watchOS, unavailable) |
| 1587 | @available(macOS, unavailable) |
| 1588 | @available(tvOS, unavailable) |
| 1589 | @available(visionOS, unavailable) |
| 1590 | public static let homeScreen: WidgetKit::WidgetLocation |
| 1591 | @available(iOS 17.0, *) |
| 1592 | @available(watchOS, unavailable) |
| 1593 | @available(macOS, unavailable) |
| 1594 | @available(tvOS, unavailable) |
| 1595 | @available(visionOS, unavailable) |
| 1596 | public static let lockScreen: WidgetKit::WidgetLocation |
| 1597 | @available(iOS 17.0, *) |
| 1598 | @available(watchOS, unavailable) |
| 1599 | @available(macOS, unavailable) |
| 1600 | @available(tvOS, unavailable) |
| 1601 | @available(visionOS, unavailable) |
| 1602 | public static let standBy: WidgetKit::WidgetLocation |
| 1603 | @available(iOS 17.0, *) |
| 1604 | @available(watchOS, unavailable) |
| 1605 | @available(macOS, unavailable) |
| 1606 | @available(tvOS, unavailable) |
| 1607 | @available(visionOS, unavailable) |
| 1608 | public static let iPhoneWidgetsOnMac: WidgetKit::WidgetLocation |
| 1609 | @available(watchOS 26.0, *) |
| 1610 | @available(iOS, unavailable) |
| 1611 | @available(macOS, unavailable) |
| 1612 | @available(tvOS, unavailable) |
| 1613 | @available(visionOS, unavailable) |
| 1614 | public static let watchFace: WidgetKit::WidgetLocation |
| 1615 | @available(watchOS 26.0, *) |
| 1616 | @available(iOS, unavailable) |
| 1617 | @available(macOS, unavailable) |
| 1618 | @available(tvOS, unavailable) |
| 1619 | @available(visionOS, unavailable) |
| 1620 | public static let smartStack: WidgetKit::WidgetLocation |
| 1621 | @available(iOS 26.0, *) |
| 1622 | @available(watchOS, unavailable) |
| 1623 | @available(macOS, unavailable) |
| 1624 | @available(tvOS, unavailable) |
| 1625 | @available(visionOS, unavailable) |
| 1626 | public static let carPlay: WidgetKit::WidgetLocation |
| 1627 | } |
| 1628 | @available(iOS 17.0, watchOS 26.0, *) |
| 1629 | @available(macOS, unavailable) |
| 1630 | @available(tvOS, unavailable) |
| 1631 | @available(visionOS, unavailable) |
| 1632 | extension SwiftUI::WidgetConfiguration { |
| 1633 | @_Concurrency::MainActor @preconcurrency public func disfavoredLocations(_ locations: [WidgetKit::WidgetLocation], for families: [WidgetKit::WidgetFamily]) -> some SwiftUI::WidgetConfiguration |
| 1634 | |
| 1635 | } |
| 1636 | @available(iOS 26.0, macOS 26.0, visionOS 26.0, watchOS 26.0, *) |
| 1637 | @available(tvOS, unavailable) |
| 1638 | extension SwiftUI::WidgetConfiguration { |
| 1639 | @_Concurrency::MainActor @preconcurrency public func pushHandler(_ pushHandlerType: any WidgetKit::WidgetPushHandler.Type) -> some SwiftUI::WidgetConfiguration |
| 1640 | |
| 1641 | } |
| 1642 | @available(iOS 26.0, visionOS 26.0, *) |
| 1643 | @available(macOS, unavailable) |
| 1644 | @available(watchOS, unavailable) |
| 1645 | @available(tvOS, unavailable) |
| 1646 | extension SwiftUI::WidgetConfiguration { |
| 1647 | @_Concurrency::MainActor @preconcurrency public func supportedMountingStyles(_ styles: [WidgetKit::WidgetMountingStyle]) -> some SwiftUI::WidgetConfiguration |
| 1648 | |
| 1649 | } |
| 1650 | @available(visionOS 26.0, *) |
| 1651 | @available(iOS, unavailable) |
| 1652 | @available(watchOS, unavailable) |
| 1653 | @available(macOS, unavailable) |
| 1654 | @available(tvOS, unavailable) |
| 1655 | extension SwiftUI::WidgetConfiguration { |
| 1656 | @_Concurrency::MainActor @preconcurrency public func widgetTexture(_ material: WidgetKit::WidgetTexture) -> some SwiftUI::WidgetConfiguration |
| 1657 | |
| 1658 | } |
| 1659 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1660 | @available(tvOS, unavailable) |
| 1661 | public struct TimelineReloadPolicy : Swift::Equatable { |
| 1662 | public static let atEnd: WidgetKit::TimelineReloadPolicy |
| 1663 | public static let never: WidgetKit::TimelineReloadPolicy |
| 1664 | public static func after(_ date: Foundation::Date) -> WidgetKit::TimelineReloadPolicy |
| 1665 | public static func == (a: WidgetKit::TimelineReloadPolicy, b: WidgetKit::TimelineReloadPolicy) -> Swift::Bool |
| 1666 | } |
| 1667 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1668 | @available(tvOS, unavailable) |
| 1669 | public struct TimelineProviderContext { |
| 1670 | @dynamicMemberLookup public struct EnvironmentVariants { |
| 1671 | public subscript<T>(dynamicMember keyPath: Swift::WritableKeyPath<SwiftUICore::EnvironmentValues, T>) -> [T]? { |
| 1672 | get |
| 1673 | } |
| 1674 | public subscript<T>(keyPath: Swift::WritableKeyPath<SwiftUICore::EnvironmentValues, T>) -> [T]? { |
| 1675 | get |
| 1676 | } |
| 1677 | } |
| 1678 | public let environmentVariants: WidgetKit::TimelineProviderContext.WidgetKit::EnvironmentVariants |
| 1679 | public let family: WidgetKit::WidgetFamily |
| 1680 | public let isPreview: Swift::Bool |
| 1681 | public let displaySize: CoreFoundation::CGSize |
| 1682 | } |
| 1683 | @available(iOS 17.0, macOS 14.0, watchOS 10.0, visionOS 26.0, *) |
| 1684 | @available(tvOS, unavailable) |
| 1685 | extension WidgetKit::AppIntentConfiguration : Swift::Sendable {} |
| 1686 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1687 | @available(tvOS, unavailable) |
| 1688 | extension WidgetKit::StaticConfiguration : Swift::Sendable {} |
| 1689 | @available(watchOS 26.0, *) |
| 1690 | @available(iOS, unavailable) |
| 1691 | @available(macOS, unavailable) |
| 1692 | @available(tvOS, unavailable) |
| 1693 | @available(visionOS, unavailable) |
| 1694 | extension WidgetKit::RelevanceConfiguration : Swift::Sendable {} |
| 1695 | @available(iOS 16.1, *) |
| 1696 | @available(macOS, unavailable) |
| 1697 | @available(macCatalyst, unavailable) |
| 1698 | @available(tvOS, unavailable) |
| 1699 | @available(watchOS, unavailable) |
| 1700 | @available(visionOS, unavailable) |
| 1701 | extension WidgetKit::ActivityConfiguration : Swift::Sendable {} |
| 1702 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1703 | @available(tvOS, unavailable) |
| 1704 | @available(visionOS, unavailable) |
| 1705 | extension WidgetKit::AppIntentControlConfiguration : Swift::Sendable {} |
| 1706 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1707 | @available(tvOS, unavailable) |
| 1708 | extension WidgetKit::IntentConfiguration : Swift::Sendable {} |
| 1709 | @available(iOS 16.0, watchOS 9.0, macOS 13.0, visionOS 26.0, *) |
| 1710 | @available(tvOS, unavailable) |
| 1711 | extension WidgetKit::AccessoryWidgetBackground : Swift::Sendable {} |
| 1712 | @available(iOS 18.0, *) |
| 1713 | @available(macOS, unavailable) |
| 1714 | @available(macCatalyst, unavailable) |
| 1715 | @available(tvOS, unavailable) |
| 1716 | @available(watchOS, unavailable) |
| 1717 | @available(visionOS, unavailable) |
| 1718 | extension WidgetKit::ActivityFamily : Swift::Hashable {} |
| 1719 | @available(iOS 14.0, macOS 11.0, watchOS 9.0, visionOS 26.0, *) |
| 1720 | @available(tvOS, unavailable) |
| 1721 | extension WidgetKit::WidgetFamily : Swift::Hashable {} |
| 1722 | @available(iOS 18.0, macOS 26.0, watchOS 26.0, *) |
| 1723 | @available(tvOS, unavailable) |
| 1724 | @available(visionOS, unavailable) |
| 1725 | extension WidgetKit::StaticControlConfiguration : Swift::Sendable {} |
| 1726 | @available(iOS 16.2, *) |
| 1727 | @available(macOS, unavailable) |
| 1728 | @available(macCatalyst, unavailable) |
| 1729 | @available(tvOS, unavailable) |
| 1730 | @available(watchOS, unavailable) |
| 1731 | @available(visionOS, unavailable) |
| 1732 | extension WidgetKit::ActivityPreviewViewKind.WidgetKit::DynamicIslandPreviewViewState : Swift::Equatable {} |
| 1733 | @available(iOS 16.2, *) |
| 1734 | @available(macOS, unavailable) |
| 1735 | @available(macCatalyst, unavailable) |
| 1736 | @available(tvOS, unavailable) |
| 1737 | @available(watchOS, unavailable) |
| 1738 | @available(visionOS, unavailable) |
| 1739 | extension WidgetKit::ActivityPreviewViewKind.WidgetKit::DynamicIslandPreviewViewState : Swift::Hashable {} |