---
title: "NSMutableArray排序"
author: "zcw_java"
date: "2013-07-26T15:44:41Z"
tags: []
categories: ["移动开发"]
slug: "nsmutablearray"
draft: false
lastmod: "2013-07-26T15:44:41Z"
id: 1914035
url: "https://zcw-java.iteye.com/blog/1914035"
---

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);
    }