4 ms·
> but the two (despite popular opinion to the contrary) remain entirely distinct. This isn't the case in Objective-C though. @"foo" is an instance of the NSSt
by natesm 14y ago
> but the two (despite popular opinion to the contrary) remain entirely distinct.
This isn't the case in Objective-C though.
@"foo" is an instance of the NSString class, which is a part of the Foundation library. However, it has its own special syntax. Now, Apple is adding @[] and @{}, which are NSArray and NSDictionary instances.