Search code examples
xcodeappdelegate

The code of the AppDelegate class in Xcode suddenly became colorless


all of a sudden, the code within the AppDelegate class in Xcode lost its color. There are no color issues in other classes, only in the AppDelegate class.I have no idea how to solve it. I restarted the project. I tried the "Clean and Build" option, but the problem persists. I would greatly appreciate your help.

While using the application normally, I encountered one of the typical errors (empty array, API error, etc.). However, when I returned, the AppDelegate was corrupted.

appDelegate class ss


Solution

  • The solution is to check the settings in Xcode. Go to "Editor" -> "Syntax Coloring" and see what options are selected there.