On Nov 29, 2009, at 9:30 AM, Tharindu Madushanka wrote: > When defining constants can I keep all important constants in one file and > use it all over the application, rather defining same constant in several .m > files. This might be a basic question, but just could not figure out how to > do this.
Sure, just put the constant declarations in a .h file and #import it from your .m files. You should review an introductory book on C … this is a basic C question, not specific to Cocoa. —Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com