Skip to content

Instantly share code, notes, and snippets.

@ashishkakkad8
Created September 20, 2022 17:30

Revisions

  1. ashishkakkad8 created this gist Sep 20, 2022.
    8 changes: 8 additions & 0 deletions ActivityAttributesSample.swift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    import ActivityKit

    struct ActivityAttributesSample: ActivityAttributes {
    public typealias Status = ContentState
    public struct ContentState: Codable, Hashable {
    var value: String
    }
    }