Welcome to the Treehouse Community
Looking to learn something new?
Not sure how to create this string and allocate it and init without assigning a value?
Not sure how to write this?
NSMutableDictionary *carDict = [[NSMutableDictionary alloc] initWithObjectsAndKeys:@"Honda", @"Make", @"Accord", @"Model", nil]; NSString *myRide = [[NSString alloc] initWithObjectsAndKeys:];
Sam Chaudry25,519 Points
You method is wrong you don't need initWithObjectsAndKeys, try the code below I checked it and it works:
NSString *myRide = [[NSString alloc] init];