Re: n00b question about includes
Re: n00b question about includes
- Subject: Re: n00b question about includes
- From: j o a r <email@hidden>
- Date: Sat, 11 Aug 2007 10:48:15 +0200
On 11 aug 2007, at 10.34, d2kagw wrote:
If I have tonnes of #defines declaring constants for my application
(things like user preference keys, and model names etc) which I
want to be made available to all the classes i'm writing (so I
don't have to update all my classes every time I change/add a key)
Is there a way I can include some file that contains these defines?
that get included at build time?
Create a "SharedDefines.h" header file for your defines and #import
it as you would any other header file.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden