Xcode state changed