Coder Social home page Coder Social logo

ios-swift-test's Introduction

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.

Try and have each commit represent a completed task.

Code should be:

  • easy to read
  • follow consistent a style guid
  • modular
  • tested if possible

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 or remove 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:

ios-swift-test's People

Contributors

cpowell001 avatar negociosreais avatar cainapapelweb avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.