Fun Series - November - Swift mobile - Survey App Challenge - Using Local Storage

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Project Overview:

We have launched a new Fun Challenge series to help our members learn new technologies while getting used to the Topcoder platform. This is the third challenge in our Swift series. 

Important:

This is a fun and learning challenge. No prizes will be awarded for completing the challenge.

Business Requirements:

“Fun&Learn” company wants to develop a survey solution. They have identified Salesforce.com as their desired platform and would like to build an iOS mobile application for their users with Swift. We will help them build the survey application, across a series of challenges. In this third challenge, we will work on building the basic structure of the iOS mobile app with Swift.

Help Documentation

  1. Skip Wilson's Swift Channel – There's a ton of awesome content on this channel.
  2. Nick Hanan's CodingExplorer Blog.
  3. Jameson Quave – Jameson has some really good stuff as well (his JSON parsing post helped me out quite a bit) and is releasing a book soon.
  4. David Owens – David has some great articles, especially on JSON parsing.

Technical Requirements:

You can continue with your last submission or if you are new you can clone repo from github

The last challenge link is here.

1. Use Core Data.

Update swift code to store data return from mock server in local core data storage. For help refer this article.

  • Map mock server result to core data along with one flag field isdeleted = false.
  • Every time when app load this should update local data with mock server if internet connection found.
  • Exclude records for sync on load where isdeleted = true.

2. Add remove option.
Add Swipeable Table View Cell With delete Action. On delete action set current record isdeleted field value to true. For help refer this article. 

3. Update TableView Binding.

Update survey table view to show only records where isdeleted = false.



Final Submission Guidelines

Create zip file of your code and submit the zip.

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30051988