ControlInfo
public static func == (lhs: WidgetKit.ControlInfo, rhs: WidgetKit.ControlInfo) -> Swift.Bool
ControlInfo
public func hash(into hasher: inout Swift.Hasher)
SwiftUI.ControlWidget
public static func main()
SwiftUI.ControlWidgetConfiguration
public func description(_ description: Foundation.LocalizedStringResource) -> some SwiftUI.ControlWidgetConfiguration
SwiftUI.ControlWidgetConfiguration
public func displayName(_ displayName: Foundation.LocalizedStringResource) -> some SwiftUI.ControlWidgetConfiguration
SwiftUI.ControlWidgetConfiguration
public func promptsForUserConfiguration() -> some SwiftUI.ControlWidgetConfiguration
SwiftUI.ControlWidgetConfiguration
public func pushHandler(_ pushHandlerType: any WidgetKit.ControlPushHandler.Type) -> some SwiftUI.ControlWidgetConfiguration
SwiftUI.ControlWidgetTemplate
public func disabled(_ disabled: Swift.Bool) -> some SwiftUI.ControlWidgetTemplate
SwiftUI.ControlWidgetTemplate
public func privacySensitive(_ sensitive: Swift.Bool = true) -> some SwiftUI.ControlWidgetTemplate
SwiftUI.ControlWidgetTemplate
public func tint(_ tint: SwiftUICore.Color?) -> some SwiftUI.ControlWidgetTemplate
SwiftUI.WidgetConfiguration
public func pushHandler(_ pushHandlerType: any WidgetKit.WidgetPushHandler.Type) -> some SwiftUI.WidgetConfiguration
SwiftUICore.View
public func controlWidgetActionHint(_ hint: SwiftUICore.Text) -> some SwiftUICore.View
SwiftUICore.View
public func controlWidgetActionHint(_ hintKey: SwiftUICore.LocalizedStringKey) -> some SwiftUICore.View
SwiftUICore.View
@_disfavoredOverload public func controlWidgetActionHint(_ hint: Foundation.LocalizedStringResource) -> some SwiftUICore.View
SwiftUICore.View
@_disfavoredOverload public func controlWidgetActionHint<S>(_ hint: S) -> some SwiftUICore.View where S : Swift.StringProtocol
SwiftUICore.View
public func controlWidgetStatus(_ status: SwiftUICore.Text) -> some SwiftUICore.View
SwiftUICore.View
public func controlWidgetStatus(_ statusKey: SwiftUICore.LocalizedStringKey) -> some SwiftUICore.View
SwiftUICore.View
@_disfavoredOverload public func controlWidgetStatus(_ status: Foundation.LocalizedStringResource) -> some SwiftUICore.View
SwiftUICore.View
@_disfavoredOverload public func controlWidgetStatus<S>(_ status: S) -> some SwiftUICore.View where S : Swift.StringProtocol
AppIntentControlConfiguration
public init<Provider>(kind: Swift.String, provider: Provider, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping (Provider.Value) -> Content) where Configuration == Provider.Configuration, Provider : WidgetKit.AppIntentControlValueProvider
AppIntentControlConfiguration
public init(kind: Swift.String, intent: Configuration.Type = Configuration.self, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping (Configuration) -> Content)
ControlWidgetButton
public init(action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent
ControlWidgetButton
public init(action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label) where ActionLabel == WidgetKit.ControlWidgetButtonDefaultActionLabel, Action : AppIntents.AppIntent
ControlWidgetButton
public init(action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label) where ActionLabel == WidgetKit.ControlWidgetButtonDefaultActionLabel, Action : AppIntents.OpenIntent
ControlWidgetButton
public init(_ titleKey: SwiftUICore.LocalizedStringKey, action: Action, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent
ControlWidgetButton
@_disfavoredOverload public init(_ titleResource: Foundation.LocalizedStringResource, action: Action, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent
ControlWidgetButton
@_disfavoredOverload public init(_ title: some StringProtocol, action: Action, @SwiftUICore.ViewBuilder actionLabel: @escaping (Swift.Bool) -> ActionLabel) where Action : AppIntents.AppIntent
ControlWidgetToggle
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
ControlWidgetToggle
public init(isOn: Swift.Bool, action: Action, @SwiftUICore.ViewBuilder label: @escaping () -> Label) where ValueLabel == WidgetKit.ControlWidgetToggleDefaultLabel, Action : AppIntents.SetValueIntent, Action.ValueType == Swift.Bool
ControlWidgetToggle
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
ControlWidgetToggle
@_disfavoredOverload 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
ControlWidgetToggle
@_disfavoredOverload 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
StaticControlConfiguration
public init(kind: Swift.String, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping () -> Content)
StaticControlConfiguration
public init<Provider>(kind: Swift.String, provider: Provider, @SwiftUI.ControlWidgetTemplateBuilder content: @escaping (Provider.Value) -> Content) where Provider : WidgetKit.ControlValueProvider