2026-07-05 17:40:56 +02:00
|
|
|
import WidgetKit
|
|
|
|
|
import AppIntents
|
|
|
|
|
|
2026-07-06 03:43:25 +02:00
|
|
|
/// The configuration intent of the ``AttendiWidget`` placeholder, as scaffolded by the Xcode widget template.
|
2026-07-05 17:40:56 +02:00
|
|
|
struct ConfigurationAppIntent: WidgetConfigurationIntent {
|
2026-07-06 03:43:25 +02:00
|
|
|
|
|
|
|
|
// MARK: Constants
|
|
|
|
|
|
2026-07-05 17:40:56 +02:00
|
|
|
static var title: LocalizedStringResource { "Configuration" }
|
|
|
|
|
static var description: IntentDescription { "This is an example widget." }
|
|
|
|
|
|
2026-07-06 03:43:25 +02:00
|
|
|
// MARK: Properties
|
|
|
|
|
|
|
|
|
|
/// An example configurable parameter.
|
2026-07-05 17:40:56 +02:00
|
|
|
@Parameter(title: "Favorite Emoji", default: "😃")
|
|
|
|
|
var favoriteEmoji: String
|
2026-07-06 03:43:25 +02:00
|
|
|
|
2026-07-05 17:40:56 +02:00
|
|
|
}
|