Josue Espinosa
Josue Espinosa

Reputation: 129

Syntax not highlighted in Xcode

The rest of my syntax is highlighted, but when I declare an @property for UIDocumentManager, it doesn't highlight. I linked Core Data, and I dont see any other reason for it to not highlight. Help Please?

https://i.sstatic.net/CRpcF.png https://i.sstatic.net/nO3PD.png

edit it compiles without errors, and I have restarted it multiple times

Upvotes: 0

Views: 385

Answers (2)

Oskar
Oskar

Reputation: 3702

I have had syntax highlighting break on Xcode several times. Usually it can be fixed by going into Organizer and selecting your project and "Delete Derived Data", then restarting Xcode.

Upvotes: 0

swampf0etus
swampf0etus

Reputation: 411

Try adding #import <CoreData/CoreData.h>

If that doesn't work;

Go to the Organizer choose the Projects mode. Select your project and then for the project's Derived Data click Delete. I think this clears the index.

Upvotes: 1

Related Questions