According to Apple's documentation, if I add an object to an NSMutableDictionary
via the setObject:forKey:
method, the dictionary will keep a strong reference to it.
But what about the setValue:forKey:
method? The documentation doesn't say anything about the kind of reference to the object added via this method.
Is it the same as the other one? Does the dictionary keep a strong reference to the object added via this method as well?