Create an indicator like this:
ALLoadingView(color: Color.blue, size: 50)
where
color
- color of the indicator
size
- size of the indicator
dependencies: [
.package(url: "https://github.com/algori-io/swiftui-loader", from: "1.0.0")
]
Drop ALLoadingView.swift
file into your project.
- iOS 13+
- Xcode 11+