Updates
Updates copied to clipboard
Support SwiftUI
Can you show us some usages of how we can use this repo in SwiftUI?
Updates.checkForUpdates { result in
switch result {
case .available(let update):
// show alert
return
case .none(let none) :
// do nothing
return
}
}