Skip to content

wfratczak/ios-swift-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlayaCare iOS Swift skill test

What's included

The repo contains a skeleton iOS application created using XCode 8.3.2. The app contains a couple of empty files to start you off:

  • NoteController: An empty activity to display a list of notes.
  • NoteModel: An empty data model to represent a note entity.
  • Main.storyboard: A storyboard containing an empty view for the note controller

Requirements

  • XCode 8+
  • A github account

Installation

  • Fork this repository
  • Open the directory in XCode 8
  • The app should build and run if all requirements are met

Instructions

The goal of this exercise is to create a very simple note app by following the tasks below. Code should be clear, easy to read, and modular. First fork this repository, then commit your changes and create a pull request when you're done (See How to submit your work?). The provided files can be used as a guideline, but add whatever other files you need.

  • TASK 1: Create a data source for the notes:

    • create a note model that can capture the text entered by a user and the date the user created the note
    • create a simple mock data source to return a list of fake notes asynchronously
  • TASK 2: Display a table of notes in the note controller:

    • use the mock API to populate the list
    • each list item should display the note text and date
  • Task 3: Implement logic for creating a new note:

    • do this however you want
    • storage can be in memory
    • note text should not be empty
    • new notes should appear in the note controller
  • Task 4: Add search functionality to your list of notes:

    • search should support matching to any part of the note text
  • OPTIONAL Task 5: Save, edit and delete notes

    • use CoreData to persist the notes
    • remove your mock data source and save new notes to CoreData
    • add an option to edit and delete a note from the list

How to submit your work?

  1. First you need to fork this repository.

Forking a repo

  1. Then clone your fork locally.

Cloning a repo

  1. Install the app locally. See the [Installation Guide] (#Installation).
  2. Once you've completed your work, you can submit a pull-request to the remote repository.

 a Pull Request

  1. Review your changes and validate.

Validating a Pull Request

And you're done!

More documentation on Github:

About

Skeleton iOS swift application to be completed to evaluate potential candidates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published