Thank you @endecotp , sorry please could you explain why does creating the instance of API not work as a global, whereas it does work in the tableview controller? I tested the latter and it did work, thank you :-)
Topic:
Programming Languages
SubTopic:
Swift