Example:
MyClass *funkStation = [[MyClass alloc] init];
[funkStation dance];
id tmp = funkStation;
...
[funckStation release];
I know that after I’m done with the funkStation object I need to release it, but what about the id tmp?
Am thinking that it’s not a copy of the original object, but just a pointer to the memory space.
tmp and funkstation refer to the same object. You only need to release this object once. Sending release to funkstation and tmp do the same thing.