Created the Sample app widget target in the Xcode project.

This commit is contained in:
2026-07-05 18:55:32 +02:00
parent d8e496ce51
commit 3ac5d527cd
11 changed files with 717 additions and 10 deletions
@@ -0,0 +1,9 @@
import WidgetKit
import SwiftUI
@main
struct AttendiWidgetBundle: WidgetBundle {
var body: some Widget {
AttendiWidget()
}
}
@@ -0,0 +1,11 @@
import WidgetKit
import AppIntents
struct ConfigurationAppIntent: WidgetConfigurationIntent {
static var title: LocalizedStringResource { "Configuration" }
static var description: IntentDescription { "This is an example widget." }
// An example configurable parameter.
@Parameter(title: "Favorite Emoji", default: "😃")
var favoriteEmoji: String
}