According to a google search, it looks like it doesn't officially have a value / reference type. If this is not so, then what about the counterparties? How it's called? Is it called "Obj-C class and not Objc-C class" or "static type and dynamic type"?
However, for me, the NSString object in obj-c 'works' as a reference type in C #. This will lead to the compilation error "statically assigned instance of the Objective-C class ..." if defined without "*"
NSString * pstr = [[[NSString alloc] init] autorelease];
Some native types, such as NSInteger or C struct, that can be created without '*', can I say that it works as a value type in C #?
NSInteger i = 0;
source
share