摘要: 排序前 必须先定义一个比较的方法 如下-(NSComparisonResult )studentcompare:(Student *)stu;在Sstudent的类中定义for ....in的用法 取出in后面数组中的各个元素将数组中的元素排序NSArray *array3=[array2 sort... 阅读全文
posted @ 2014-07-17 21:17 sunxiang1991 阅读(116) 评论(0) 推荐(0)
摘要: AppDelegate.m部分- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWin... 阅读全文
posted @ 2014-07-17 08:28 sunxiang1991 阅读(130) 评论(0) 推荐(0)
摘要: file:///Applications/Xcode6-Beta2.app/Contents/Developer/Applications/iOS%20Simulator.app/ 阅读全文
posted @ 2014-07-17 08:12 sunxiang1991 阅读(116) 评论(0) 推荐(0)