Created
August 15, 2018 17:13
-
-
Save serhatsezer/a9a0d3aed3a64ec074d5ab8f88e75370 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ProductDetail { | |
| var name: String | |
| var amount: Int | |
| var price: Double | |
| init(name: String, amount: Int, price: Double) { | |
| self.name = name | |
| self.amount = amount | |
| self.price = price | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment