ITeye博客

NSMutableArray排序

zcw_java · 2013-07-26 15:44 · iPhone开发 · 移动开发 · Markdown

NSMutableArray *array = ; for (int i = 0; i < 10; i ++) { ; Test23 *test = init]; test.name = ; test.date = ; ; ; }

for (Test23 *test in array) {
    NSLog(@"%@",test.name);
    NSLog(@"%f",test.date.timeIntervalSince1970);
}


;

NSLog(@">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");

for (Test23 *test in array) {
    NSLog(@"%@",test.name);
    NSLog(@"%f",test.date.timeIntervalSince1970);
}

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。