Created
July 29, 2022 10:01
-
-
Save alicanbatur/aa94f31d898ecfb09ed0a2a1e94de274 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Attribute.swift | |
// LiveActivity | |
// | |
// Created by Ali Can Batur on 28.07.2022. | |
// | |
import SwiftUI | |
import WidgetKit | |
import ActivityKit | |
struct StatusAttribute: ActivityAttributes { | |
public typealias ProcessStatus = ContentState | |
public struct ContentState: Codable, Hashable { | |
var status: Status | |
var estimatedCompletionTime: Date | |
} | |
var buildId: String | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment