Example:
FOUNDATION_EXPORT NSString * const NSLocalNotificationCenterType;
What is changed through that type qualifier? I understood it, if const
was in front of the asterisk.
Example:
FOUNDATION_EXPORT NSString * const NSLocalNotificationCenterType;
What is changed through that type qualifier? I understood it, if const
was in front of the asterisk.
The const
after the *
means that the pointer itself is constant. That is, you can't do
NSString *myString = @"abcde";
NSLocalNotificationCenterType = myString;