C Objects in Objective-C

Posted by paul simmons on Stack Overflow See other posts from Stack Overflow or by paul simmons
Published on 2010-05-29T22:16:20Z Indexed on 2010/05/29 22:22 UTC
Read the original article Hit count: 216

Filed under:

Hi,

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'?

© Stack Overflow or respective owner

Related posts about objective-c