If I am decoding standard objects like strings, arrays, and numbers, do I need to copy the result? It seems to me that decodeObjectForKey
will always return a unique object in these cases:
_foo = [coder decodeObjectForKey:@"foo"];
but I want to be sure that I don't need to do this:
_foo = [[coder decodeObjectForKey:@"foo"] copy];
when I end up storing the result.