Updates icon indicating copy to clipboard operation
Updates copied to clipboard

Support SwiftUI

Open kr1s0404 opened this issue 3 years ago • 1 comments

Can you show us some usages of how we can use this repo in SwiftUI?

kr1s0404 avatar Feb 15 '22 16:02 kr1s0404

    Updates.checkForUpdates { result in
        switch result {
        case .available(let update):
            // show alert
            return
        case .none(let none) :
            // do nothing
            return
        }
    }

tomu94 avatar Jun 14 '23 18:06 tomu94