-(IBAction) testTemp: (id) sender{
id tempObj;
tempObj = otherObject; //the otherObject will be released in dealloc method;
[tempObj doSomething];
}
As you can see, I use the tempObj for temp use. I won't use it after the user quit this method, should I need to release the tempObj? and why?