GithubHelp home page GithubHelp logo

vamachallenge's Introduction

vamachallenge

Task summary

  • The application is written using Xcode 14 and Swift 5.
  • Minimum deployment target - iOS 13.
  • Supported interface orientations - Portrait.
  • The application architecture is MVVM.
  • Combine framework is used for data bindings between ViewModel and View and for Repositories.
  • Realm is used for caching albums data.
  • URLSession is used for loading albums feed and async image loading.
  • Used dependency manager is CocoaPods.
  • UI is built completely from code using UIKit and view anchors for layout.
  • Simple Coordinator is added for application navigation and dependency injections, no storyboards or nibs are used.
  • Albums list screen is built using CollectionView with Compositional layout and Diffable data source. Refresh control was added to allow the user to reload the data. In case of no internet connection alert is shown.
  • I’ve decided not to add ViewModel for the album details screen because there is no business logic on that screen.
  • For data gathering, Local and Remote repositories are used.
  • To simplify work with the layout I’ve added the extension to UIView that have common methods for layout that were used in the development.
  • Date helper class was added to handle work with Date.
  • Application colors are stored in the assets.
  • Screen recording is made on iPhone 14 simulator

Possible improvements

  • Some facade could be created to provide single interface for Local and Remote repositories.
  • Strings could be moved to Constants.
  • Colors could be moved to Constants.
  • Image cahing could be added.
recording_720p.mp4

vamachallenge's People

Contributors

oleh-kurnenkov avatar

Watchers

 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.