WidgetController

iOS Widget control system in swiftUI you can add, delete and change order your own views

widgetTestgif

Installing

It requires iOS 15

In Xcode go to File -> Swift Packages -> Add Package Dependency and paste in the repo’s url:

https://github.com/agilestarskim/WidgetController.git

Usage

import the package in the file you would like to use it

import WidgetController

place WidgetController in the parent view

important: You shoud put WidgetController inside NavigationView !!

Struct ContentView: View {
    var body: some View {
        NavigationView {
            WidgetController {
                YourCustomView()
                YourCustomView()
                YourCustomView()
            }
        }   
    }
}

permanent storage

on developing..

GitHub

View Github