Sop tracking user interface state xcode file