I'm new to Objective-C. The Xcode generated template code has: #import <Foundation/Foundation.h>
.
When I check it at /System/Library/Frameworks/Foundation.framework/Headers, there are nearly 2 thousands header files!
My question is, for a really simple code that use only NSString, why not import just the NSString.h file?
Does importing the whole bunch of Foundation framework affect the performance of executables? If not, does it have some benefits?