开发者

Sorting an array in objective-c [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

sorting in nsmutable array

I have 2 NSMutableArray array. I have to sort it. Is there any function defined in Objective-c for direct sort.

like

NSMutableArray *sortedarray_variab开发者_如何学编程le= (sorting method) array_variable;

Where sorting method returns sorted array.


Of course. NSArray provides several methods

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜