Welcome to the Treehouse Community
Looking to learn something new?
Andre RobinsonCourses Plus Student 5,232 Points
I'm stuck plz help
I don't know what I'm doing wrong
NSMutableDictionary * carDict; carDict = [NSMutableDictionary alloc]; [carDict initWithObjectsAndKeys: @"Honda",@"Make",@"Accord",@"Model", nil];
Jason AndersTreehouse Moderator 145,624 Points
I think you may have missed one very important part of the Challenge's instructions: "Do this all in one line of code."
Have a look at the corrected code below. I hope it all makes sense. :)
NSMutableDictionary* carDict = [[NSMutableDictionary alloc] initWithObjectsAndKeys: @"Honda", @"Make", @"Accord", @"Model", nil];