19 lines
535 B
Swift
19 lines
535 B
Swift
import WidgetKit
|
|
import AppIntents
|
|
|
|
/// The configuration intent of the ``AttendiWidget`` placeholder, as scaffolded by the Xcode widget template.
|
|
struct ConfigurationAppIntent: WidgetConfigurationIntent {
|
|
|
|
// MARK: Constants
|
|
|
|
static var title: LocalizedStringResource { "Configuration" }
|
|
static var description: IntentDescription { "This is an example widget." }
|
|
|
|
// MARK: Properties
|
|
|
|
/// An example configurable parameter.
|
|
@Parameter(title: "Favorite Emoji", default: "😃")
|
|
var favoriteEmoji: String
|
|
|
|
}
|