Swift Senpai shows you how to create a configurable widget with dynamic options. In this article, I will walk you through the process of displaying dynamic options that are fetched from a remote server. The widget will fetch the market’s current top ten cryptocurrencies from the CoinCap API and show them as user selections.
Table of contents
The Crypto Price WidgetAdding Custom Type to Intent DefinitionAdding the Intents ExtensionImplementing the WidgetWrapping UpSort: