Force Move to a new view Swift : I'm making an app on xcode with swift 3 and am making the app have multiple variables. I want my app to test when a certain variable is at a value, move to a new view controller no matter what view you are on. I know i can use segues but with a lot of views this gets messy. Is there anything i can use that just uses code or is a lot simpler.
Thanks