tags:

views:

36

answers:

1

Example:

FOUNDATION_EXPORT NSString * const NSLocalNotificationCenterType;

What is changed through that type qualifier? I understood it, if const was in front of the asterisk.

+5  A: 

The const after the * means that the pointer itself is constant. That is, you can't do

NSString *myString = @"abcde";
NSLocalNotificationCenterType = myString;
Carl Norum