Skip to content

Commit

Permalink
Only include UIKit.h if we're targeting the iPhone or iPhone Simulator.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.howett.net/svn/theos/trunk@301 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
  • Loading branch information
dhowett committed Jul 13, 2010
1 parent fc70104 commit d99f265
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Prefix.pch
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#if TARGET_IPHONE || TARGET_IPHONE_SIMULATOR
#import <UIKit/UIKit.h>
#endif

#define CLASS(cls) objc_getClass(#cls)

Expand Down

0 comments on commit d99f265

Please sign in to comment.