Why dereferencing a NSString pointer is not necessary?
问题 In the example NSString *message = @"Hello"; message = @"World"; If message is just a pointer why don't I need to explicitly say whatever is in message is now equal to string or *message = @"World"; like in C? 回答1: DISCLAIMER The discussion below gives a general idea on why you never dereferenciate a pointer to an object in Objective-C. However, concerning the specific case of NSString literals, this is not what's happening in reality. While the structure described below is still sound and it