Possible Duplicate:
What does the question mark and the colon (?: ternary operator) mean in objective-c?
NSString *requestString = (self.isFirstTimeDownload) ? [NSString stringWithFormat:[self.commonModel.apiURLs objectForKey:@"updateNewsVerPOST"],@""] : [NSString stringWithFormat:[self.commonModel.apiURLs objectForKey:@"updateNewsVerPOST"], [[NSUserDefaults standardUserDefaults] objectForKey:@"localnewsupdate"]];
Can anyone help me to understand what this is ()? and : in Objective-c? Thank you!!