Skip to content

Instantly share code, notes, and snippets.

@ayanonagon
Created November 29, 2015 21:17
Show Gist options
  • Save ayanonagon/97e0d6833267710841df to your computer and use it in GitHub Desktop.
Save ayanonagon/97e0d6833267710841df to your computer and use it in GitHub Desktop.
struct Item {
let name: String
var price: UInt
init(name: String, price: UInt) {
self.name = name
self.price = price
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment