Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.pch not working under XCode 2.2



I have noticed that the precompiled header (.pch)
doesn't seem to work when I create an Objective-C
project with XCode 2.2. With previous versions of
XCode it seemed to work OK.

I could place this coide in the precompiled header:

#ifdef __OBJC__
    #import <Cocoa/Cocoa.h>
#endif


and would not have to add #import <Cocoa/Cocoa.h>
anywhere else in the project and it worked great! Does
anyone know why this doesn't work anymore?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.