Giter VIP home page Giter VIP logo

Comments (3)

davideme avatar davideme commented on June 4, 2024

The problem of Typhoon is that everything should be an NSObject, and we don't want to force users of our framework to define everything as NSObject.

We could use https://github.com/Swinject/Swinject but, we prefer for the first version, to not be tight a lib. But we continue to investigate and take a look to https://github.com/briancroom/BlindsidedStoryboard

from bothamui.

PaNaVTEC avatar PaNaVTEC commented on June 4, 2024

Hi davideme, thanks for your answer!
I'm not saying to include Typhoon or Swinject in your framework. It is only to suggest the use of a DI instead of a service locator pattern which is considered as an antipattern around the internet, I think the final users are who need to decice what are their needs. But it is only a suggestion, I sometimes use this pattern for my examples 👍
Thanks again for your time and keep the good work!

from bothamui.

davideme avatar davideme commented on June 4, 2024

If you take a look at the example, we are using the di pattern all over the
code. But instead of using di framework we use a service locator or a di
container it depend how you want to call it. To initialize the
viewcontrollers and dependencies.

Basically we use DI, without a framework.

from bothamui.

Related Issues (19)

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.