Saving Data Online for iOS

I am new to IOS programming (Xcode) and have been looking for information about an online data warehouse. So far I have come across Core Data and SQLLite. However, each search result in a storage file on the device itself. I want to create an application that stores routes using the Google Maps API. Because, in the end, there will be many routes, I think it will take up a lot of space, although it is saved as a url. I use: https://www.youtube.com/watch?v=AdV7bCWuDYg&feature=youtube_gdata

Within these routes, people can post messages on their route so that data is also saved.

I use sites using phpmyadmin with tables like Java or postgressql / mysql. Is there something similar for iOS, and if so, what is the best approach for this? Basic data?

+4
source share
1 answer

First you need to find out about quiet web services . If you are familiar with server-side scripting languages ​​like php, you can create a web service for each operation. Here is a good tutorial for creating rest api.

Suppose you want to save chat data from an iOS application to a server. Here is what will happen.

( iOS): ( URL-), , abc.com/savechat. "POST" . , , .. , . .

. , .

- (JSON) , Alamofire Swift AFNetworking Objective C.

+1

Source: https://habr.com/ru/post/1532454/


All Articles