Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a launch transition; 4 things I learnt...

Building a launch transition; 4 things I learnt along the way

A problems / solutions talk on custom launch transitions given as a Lightning Talk at CodeMobile 2018

Avatar for pdamonkey

pdamonkey

April 04, 2018

More Decks by pdamonkey

Other Decks in Programming

Transcript

  1. 1st Thing Problem: Launch screen image caching Solution: Reset •

    Reset simulator or device • Get enough devs to confirm to your Product Owner that everything is ! Matthew Gallagher, April 2018
  2. 2nd Thing Problem: Fading out launch screen Solution: Add delay

    to viewWillAppear DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.5) { self.performSegue(withIdentifier: "splashToMainView", sender: self) } ! This gives launch screen time to finish its fade before my animation takes over, but would prefer a nicer solution Matthew Gallagher, April 2018
  3. 3rd Thing Problem: Scope creep Solution: Push back • Initial

    idea: Reveal main screen at divide • Final idea: Hide logo into divider while divider moves to centre. Once centred, reveal main screen at divide. • Auto Layout for easy maintenance Matthew Gallagher, April 2018
  4. Final Thing Problem: Frustration Solution: Knowing it's worth the effort

    This video shows the final transition used within the Sky Sports app Don't blink Matthew Gallagher, April 2018
  5. That's all folks Download the example source code github.com/pdamonkey/splash-transition Stay

    in touch @pdamonkey [email protected] linkedin.com/in/pdamonkey facebook.com/pdamonkey Matthew Gallagher, April 2018