开发者

how can i sort an NSMutableArray in objective-c [duplicate]

This question already has answers here: Cl开发者_JS百科osed 11 years ago.

Possible Duplicate:

Sort NSArray of date strings or objects

Hello, I want to sort an NSMutableArray. The MutableArray contain NSstrings.Strings have this form "20112505" YYYY-MM-DD . How can i sort it ? thank you


[yourMutableArray sortUsingSelector:@selector(compare:)];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜