Hi, I'm having trouble extracting the company info from my contacts. At the moment I iterate thought the Contacts list and pass a contact to a method to extract the first and last name and concatenate these into a string that is returned. However for entries that have no first and last name I'm trying to return the company instead.
However, contacts[i].company always returns nil
Hi, I'm having trouble extracting the company info from my contacts. At the moment I iterate thought the Contacts list and pass a contact to a method to extract the first and last name and concatenate these into a string that is returned. However for entries that have no first and last name I'm trying to return the company instead. However, contacts[i].company always returns nil