Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

View-Controllers-4-State-Transitions

Animate or do special things for each of the 4 state transitions of a View Controller

We’re going to do different animations when View Controllers are pushed or popped from the stack. We’ll start with 4 states, being ‘pushed’, ‘popped’, ‘put back’ and ‘popped to’.

  1. ‘Pushed On’ is when you add a new View Controller to the stack and it is now visible.
  2. ‘Popped’ is when your view controller was visible and it is transitioning to be gone.
  3. ‘Put Back’ is when your view controller was visible and another one is going on top of it.
  4. ‘Popped to’ is when your view controller was in the stack and the one on top was just popped.

If you want to slow things down do ‘Slow Animations’ ⌘-T or in the menu Debug->Slow Animations.

About

Animate or do special things for each of the 4 state transitions of a View Controller

Resources

License

Releases

No releases published

Packages

No packages published

Languages