I'm fairly new to objective-c, so I'm guessing the answer to this question is so obvious that I couldn't find the answer.
Do the memory management rules (i.e. no garbage collection) just refer to the memory used by objective-c objects? What I'm wondering is that in some of my lower level code I'm writing in C, do the normal stack/heap rules apply (i.e. memory on the stack is automatically freed with the function is finished) or do I need to manually manage all my C memory too?
Thanks
Do the memory management rules (i.e. no garbage collection) just refer to the memory used by objective-c objects? What I'm wondering is that in some of my lower level code I'm writing in C, do the normal stack/heap rules apply (i.e. memory on the stack is automatically freed with the function is finished) or do I need to manually manage all my C memory too?
Thanks