Created
January 10, 2023 23:14
-
-
Save GabrielTargon/544e10bbb864d7bc0eadb2f237a397de to your computer and use it in GitHub Desktop.
How to add infinite widgets on iOS
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 WidgetBundle: WidgetBundle { | |
var body: some Widget { | |
MyWidgetOne() | |
MyWidgetTwo() | |
MyWidgetThree() | |
MyWidgetFour() | |
WidgetBundleTwo().body | |
} | |
} | |
struct WidgetBundleTwo: WidgetBundle { | |
var body: some Widget { | |
MyWidgetFive() | |
MyWidgetSix() | |
MyWidgetSeven() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment