Eliminating Degenerate View Controller States

Vadim Bulavin
1 min readMar 18, 2019

The concept of object state is so fundamental that anyone hardly thinks of its definition. In present article let’s define what is an object state, which states are called degenerate; how they can be identified and avoided.

You will learn:

💡What is object state?

❓Why 4 properties result in 24 and more hidden states?

🤖Which states called degenerate and how to avoid them?

👨‍💻What is finite state machine and how to implement the one using Swift?

Visit my blog to continue reading: http://www.vadimbulavin.com/degenerate-view-controller-states/

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Vadim Bulavin
Vadim Bulavin

Written by Vadim Bulavin

Senior iOS Software Engineer at Pluto TV. Creator of Yet Another Swift Blog https://www.vadimbulavin.com/. Coding for fun since 2008, for food since 2012.

No responses yet

Write a response