My question is somewhat generally about autoreleased objects but I’ll give a specific example, because I’ve encountered this a couple of times already in the book.
On page 263 under “Unarchiving objects” I see: “because the method returns an autoreleased object.”
Reading the documentation for NSKeyedUnarchiver’s unarchiveObjectWithFile: method, I find no discussion of memory management.
So how do you guys manage to know this stuff?
Is this something I should be able to deduce? [It’s not in the docs AFAIK and there’s no source code available, correct?]