Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does #import <UIKit/UIKit.h> on pch slow down the compile time?

I was reading this post about imports and I had one question. Does the #import that comes in the prefix.pch file by default slow down the compile time? Should I remove it and import only when necessary?

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
#endif
like image 811
Raphael Oliveira Avatar asked Sep 26 '13 14:09

Raphael Oliveira


People also ask

What you mean by does?

present tense third-person singular of do.

Does meaning and examples?

Does references the performance or achievements of another. An example of does is telling a friend that your husband is in marketing, "He does marketing." Plural form of doe. Third-person singular simple present indicative form of do.

Can you start a sentence with does?

In questions, “do” or “does” usually starts the sentence, but it doesn't have to. For a simple interrogative sentence, or question, “do” or “does” is typically followed by the subject, and then the conjugated verb.

What part of speech is the word does?

As detailed above, 'does' can be a verb or a noun.


1 Answers

No. It actually improves the compilation speed.

This is a nice tutorial that actually clears all the confusion over use of #import statements and .PCH files. Also it tells you in detail about something new known as "modules", introduced in iOS7.

like image 138
Ratikanta Patra Avatar answered Oct 22 '22 05:10

Ratikanta Patra