摘要: //////// main.m//// 小技巧//////// Created by dllo on 15/11/6.//// Copyright (c) 2015年 dllo. All rights reserved.////////#import ////int main(int argc, c... 阅读全文
posted @ 2015-11-08 14:27 挽月细数风流 阅读(171) 评论(0) 推荐(0)
摘要: // ※选择题(共80题,每题1分)// 1、NSString *name = [[NSString alloc]initWithString:@"张三"];// NSLog(@"%d",[name retainCount]);// 上述代码打印结果是:// 答案:(A)// A、-1/... 阅读全文
posted @ 2015-11-08 14:24 挽月细数风流 阅读(314) 评论(0) 推荐(0)
摘要: //// main.m// 练习省市区用对象实现//// Created by dllo on 15/11/3.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Operation.h"#import "City.... 阅读全文
posted @ 2015-11-08 14:21 挽月细数风流 阅读(187) 评论(0) 推荐(0)
摘要: //// main.m// 省市县//// Created by dllo on 15/10/31.// Copyright (c) 2015年 dllo. All rights reserved.//#import int main(int argc,const char * argv[]) { ... 阅读全文
posted @ 2015-11-08 14:19 挽月细数风流 阅读(561) 评论(0) 推荐(0)
摘要: //// main.m// 3道比较重要的作业//// Created by dllo on 15/10/30.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Contact.h"#import "Contact... 阅读全文
posted @ 2015-11-08 14:15 挽月细数风流 阅读(267) 评论(0) 推荐(0)
摘要: i//// main.m// 0C - 08 类的扩展//// Created by dllo on 15/11/4.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "NSString+info.h"#import... 阅读全文
posted @ 2015-11-08 14:12 挽月细数风流 阅读(198) 评论(0) 推荐(0)
摘要: //// main.m// oc _内存//// Created by dllo on 15/11/5.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Student.h"int main(int argc,co... 阅读全文
posted @ 2015-11-08 14:05 挽月细数风流 阅读(140) 评论(0) 推荐(0)
摘要: //// main.m// oc - 07 block作业//// Created by dllo on 15/11/3.// Copyright (c) 2015年 dllo. All rights reserved.//#import int main(int argc,const char *... 阅读全文
posted @ 2015-11-08 14:03 挽月细数风流 阅读(144) 评论(0) 推荐(0)
摘要: //// main.m// oc- 07 block//// Created by dllo on 15/11/3.// Copyright (c) 2015年 dllo. All rights reserved.////void test(void)//{// printf("hanshu");... 阅读全文
posted @ 2015-11-08 14:01 挽月细数风流 阅读(298) 评论(0) 推荐(0)
摘要: //// main.m// 练习-中等通讯录//// Created by dllo on 15/11/4.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Contact.h"#import "Manager.h... 阅读全文
posted @ 2015-11-08 13:57 挽月细数风流 阅读(174) 评论(0) 推荐(0)
摘要: //// main.m// oc - 作业(封装实现)//// Created by dllo on 15/10/28.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "AddressBook.h"#import ... 阅读全文
posted @ 2015-11-08 13:52 挽月细数风流 阅读(188) 评论(0) 推荐(0)
摘要: //// main.m// OC - 数组作业//// Created by dllo on 15/10/28.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Contact.h"int main(int arg... 阅读全文
posted @ 2015-11-08 13:46 挽月细数风流 阅读(221) 评论(0) 推荐(0)
摘要: //// main.m// oc- 05 字典和集合//// Created by dllo on 15/10/29.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Color.h"int main(int ar... 阅读全文
posted @ 2015-11-08 13:43 挽月细数风流 阅读(358) 评论(0) 推荐(0)
摘要: //// main.m// oc -5 数组//// Created by dllo on 15/10/28.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Student.h"#import "Book.h"i... 阅读全文
posted @ 2015-11-08 13:40 挽月细数风流 阅读(278) 评论(0) 推荐(0)
摘要: 将“文艺青年”改成“213青年”。// 将 整数123 转换为字符串“123”。// 将 “i love you”单词首字母变大写 “I love You”// 截取字符串“20|http://www.baidu.com”中 “|” 前面和后面的字符串,并输出。提示:-componentsS... 阅读全文
posted @ 2015-11-08 13:38 挽月细数风流 阅读(153) 评论(0) 推荐(0)
摘要: //// main.m// oc 04属性&字符串//// Created by dllo on 15/10/27.// Copyright (c) 2015年 dllo. All rights reserved.//#import int main(int argc,const char * ar... 阅读全文
posted @ 2015-11-08 13:37 挽月细数风流 阅读(181) 评论(0) 推荐(0)
摘要: //// Collegestudent.m// oc-03继承,初始化方法,便利构造器//// Created by dllo on 15/10/26.// Copyright (c) 2015年 dllo. All rights reserved.//#import "Collegestudent... 阅读全文
posted @ 2015-11-08 13:35 挽月细数风流 阅读(284) 评论(0) 推荐(0)
摘要: //// Student.m// OC2//// Created by dllo on 15/10/23.// Copyright (c) 2015年 dllo. All rights reserved.//#import "Student.h"#import "A.h"@implementatio... 阅读全文
posted @ 2015-11-08 13:33 挽月细数风流 阅读(226) 评论(0) 推荐(0)
摘要: //// main.m// OC 1 类和对象//// Created by dllo on 15/10/22.// Copyright (c) 2015年 dllo. All rights reserved.//#import #import "Person.h"#import "Student.... 阅读全文
posted @ 2015-11-08 13:31 挽月细数风流 阅读(104) 评论(0) 推荐(0)