My Code below prints a struct its how I want it expect for the []. I just want it removed.
var contacts = [Person]()
@IBAction func press(_ sender: Any) {
contacts.append(Person(name: a.text!, phone: Int(c.text!)!))
label.text = self.contacts.description
}}
struct Person {
var name: String
var phone: Int}
extension Person: CustomStringConvertible {
var description: String {
return "\n\(name),\(phone)"
}}