Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on May 22nd, 2012  |  syntax: Objective C  |  size: 0.19 KB  |  views: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. NSSortDescriptor *sortDescriptor = [NSSortDescriptor sortDescriptorWithKey:@"taskOne" ascending:YES];
  2.         [linksArray sortedArrayUsingDescriptors:[NSArray arrayWithObject:sortDescriptor]];
clone this paste RAW Paste Data