开发者

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

开发者 https://www.devze.com 2023-03-08 18:38 出处:网络
This question already has answers here: Cl开发者_JS百科osed 11 years ago. Possible Duplicate: Sort NSArray of date strings or objects
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

精彩评论

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