Giter VIP home page Giter VIP logo

topalbums's Introduction

About

This project was developed as a result of a code exercise.

Note: For a SwiftUI/Combine version, please see the project TopAlbumsSwiftUI.

Some of the features included in the design:

  • MVVM design pattern
  • Unit and UI testing (93% code coverage overall)
  • Separate networking clients for albums, images with support for the URLSession dataTask method to be stubbed for testing.
  • Dark mode support (special attention needed for store button border)
  • Use of stack views, auto layout constraints

Requirements

While this is a toy project and not a professional product, please be sure to demonstrate your ability to architect clean, maintainable and self-documenting code.

Make a Top 100 Albums app

Create a sample iPhone app that displays the top 100 albums across all genres using the Apple RSS generator found here: https://rss.itunes.apple.com/en-us. We look for solid Swift fundamentals, like no force unwrapped or implicitly unwrapped optionals. Things like performance, testing, compatibility, version control and code quality are at the top of priorities.

The app should:

  • Use Auto Layout
  • Use proper threading use
  • Display good architecture around parsing the API response into model objects to populate the UI
  • Use modern Swift patterns

The app should NOT:

  • Use storyboards or nibs
  • Use any third-party libraries
  • Use force unwrapped or implicitly unwrapped optionals

Expected behavior

On launch, the user should see a UITableView showing one album per cell. Each cell should display the name of the album, the artist, and the album art (thumbnail image). Tapping on a cell should push another view controller onto the navigation stack where we see a larger image at the top of the screen and the same information that was shown on the cell, plus genre, release date, and copyright info below the image. A button should also be included on this second view that when tapped fast app switches to the album page in the iTunes store. The button should be centered horizontally and pinned 20 points from the bottom of the view and 20 points from the leading and trailing edges of the view. Unlike the first one, this “detail” view controller should NOT use a UITableView for layout.

topalbums's People

Contributors

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