Skip to content

Instantly share code, notes, and snippets.

@barefeettom
Created May 25, 2021 02:40
Show Gist options
  • Save barefeettom/2a125c2c81242e8fe1d2189337baa6fd to your computer and use it in GitHub Desktop.
Save barefeettom/2a125c2c81242e8fe1d2189337baa6fd to your computer and use it in GitHub Desktop.
Part of the tutorial series "Build an App Like Lego, using SwiftUI". https://medium.com/p/38b1b1f06cba/
extension Article {
static let blockChain: Self = .init(
title: "Lego Block Chain",
date: Date(),
detail: "Add your own Lego block to the chain of transactions to guarantee security by trusting a whole crowd of people you've never met. What can possibly go wrong?",
smallImageName: "blockCircle",
largeImageName: "chain"
)
static let airBlock: Self = .init(
title: "Air Block & Block",
date: Date(),
detail: "Rent out your Lego house for extra dollars. Create an extra revenue stream for your family by renting out your unused rooms.",
smallImageName: "houseSimple",
largeImageName: "houseInterior"
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment