Hi All,

I have a number of Constant Strings that are project wide. I started off defining them at the top of a .m file but as the project has grown over the weeks I've pasted them into each new .m file as and when they are needed. I'm now tidying up my code and was wondering the best way in which to make them project wide and how to reference them.

Here is an example way I have them defined at present:

static NSString kString1 = @"some string";
static NSString kString2 = @"some other string";

What is a good way to handle this? Is there a preferred method?

Thanks a lot
All the Best
Dave



_______________________________________________

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

Reply via email to