Giter Site home page Giter Site logo

ios-challenge's Introduction

iOS Challenge

Objective

We would like to have you complete the following code test so we can evaluate your iOS skills. Please place your code in a public Github repository and commit each step of your process so we can review it.

Your assignment is to create a simple Reddit client that shows the top 50 entries from Reddit.

Show your work

  1. Create a Public repository
  2. Commit each step of your process so we can follow your thought process.

Guidelines

To do this please follow these guidelines:

- Use VIPER Architecture (This is mandatory since our main project is using that architecture)
- Assume the latest platform and use Swift
- Use UITableView / UICollectionView to arrange the data.
- Please refrain from using any dependency manager [cocoapods / carthage / etc], instead, use URLSession
- Support all Device Orientation
- Support all Devices screen (You can ignore iPad, just for all iPhones)
- Use Layout by Code (Don't use storyboards or xib files)

What to show

The app should be able to show data from each entry such as:

- Title (at its full length, so take this into account when sizing your cells)
- Author
- entry date, following a format like “x hours ago”
- A thumbnail for those who have a picture.
- Number of comments
- Unread status

In addition, for those having a picture (besides the thumbnail), please allow the user to tap on the thumbnail to be sent to the full sized picture. You don’t have to implement the IMGUR API, so just opening the URL would be OK.

What to Include

- Pull to Refresh
- Pagination support
- Saving pictures in the picture gallery (Optional)
- App state-preservation/restoration
- Indicator of unread/read post (updated status, after post it’s selected)
- Dismiss Post Button (remove the cell from list. Animations required)
- Dismiss All Button (remove all posts. Animations required)
- Ignore iPad do it just for iPhone. (So the list and the detail view)

Resources

- Reddit API: (Please read from 10 to 10 on each so we can see how you handle pagination.)
GET: https://www.reddit.com/r/all/top/.json?t=all&limit=10

In each page you will have an "after" key and "before" so you can read the key "after" and append it to the url like so to get the next 10 posts.
https://www.reddit.com/r/all/top/.json?t=all&limit=10&after={{value_of_after_key}}
 
- Example JSON file (top.json) is listed.
- Example Video of functionality is attached

Time Spent

You do not need to fully complete the challenge. We suggest not to spend more than 5 hours total, which can be done over the course of 2 days. Please make commits as often as possible so we can see the time you spent and please do not make one commit. We will evaluate the code and time spent.

What we want to see is how well you handle yourself given the time you spend on the problem, how you think, and how you prioritize when time is insufficient to solve everything.

Whenever you finish send us your repository.

ios-challenge's People

Contributors

glassipbel avatar

Watchers

James Cloos 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.