top of page

SWIFT FOR VCE SOFTWARE DEVELOPMENT

10. Arrays - A basic Introduction

Updated: Feb 27, 2022

Basic Arrays - ToDoApp


This app will have you loading data from an array onto a Tableview.



Basic Arrays - ToDoApp - Appending the array


This app will have you adding a new Viewcontroller screen, link the two, and add items to the bottom of the array (append)



Basic Arrays - ToDoApp - Saving to .csv


Basic Arrays - ToDoApp - Parsing from .csv to Array



Basic Arrays - ToDoApp - Extras

There are a few things that would make the App much better. Have a go and see if you can get them to work.

  1. When adding a new item, validate it so that users can not enter blank entries

  2. See if you can move the user back to the list screen when they click on Add

  3. Try and create an option to swipe on the item that brings up a "delete" option that removed the value from the list and saves back to file with the correct data.

  4. Can you make the list populate with dummy data on first run to ensure the users can tell the app is working?

Basic Arrays - ToDoApp - Delete and Edit Options on the cell



Comentários


bottom of page