| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I forget where I read this (perhaps it was Aaron Hillegass's book, but
I forget), but I read somewhere that in general it's a better idea to
use global strings set to a constant string rather than using #define,
as in
NSString *myPref = @"My Preference";
instead of
#define myPref @"My Preference"
Is there a reason for this?
Is this even true? What do you guys use?
| References: | |
| >String constants and how to do them (From: Kevin Ballard <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.