NSArray *j = [[AppDelegate get].upgradesMenu children];
MenuItem *m = [j objectAtIndex: u.weaponID];
m.isEnabled = ([AppDelegate get].cash >= u.cost) ? YES : NO;
I want to set MenuItem at a specific index to YES or NO depending cash available vs. cost. Is there a way to combine these 3 lines into one line so I don't have to create temp objects? Am I being a nit?