摘要: //// main.m// 2-8 LessonClassExtension//// Created by lanouhn on 15/3/10.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import #import "Pen.h"... 阅读全文
posted @ 2015-03-10 20:04 小雪童鞋 阅读(147) 评论(0) 推荐(0) 编辑
摘要: //// main.m// 2-7 LessonBlock//// Created by lanouhn on 15/3/9.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import #import "Student.h"#impor... 阅读全文
posted @ 2015-03-10 20:03 小雪童鞋 阅读(127) 评论(0) 推荐(0) 编辑
摘要: //NSDictionary, 不可变字典 //1.如果不创建,不能够使用 //2.内部以key-value(键值对)形势存储 //3.key必须唯一 //4.是无序集合 //5.value必须为对象, key一般为NSString //name:张三, age:18, gende... 阅读全文
posted @ 2015-03-06 21:32 小雪童鞋 阅读(120) 评论(0) 推荐(0) 编辑
摘要: // 作业1// 截取字符串“20|http://www.baidu.com”中 “|” 前面和后面的字符串,并输出。// 将“文艺青年”改成“213青年”。 NSString *string1 = @"20|http://www.baidu.com"; NSString *string2... 阅读全文
posted @ 2015-03-06 21:31 小雪童鞋 阅读(142) 评论(0) 推荐(0) 编辑
摘要: //1. Xcode->Help->Decumentation and API //快捷键: cmd + shift + 0 //使用场景: 无目的的自主学习 //2. 快速进入API文档 //快捷键:cmd + 左键 //使用场景: 快速浏览头文件, 对于这... 阅读全文
posted @ 2015-03-06 21:27 小雪童鞋 阅读(255) 评论(0) 推荐(0) 编辑
摘要: main函数//// main.m// 2-3 LessionInstanceVariableAndMethod//// Created by lanouhn on 15/2/3.// Copyright (c) 2015年 lanouhn. All rights reserved.//#impor... 阅读全文
posted @ 2015-02-04 09:26 小雪童鞋 阅读(256) 评论(0) 推荐(0) 编辑
摘要: main函数//// main.m// 2-2 LessonClassAndObject//// Created by lanouhn on 15/2/2.// Copyright (c) 2015年 lanouhn. All rights reserved.////import引用系统的头文件用 ... 阅读全文
posted @ 2015-02-04 09:09 小雪童鞋 阅读(584) 评论(0) 推荐(0) 编辑
摘要: //// main.m// DAY-12作业//// Created by lanouhn on 15/1/28.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import void randomFun(int *p, int n);v... 阅读全文
posted @ 2015-01-28 22:36 小雪童鞋 阅读(126) 评论(0) 推荐(0) 编辑
摘要: // main.m// 1-26课堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/26.// Copyright (c) 2015年 lanouhn. All rights reserved.// 预编译( Precompile),#import ... 阅读全文
posted @ 2015-01-28 16:59 小雪童鞋 阅读(595) 评论(0) 推荐(0) 编辑
摘要: // main.m// 1-28随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/28.// Copyright (c) 2015年 lanouhn. All rights reserved.// 函数指针, 回调函数#import struct ... 阅读全文
posted @ 2015-01-28 16:56 小雪童鞋 阅读(295) 评论(0) 推荐(0) 编辑