I'm a rookie with Cocoa development, please excuse if this question is
stupid, but I'm struck with memory management (an even Aaron's book
doesn't help me):
In a method I use a (temporary) dictionary "vAttributes" to read an
object from an instance variable "vColors" (a dictionary, too):
It is my understanding, that after the "alloc" message "vAttributes"'
retain count is 1 and as I use it in the return statement, a "release"
out of question. So "vAttributes" should receive an "autorelease"
message before the return statement to avoid an object leak, but than
the application crashes after the first invokation of this method.