Skip to content

Instantly share code, notes, and snippets.

@heypiotr
Last active March 29, 2017 09:17
Show Gist options
  • Select an option

  • Save heypiotr/5558846caa129fd5ccecfa169df14067 to your computer and use it in GitHub Desktop.

Select an option

Save heypiotr/5558846caa129fd5ccecfa169df14067 to your computer and use it in GitHub Desktop.
let sneakersDetails = ImageView()
sneakersDetails.image = NSImage(named: "sneakersDetails")!
sneakersDetails.imagePosition = .left
sneakersDetails.text =
FormattedString("New Sneakers\n", fontSize: .large)
+ FormattedString("Meet New Sneakers <...>", fontSize: .medium, fontColor: .gray)
mirrorClient.when(.near).show(sneakersDetails)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment