Reference no: EM132513032
COS80020 Creating Data Driven Mobile Applications Assignment - Swinburne University of Technology, Australia
Task - Data Here
Aim and Context - Apps that deal with the creation of data need to store the data somehow, somewhere. Files are a useful way for storing simple data; for more complex apps databases would be used.
On completion of this task, you will demonstrate that you are able to use JSON files to persistently store data on the device for a trivial application.
Outputs -
Demonstration in the lab of a working app for this task (note that this can be combined with 07C if a persistent data extension is chosen).
Items to be submitted:
- PDF: A completed spike report for this task (template for this task is supplied on Canvas)
- PDF: link to repository or complete code
Code for this task should be in a repository visible to teaching staff.
Tasks -
1. Start with planning and researching:
Write a plan outlining the development of an app that uses persistent data to store data on the device, permits retrieval of elements and allows filtering and sorting.
Outline and describe the major things you did in creating your app.
2. Develop an app that meets criteria as shown below.
3. The report needs to cover key knowledge gaps that are covered in this task. You are also welcome to include other gaps you learned that are not explicitly focused on this task.
Split different knowledge gaps into different sections with snippets of code (and written descriptions/captions) presenting both the knowlege gap and the solution that addresses it.
Include references/links to sources that can assist with the knowledge gaps as well.
Have a recommendations section for any other related knowledge gaps, outlining about what you might try to address it in the future.
4. Before submitting, an independent party (e.g., someone in your household or another student) should verify that the app handles retrieve and filter/sort, and that the file as stored in your project is being read in correctly. This should be done before the task is ready for feedback - if the other person cannot get your app to work properly then you will need to make changes.
The app
1. You will need to design some data for your app. Your dataset will need 2-3 fields only; submissions that use more fields will be returned for resubmit as the expectation is that you create your own file. Some suggestions are:
actors or sportspeople: surname, first name, year of birth
list of places: name, country, timezone
2. Your persistent data store should consist of an list of elements with at least three attributes. At least two different types of data should be included (that is, not all strings or integers). The data should be orderable on more than one attribute or column, and should also be filterable, that is, show a subset of the rows.
3. A JSON file will need to be created containing the data and added to your Xcode project. On starting the app, the file should be copied to the Documents directory; pseudocode for this is available in Canvas.
The file will need to contain an array with several objects; your data model or processing will need to reflect this.
4. The data should be shown in a table as a list. Two attributes need to be shown in the table, using the subtitle or right detail styles. You are also welcome to create a custom style. Because you'll need more UI elements on your screen, you should use a UITableView rather than a UITableViewController - the latter should be used for 06P.
5. Your app should use filter and sort predicates to alter the display of data. Ideally a UISegmentedControl is used to toggle different displays. The control should have three different options, at least one sort and one filter. It is not required to use a UISearchBar.
Note - Programming Language is swift code and the platform is IOS.
Attachment:- Creating Data Driven Mobile Applications Assignment File.rar