Possible Duplicate:
Where's the difference between setObject:forKey: and setValue:forKey: in NSMutableDictionary?
Hi,
setObject:forKey:
Adds a given key-value pair to the dictionary.
- (void)setObject:(id)anObject forKey:(id)aKey
Again
setValue:forKey:
Adds a given key-value pair to the dictionary.
- (void)setValue:(id)value forKey:(NSString *)key
Then what is the difference in between them? Is the difference only in receiving parameters? can setObject:forKey: be used instead of setValue:forKey: ?