//
// main.m
// Foundation框架(6)-数组的遍历
//
// Created by XinYou on 15-1-20.
// Copyright (c) 2015年 vxinyou. All rights reserved.
//
#import
#import "Student.h"
#pragma mark 数组遍历1
void arrayFor1(){
Student *stu1 = [Student student];
NSArray *array = [NSArray arrayWithObjects:stu1, @"1", @"2", @"3", nil];
int count = [array count];
// 使用for循环遍历
for(int i =0; i