Coder Social home page Coder Social logo

untitledkingdom-testowe's Introduction

Untitled Kingdom - iOS Recruitment Task

Intro

During your holiday, some significant client contacted us to do a project for him. He wanted a simple MVP for now, but with a plan to grow. Because there were no experienced developer available, Project Manager decided to start writing the app with a trainee โ€” the results of their work you can find in this repository.

Now you are back, and asked to continue this project. Because the client is aware of the implementation state, he gives the green light to refactor the entire project. As he said at the beginning, the app will grow, so the base for it should be reliable.

Can you save this project? ๐Ÿ’ช

Base rules

  • We expect the complete and consistent solution

  • When refactoring, please keep the way how the app looks like from the user perspective (excluding the changes we will ask you to do).

  • All solutions that are present here are the result of the trainee work, no hidden motive here ;) You can move any part you want, create new classes, change architecture, install libraries, etc.

  • So far, we are using the hardcoded JSON files instead of server responses. We want to keep it that way for now, but having in mind that it can change in the future.

  • We want to keep the 2 seconds delay for the requests - to simulate slow connection problems :)

  • Keeping a clean Git history will be additionally scored.

Tasks

To wrap things up, what we want you to do is:

  • Refactor - it's up to you how much you want to change. The project should be easy to maintain and develop.

  • Bugfixes:

    • Details view is changing its background color after a small delay. The client wants it to be correct immediately when a user enters that screen

    • Details view should have a title displayed on the navigation bar. It should have a specific format: the characters at the odd indexes should be lowercased, others - uppercased. Examples: ItEm123, My bEaTiFuL_ItEm, etc.

    • The list and details views has 2 navigation bars visible at the same time. We want it to be a single one. The back button on the tab bar level should move user back to the initial screen. Tapping back on the details should move user to the tab bar level (list or collection).

    • Details view is always presenting the data for ID == "1", no matter what did user selected

    • It seems that TableViewController is not deallocating after going back to the StartViewController

  • New features:

    • We want another tab in the Tab Bar Controller, which displays the same data as on the TableViewController, but using UICollectionView. The screen should present the tiles with a proper background color and the item name centered in the cell. We want it to present 2 square tiles at the row.

    • The TableViewController should display the preview underneath the title. Ideally, the cell height should be adjusted to its content.

  • Tests:

    • Please cover the networking layer with a unit tests (currently placed in NetworkingManager)
    • Please cover with tests some business logic classes too. No need to for 100% coverage in the project, but in the chosen classes, you should try to test possible scenarios.

Good luck! ๐Ÿ’ช

untitledkingdom-testowe's People

Contributors

yosestartup 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.