Reputation: 561
For some reason my Xcode project doesn't recognize (autocorrect) my code. It doesn't color-code text except for NSStrings (in red). It doesn't autofill things like it used to (e.g. if I would type "CGR" it would put in "CGRectMake:(x,y,width,height)" but not anymore. I don't remember at what point this started happening but it does work in my other projects. Any ideas?
BTW, deleting the derived data doesn't fix it. Nor does creating a new project and importing the files.
Upvotes: 1
Views: 186
Reputation: 561
Hah, figured it out! For some reason my project was split up in different folders. I.E. it was one folder with all the images, another with ViewController.h and another with ViewController.m. Moved all the files to the highest folder in the hierarchy and everything works great :) Thanks for all your help though!
Upvotes: 1
Reputation: 2942
this issue has happened to me, I give you 3 sulutions, you can try them.
Solution 1:
Solution 2:
Solution 3:
Good luck.
Upvotes: 2
Reputation: 7705
I suppose it would be too easy for your text editing preferences to be wrong? Command-comma -> text editing.
Upvotes: 0