The example given in the documentation for initializing a NSDictionary:
NSDictionary *dict = [[NSDictionary alloc] initWithObjectsAndKeys:
@"value1" @"key1", @"value2", @"key2", nil];
Notice that there is no comma for the first pair? Is that how it is supposed to be?
NSDictionary *dict = [[NSDictionary alloc] initWithObjectsAndKeys:
@"value1" @"key1", @"value2", @"key2", nil];
Notice that there is no comma for the first pair? Is that how it is supposed to be?