Coder Social home page Coder Social logo

Comments (5)

yoichitgy avatar yoichitgy commented on July 30, 2024

Hi @davidosorio. @Nikita2k's templates might be helpful to do what you want to do:

https://github.com/Nikita2k/SwiftViper

from swinject.

Nikita2k avatar Nikita2k commented on July 30, 2024

In fact, I don't have storyboards (I believe using SB is a bad practice).

But I can suggest to remove initCompleted block and pass your view to presenter initialization

from swinject.

yoichitgy avatar yoichitgy commented on July 30, 2024

Hi @Nikita2k, thank you for your help!

(I had misunderstanding about the question. @davidosorio uses Presenter but it was not in VIPER, but in MVP, which is more like MVVM.)

from swinject.

ukosodev avatar ukosodev commented on July 30, 2024

Hi, thank you @Nikita2k, @yoichitgy for your answers, for me, use or no SB depends on the size of the project, I agree that in a large project Storyboards are a bad practise, actually I use one storyboard per module/component.

from swinject.

yoichitgy avatar yoichitgy commented on July 30, 2024

@davidosorio, another approach is here (just for your information):
https://github.com/rizumita/TransitionOperator

I prefer using storyboards except the problem of DI, and trying to keep them small.
I understand advantages of UI implementation without storyboards. So, storyboards can be chosen depending on the size or type of your project, or your preference. (I keep myself neutral in Swinject project.)

Thanks @Nikita2k again for your help and sharing your great practice!

from swinject.

Related Issues (20)

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.