开发者

Sorting an array in objective-c [duplicate]

开发者 https://www.devze.com 2023-03-21 00:10 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: sorting in nsmutable array
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

精彩评论

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