Posted By

saturngod on 03/08/11


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

terababy
athanhcong
Tintenklecks
cnathan


NSArray sortby Key


 / Published in: Objective C
 

  1. [database sortUsingDescriptors:[NSArray arrayWithObject:[[[NSSortDescriptor alloc] initWithKey:@"name" ascending:NO] autorelease]]];

Report this snippet  

You need to login to post a comment.