Skip to content

Instantly share code, notes, and snippets.

@markst
Created February 16, 2015 02:10
Show Gist options
  • Select an option

  • Save markst/7b16c247f757361ffbd8 to your computer and use it in GitHub Desktop.

Select an option

Save markst/7b16c247f757361ffbd8 to your computer and use it in GitHub Desktop.

Revisions

  1. markst created this gist Feb 16, 2015.
    2 changes: 2 additions & 0 deletions gistfile1.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    NSDictionary * params = self.paramsBlock != nil ? self.paramsBlock((index < self.objects.count) ? index : self.objects.count-1) : nil;
    if (params != nil) [mutableParams addEntriesFromDictionary:params];