Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created November 9, 2022 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/aefa1bd07d61cc7481a14c3cba21d51a to your computer and use it in GitHub Desktop.
Save BetterProgramming/aefa1bd07d61cc7481a14c3cba21d51a to your computer and use it in GitHub Desktop.
@main
struct DailyQuote_Complications: Widget {
let kind: String = "ro.bartis.DailyQuote.Complications"
var body: some WidgetConfiguration {
StaticConfiguration(kind: kind, provider: Provider()) { entry in
DailyQuote_ComplicationsEntryView(entry: entry)
}
.configurationDisplayName("Daily Quote")
.description("This is a complication that shows you a new quote evey day")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment