0

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.stack.imgur.com/CRpcF.png https://i.stack.imgur.com/nO3PD.png

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

jscs
  • 63,694
  • 13
  • 151
  • 195
Josue Espinosa
  • 129
  • 3
  • 10

2 Answers2

1

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.

swampf0etus
  • 401
  • 3
  • 10
0

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.

Oskar
  • 3,625
  • 2
  • 29
  • 37