Create a gist now

Instantly share code, notes, and snippets.

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