Re: Defining and using constants in Objective C
Re: Defining and using constants in Objective C
- Subject: Re: Defining and using constants in Objective C
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 29 Nov 2009 10:46:35 -0700
On Nov 29, 2009, at 10: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.
Of course. You don't need to define classes or functions in source files, so feel free to make ones with only constants.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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