Skip to content

Instantly share code, notes, and snippets.

@markst
Created February 16, 2015 02:10
Show Gist options
  • Save markst/7b16c247f757361ffbd8 to your computer and use it in GitHub Desktop.
Save markst/7b16c247f757361ffbd8 to your computer and use it in GitHub Desktop.
NSDictionary * params = self.paramsBlock != nil ? self.paramsBlock((index < self.objects.count) ? index : self.objects.count-1) : nil;
if (params != nil) [mutableParams addEntriesFromDictionary:params];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment