2.4 Include your JSON in the app’s Fetch Request

At this point you can now set your json address to the app fetch request service. Open a folder called MVVM and click on JSONViewModel.swift. On line 173 paste the complete address of your listings json.

Next open Blog folder and click on JSONBlogModel.swift and paste your Blog json address.

That it! Now Run the app to import the data from your own backend.

Share this story
Share on facebook
Share on twitter
Share on telegram
Share on whatsapp
Share on pinterest

Related stories