Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arthurpalves/04dc79827dd14a92dfc30800e213fd1b to your computer and use it in GitHub Desktop.
Save arthurpalves/04dc79827dd14a92dfc30800e213fd1b to your computer and use it in GitHub Desktop.
struct Provider: IntentTimelineProvider {
public typealias Intent = MainAccountIntent
/* ... */
public func snapshot(for configuration: MainAccountIntent, with context: Context, completion: @escaping (AccountEntry) -> ()) {
/* Hidden implementation */
}
public func timeline(for configuration: MainAccountIntent, with context: Context, completion: @escaping (Timeline<Entry>) -> ()) {
/* Hidden implementation */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment