updating flag value in Singleton class – Ios swift
I am having viewcontroller with 10 Switch cases. In one of the case I am setting flag value of one of the flag in sigelton class as "true", whose default value is false. Now I want to have that flag…