Git Product home page Git Product logo

Comments (6)

dcortright avatar dcortright commented on August 19, 2024

Follow up: The other pages seem to have my new configuration such as no gradient and the background image. But the initial view controller itself stays at the defaults.

from loginkit.

dcortright avatar dcortright commented on August 19, 2024

Sorry for posting three in a row but I see now that I need to define my configuration before I even call loginCoordinator.start(animated: false)

Any defaults defined after this will not apply to the initialViewController

from loginkit.

danlozano avatar danlozano commented on August 19, 2024

No worries! haha

Hmm so you're setting up the configuration from outside the LoginCoordinator? You're not subclassing.

Now that you can use the View Controller's separately, I did design it so that you must configure the view controller before calling super.viewDidLoad().

But I'll look into your issue, which is different because it's in the coordinator not the viewcontrollers, and see if it should be designed differently.

Could you share some code? How it did not work and how it does work now?

Thanks!

from loginkit.

dcortright avatar dcortright commented on August 19, 2024

Ah, I found what my issue was. I was still calling configureAppearance() after super.start()

After switching those two around it works as you designed now!

from loginkit.

danlozano avatar danlozano commented on August 19, 2024

Oh ok. Awesome! Glad it works now!

from loginkit.

LazyTravis avatar LazyTravis commented on August 19, 2024

omg, I meant the same issue. It took me an hour to update the old code.
Could anybody add more suggestion for the other guys?

from loginkit.

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.