Created
September 7, 2020 04:37
-
-
Save pallavtrivedi03/1300f9446e0ee346b3b3495c92a98163 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@main | |
struct BoxOfficeWidget: Widget { | |
let kind: String = "BoxOfficeWidget" | |
var body: some WidgetConfiguration { | |
StaticConfiguration(kind: kind, provider: Provider()) { entry in | |
BoxOfficeWidgetEntryView(entry: entry) | |
} | |
.configurationDisplayName("Box Office") | |
.description("Box office collection of latest movies") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment