(a)
[dictionary setObject:object forKey:key];

(b)
dictionary.setObject_forKey_( object, key )

(c)
dictionary.setObject_forKey( object, key )

(d)
dictionary.setObject( object, :forKey, key )

Example 2: Method names.

Back to Article