I am a new Objective-C programmer coming from a C#, VB.NET, Etc. These are all garbage collected languages and for the most part the worst thing you can do is abuse memory usage, because when your program shuts down the memory is reclaimed by the runtime.
However, I am not clear about Objective-C. I get that for the most part its up to us as a developer to manage the allocation, initialization, retention and releasing of objects. I am trying my best to do this and think slowly I am getting the hang of it.
My worry is this: I am not sure if I understand the term memory leak correctly. Does this refer to not properly releasing memory, and then when my application shuts down there is unused dangling memory? IN other words, when my program shuts down the Mac OS doesnt make sure that everything the program was using is cleaned up?
I hope this make sense, its really making sense of the differences after a program shuts down, not so much about memory while the program is running.