Xcode userstate added