自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(38)
  • 收藏
  • 关注

转载 tableView怎么改变cell的分割线!!!

- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { if ([self.tableView respondsToSelector:@selector(setSeparatorI...

2015-07-27 09:05:00 98

转载 LessonUIParse

//saxParse步骤:1.从包中查找文件路径NSString *urlString = [[NSBundle mainBundle] pathForResource:@"Student" ofType:@"xml"];2.根据文件路径生成同一资源定位符NSURL *url = [[NSURL alloc] initFileURLWithPath:urlString...

2015-04-08 22:59:00 124

转载 LessonTableViewEdit

#######通讯录//// RootViewController.m// LessonUITableViewEdit//// Created by lanouhn on 15/3/31.// Copyright (c) 2015年 小代码. All rights reserved.//#import "RootViewController....

2015-03-31 22:40:00 154

转载 LessonUITableView

//// RootViewController.m// LessonUITableViewBase//// Created by lanouhn on 15/3/30.// Copyright (c) 2015年 小代码. All rights reserved.//#import "RootViewController.h"@inte...

2015-03-30 21:35:00 88

转载 LessonScrollView

//// RootViewController.m// LessonUIScrollView//// Created by lanouhn on 15/3/26.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "RootViewController.h"@int...

2015-03-26 22:20:00 84

转载 HomeworkUIScrollView

//// RootViewController.m// UI - DAY- 8//// Created by lanouhn on 15/3/26.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "RootViewController.h"@interface ...

2015-03-26 22:19:00 132

转载 LessonGesture

//// GestureViewController.m// LesssonGesture//// Created by lanouhn on 15/3/24.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "GestureViewController.h"@i...

2015-03-24 22:44:00 87

转载 LoginViewHomeWork

//// AppDelegate.m// LessonaPackage//// Created by lanouhn on 15/3/19.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "AppDelegate.h"#import "LoginView.h"...

2015-03-19 21:10:00 154

转载 LessonUIViewSubClass

//// AppDelegate.m// LessonUIViewSubClass//// Created by lanouhn on 15/3/18.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "AppDelegate.h"@interface AppDe...

2015-03-19 09:12:00 86

转载 LessonUIView

//// AppDelegate.m// LessonUIView//// Created by lanouhn on 15/3/16.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "AppDelegate.h"@interface AppDelegate (...

2015-03-18 09:32:00 93

转载 LessonClassExtension

//// main.m// 2-8 LessonClassExtension//// Created by lanouhn on 15/3/10.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/Foundation.h>#impor...

2015-03-10 20:04:00 119

转载 LessonBlock

//// main.m// 2-7 LessonBlock//// Created by lanouhn on 15/3/9.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/Foundation.h>#import "Student...

2015-03-10 20:03:00 90

转载 2-6 LessonNsDictionaryAndNSSet

//NSDictionary, 不可变字典 //1.如果不创建,不能够使用 //2.内部以key-value(键值对)形势存储 //3.key必须唯一 //4.是无序集合 //5.value必须为对象, key一般为NSString //name:张三, age:18, gender:男 ...

2015-03-06 21:32:00 80

转载 Oc - DAY - 4

// 作业1// 截取字符串“20|http://www.baidu.com”中 “|” 前面和后面的字符串,并输出。// 将“文艺青年”改成“213青年”。 NSString *string1 = @"20|http://www.baidu.com"; NSString *string2 = [string1 substringToInde...

2015-03-06 21:31:00 88

转载 LessonNSString

  //1. Xcode->Help->Decumentation and API //快捷键: cmd + shift + 0 //使用场景: 无目的的自主学习 //2. 快速进入API文档 //快捷键:cmd + 左键 //使用场景: 快速浏览头文件, 对于这...

2015-03-06 21:27:00 64

转载 Oc(实例变量可见度与方法)(InstanceVariableAndMethod)

main函数//// main.m// 2-3 LessionInstanceVariableAndMethod//// Created by lanouhn on 15/2/3.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/Found...

2015-02-04 09:26:00 101

转载 Oc(类和对象)(ClassAndObjict)

main函数//// main.m// 2-2 LessonClassAndObject//// Created by lanouhn on 15/2/2.// Copyright (c) 2015年 lanouhn. All rights reserved.////import引用系统的头文件用 <>, 引用自定义类的头文件用 ...

2015-02-04 09:09:00 97

转载 DAY-12作业

//// main.m// DAY-12作业//// Created by lanouhn on 15/1/28.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/Foundation.h>void randomFun(int *p,...

2015-01-28 22:36:00 57

转载 c语言(预编译)(precompile)

// main.m// 1-26课堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/26.// Copyright (c) 2015年 lanouhn. All rights reserved.// 预编译( Precompile),#import <Foundation/Foundatio...

2015-01-28 16:59:00 362

转载 c语言(函数指针,回调函数)

// main.m// 1-28随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/28.// Copyright (c) 2015年 lanouhn. All rights reserved.// 函数指针, 回调函数#import <Foundation/Foundation.h>...

2015-01-28 16:56:00 121

转载 DAY-1作业

//// main.m// DAY-11作业//// Created by lanouhn on 15/1/27.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/Foundation.h>int main(int argc, ...

2015-01-27 22:31:00 74

转载 Lesson(DynamicMerry)动态内存分配

// main.m// 1-27随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/27.// Copyright (c) 2015年 lanouhn. All rights reserved.//动态内存分配(DynamicMerry)#import <Foundation/Foundat...

2015-01-27 22:30:00 91

转载 DAY-10作业

(**)写一个函数交换两个结构体变量(**)有一学生数组写一函数打印出指定分数段的学生信息(**)有一学生数组,包含5个学生,写一个函数,对学生排序(按学号 从小到大),使用结构体指针操作数组元素(**)有一学生数组,包含5个学生,写一个函数,对学生排序(按姓名 从小到大),使用结构体指针操作数组元素(**)有一学生数组,包...

2015-01-23 21:54:00 67

转载 c语言(高级指针)

// main.m// 1-23随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/23.// Copyright (c) 2015年 lanouhn. All rights reserved.//pointer(指针高级)#import <Foundation/Foundation.h&g...

2015-01-23 21:51:00 138

转载 DAY-9作业

//// main.m// DAY- 9作业//// Created by lanouhn on 15/1/22.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/Foundation.h>#import "sort.h"i...

2015-01-22 20:53:00 111

转载 C语言(指针)

// main.m// 1-22课堂笔记// 讲师: 小辉// 笔者: 王学文// Created by lanouhn on 15/1/22.// Copyright (c) 2015年 lanouhn. All rights reserved.// pointer(指针)#import <Foundation/Foundation.h&...

2015-01-22 20:51:00 93

转载 c语言(结构体)

// main.m// 1-21课堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/21.// Copyright (c) 2015年 lanouhn. All rights reserved.//structural(结构体)#import <Foundation/Foundation.h...

2015-01-22 08:56:00 71

转载 c语言(函数(function//))

// main.m// 1-20随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/20.// Copyright (c) 2015年 lanouhn. All rights reserved.// 函数(function//)#import <Foundation/Foundation....

2015-01-21 08:54:00 156

转载 c语言(⼆二维数组、字符串数组、多维数组)课堂笔记加作业

//// main.m// 1-19课程笔记// 二维数组、字符串数组、多维数组// 讲师:小辉// 笔者:王学文// Created by lanouhn on 15/1/19.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import <Foundation/...

2015-01-19 17:15:00 132

转载 1-16作业

《第 04 讲:一维数组》1. (*)先调试,调试成功后抄写下列程序: #include <stdio.h>#define SIZE 10int main(int argc, char *argv[]){int a[SIZE] = {0},i= 0;for(i = 0; i < SIZE; i++){a[i] = i+10...

2015-01-17 11:35:00 98

转载 c语言 数组(一维、字符)

// main.m// 1-16课堂笔记//讲师:小辉//笔者:王学文// Created by lanouhn on 15/1/16.// Copyright (c) 2015年 lanouhn. All rights reserved.//数组(一维、字符)#import <Foundation/Foundation.h>...

2015-01-17 11:32:00 192

转载 DAY-4作业

1. (*)有 10 亿元钱每天花一半,可以花多少天?2. (**)随机产生 20 个[10 , 100]的正整数,输出这些数以及他们中的最大数3. (**)编程将所有“水仙花数”打印出来,并打印其总个数。 “水仙花数”是一个 各个位立方之和等于该整数的三位数。4.(**)已知 abc+cba = 1333,其中 a,b,c 均为一位数,编程求出满足条件的 a,b...

2015-01-16 09:00:00 59

转载 c语言(循环、嵌套)

// DAY-4王学文//c语言基础第二讲(小辉)//循环 嵌套#import <Foundation/Foundation.h>int main(int argc, const char * argv[]) { //for循环 /*for (1; 2; 3){ 4 } */ //1.循环变量初始...

2015-01-16 08:52:00 384

转载 1-14作业

1.(*)输入一个整数,判断奇偶,并输出“某某是奇数”或者“某某是偶数” 。2.(*)输入一个数,判断符号。如果大于 0,输出“正数”;如果小于 0,输 出“负数”;如果等于 0,输出“0”。3.(***)输入生日,输出年龄(周岁)和星座。 4.(**)编程判断 3 人中谁的年龄最大,并打印最大者的年龄5.(**)铁路托运行李规定:行李重不超过 50 公斤的,托运...

2015-01-14 23:04:00 168

转载 c(分支结构、if语句、关系运算符)

//// c语言基础,分支结构 //BOOL,布尔类型,是一个非真即假的数据类型,只有两个值YES和NO //YES = 1,NO = 0; //在C语言中,非0即为真;(-1、3都是真) int a = 0; BOOL b= NO; //关系运算符 int m = 5, n = 10; BOOL res...

2015-01-14 23:00:00 124

转载 c1(基础篇)

int a= 10 ; printf("a = %d\n", a); char number = 'H'; printf("number = %c\n", number); //打印字符对应的 ASCII值(十进制) printf("number = %d\n", number); short c = 12;...

2015-01-13 22:10:00 217

转载 作业

《第一讲:C 语言基础》课后作业1、 (*)计算十进制 42 转换为二进制、八进制、十六进制分别对应的值。2、 (*)计算二进制 11010110 对应的十进制值3、 (*)计算八进制 075 对应的十进制值4、 (*)计算十六进制 0xA8 对应的十进制值5、 (*)打印下面图形:* ** ***...

2015-01-13 20:54:00 112

转载 c1(数据类型、常量、变量)

//数据类型 //作用 //1.规定容器存储的大小 //2.规定容器存放的数据类型 //分类 //1.整型:char(字符型) short(短整型) int(整型) long(长整型) //2.浮点型: float(单精度浮点型) double(双精度浮点型) //常量:程序运行期间不能够改变的量 //整...

2015-01-13 12:06:00 264

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除