Skip to content

Instantly share code, notes, and snippets.

@TungVdMiichi
Created May 17, 2020 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TungVdMiichi/a813a894893df24de486e0cd54a88e38 to your computer and use it in GitHub Desktop.
Save TungVdMiichi/a813a894893df24de486e0cd54a88e38 to your computer and use it in GitHub Desktop.
struct FeedItem {
let title: String
let thumbnailURL: URL
}
let items = [FeedItem(title: "title", thumbnailURL: URL(string: "http:a-url.com")!),
FeedItem(title: "another title", thumbnailURL: URL(string: "http:b-url.com")!),
FeedItem(title: "even another title", thumbnailURL: URL(string: "http:c-url.com")!),
FeedItem(title: "even another another title", thumbnailURL: URL(string: "http:d-url.com")!)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment