I have 3 swift classes, ContentView, LogIn and SignUP. I can t make a boolean var which, let s say, is changing it s value in login.swift, to also announce contentview and signup about the new value.
Bassically, I have account = true, when account became false, i want all 3 classes contentview, login and signup to know that he s value is false now.
Any idea how can I do this? An example with simple 3 views will help me. Thanks a lot!