UIKit.h and Foundation.h in Objective-C -
if import uikit.h automatically import foundation.h?
uikit.h
doesn't explicitly include it, wouldn't surprised if 1 of other uikit headers does.
however, of files have anyway, because default pch (precompiled header, or header that's automatically added every file in project) comes this:
#ifdef __objc__ #import <foundation/foundation.h> #import <uikit/uikit.h> #endif
this means every file in iphone app automatically have foundation , uikit imported.
Comments
Post a Comment