I\'ve got the following in my .h file:
#ifndef _BALANCE_NOTIFICATION #define _BALANCE NOTIFICATION const NSString *BalanceUpdateNotification #endif >
#ifndef _BALANCE_NOTIFICATION #define _BALANCE NOTIFICATION const NSString *BalanceUpdateNotification #endif
NSStrings are immutable, so declaring a const NSString * would be redundant; just use NSString *.
NSStrings
const NSString *
NSString *
If what you're trying to do is declare that the pointer itself can't change, that would be:
NSString * const BalanceUpdateNotification = @"BalanceUpdateNotification";
See also Constants in Objective-C