WidgetKit gives users ready access to content in apps by putting widgets on the iOS Home screen or macOS Notification Center. Widgets now come in multiple sizes, and users can visit the new widget gallery to search, preview sizes, and place them anywhere on the Home screen to access important details at a glance. Know more here
Widgets can be made in three sizes, namely : small , medium and large. Users can use their preferred size of widget on their choice of location in the homescreen.
The type of content that each widget shows varies based on users choice and widget size.- Clone / download this repository.
- change the bundle identifier in project settings.
- run the app.
- Go to CurrentCountry.swift
struct CurrentCountry {
static let country : Country = .india
}
- choose your choice of country from Country enumeraion. default is 🇮🇳 India
- run the application
- SwiftUI
- WidgetKit
- Intents
- Combine
- Networking
- Charts
Copyright 2020 Aaryan Kothari.
Licensed under MIT License: https://opensource.org/licenses/MIT