Skip to content

Instantly share code, notes, and snippets.

@mmuszynski
Created December 9, 2019 20:29
Show Gist options
  • Save mmuszynski/531c3873ac2891be6142c43b229c2708 to your computer and use it in GitHub Desktop.
Save mmuszynski/531c3873ac2891be6142c43b229c2708 to your computer and use it in GitHub Desktop.
HStack {
VStack(alignment: .leading) {
HStack(alignment: .center) {
SVGImageView(image: awayLogoController.logo!)
.frame(width: 1.5 * 18, height: 18, alignment: .center)
Text(game.awayTeamName)
.font(.subheadline)
.fontWeight(.semibold)
}
HStack(alignment: .center) {
SVGImageView(image: homeLogoController.logo!)
.frame(width: 1.5 * 18, height: 18, alignment: .center)
Text(game.homeTeamName)
.font(.subheadline)
.fontWeight(.semibold)
}
}
VStack {
Text(linescore?.awayTeamGoals)
Text(linescore?.homeTeamGoals)
}
Spacer()
Text(game.startTime)
.font(.callout)
}
@mmuszynski
Copy link
Author

Screen Shot 2019-12-09 at 3 24 47 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment