24 lines
535 B
Swift
24 lines
535 B
Swift
|
//
|
||
|
// ActivityIndicatorView.swift
|
||
|
// Tusker
|
||
|
//
|
||
|
// Created by Shadowfacts on 8/29/20.
|
||
|
// Copyright © 2020 Shadowfacts. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import SwiftUI
|
||
|
|
||
|
struct ActivityIndicatorView: UIViewRepresentable {
|
||
|
typealias UIViewType = UIActivityIndicatorView
|
||
|
|
||
|
func makeUIView(context: Context) -> UIActivityIndicatorView {
|
||
|
let view = UIActivityIndicatorView()
|
||
|
view.startAnimating()
|
||
|
return view
|
||
|
}
|
||
|
|
||
|
func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
|
||
|
}
|
||
|
|
||
|
}
|