Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto import for Xcode

Tags:

Is it possible for Xcode to auto import the frameworks and class headers automatically?

What happens is that every time I build, I will encounter errors due to missing import. I know how to fix, but I felt Xcode can be more intelligent by perhaps giving me an option to "Auto fix imports".

like image 752
samwize Avatar asked Feb 24 '11 08:02

samwize


1 Answers

At the moment it's not possible to do that. I suppose what you want is something like Eclipse's auto-import, i.e. when you first use a class in code, it auto-imports the package.

You should open a bug report here to let the Apple people know about it.

like image 148
Stelian Iancu Avatar answered Sep 20 '22 15:09

Stelian Iancu