GameplayKit’s GKStateMachine for a Non Game Use

When I first set out to write a countdown timer that had several UI changes based on the timer’s status, I found myself writing Bools to show or hide several views and controls. However, when I ran the code I quickly discovered that the views and controls were not reliably presenting as their correct Bool value. During the changes in status of the meditation timer, sometimes the …

Leave a Reply

Your email address will not be published. Required fields are marked *