Created
June 25, 2020 12:12
-
-
Save arthurpalves/1993f908023a6d50a297efc01eed0cb0 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
struct Provider: TimelineProvider { | |
public typealias Entry = SimpleEntry | |
public func snapshot(with context: Context, completion: @escaping (SimpleEntry) -> ()) { | |
/* implementation */ | |
} | |
public func timeline(with context: Context, completion: @escaping (Timeline<Entry>) -> ()) { | |
/* implementation */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment