GithubHelp home page GithubHelp logo

sachinthanavisni / sampleprojectmodularity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amirtutunchi/sampleprojectmodularity

0.0 0.0 0.0 60 KB

sample project for iOS mentoring session.

Swift 100.00%

sampleprojectmodularity's Introduction

Challege Definition ๐Ÿ”Ž

I'm currently working with a legacy app that includes a list view for displaying ads to customers. As part of my responsibilities as an iOS developer, I've been asked to redesign and refactor the FilterPage. There is no tests and with the Controller containing more than 3,000 lines of code in the real world, it's proving challenging to write additional tests.

Another issue that I've noticed is the shared "SearchParameters" class, which passes between different controllers and contains a lot of complex logic. This has only added to the overall complexity of the app.

In order to address these challenges, I'm exploring options for refactoring the app architecture and improving overall code quality.

Specs โœ…

  • Write tests for "AdViewController"
  • Create dependency graph
  • This new filter should be in a separate module.
  • We want to refactor the code as much as possible during this task.

My Challenges ๐ŸŽ‘

  • What is best approach for refactoring this code?
  • How to write tests for this massive ViewControllers with hundreds of dependencies?

sampleprojectmodularity's People

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.