Sending data to and from an iPhone app

I have an app that is using profobuf as a format.

I'm going to get a server that will fetch data from an API and then I need to send that data to the iPhone.

What is the best solution?

Do you mean protobuf ?

If so, you could have a look here: https://medium.com/@andy.nguyen.1993/protobuf-in-swift-809658ecdb22

Sending data to and from an iPhone app
 
 
Q