I couldn’t find a clear explanation, just asking to be sure; are C data types handled same way (in terms of memory management) in Obj.C? i.e. they are created on stack, released immediately etc.? So they differ from Obj.C objects? Or may we make an analogy with C# (just an analogy not exactly) so that C types are handled as ‘value types’ and Obj.C objects as ‘reference types’?
Share
Objective-C is clean superset of C, so everything that works in C works the same in Objective-C.
Behavior of C datatypes hasn’t changed. Only Objective-C objects (class instances) have their own allocation methods.