Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
init-class-root-designatedinit
class Person {
let name: String
let height: String
let weight: String
init(name: String, height: String, weight: String) {
self.name = name
self.height = height
self.weight = weight
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment