2016年2月15日
摘要: 1.定义介绍 (1).XML定义扩展标记语言 (Extensible Markup Language, XML) ,用于标记电子文件使其具有结构性的标记语言,可以用来标记数据、定义数据类型,是一种允许用户对自己的标记语言进行定义的源语言。 XML使用DTD(document type definit 阅读全文
posted @ 2016-02-15 11:56 沙->仙人掌 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 代码块存储的数据是一个函数体。使用代码块是,你可以像调用其他标准函数一样,传入参数数,并得到返回值。 //block作为函数的参数 //函数返回值类型 函数名(block的声明格式) void fun(int (^block)(int a,int b)){ int sum=block(5,6); N 阅读全文
posted @ 2016-02-15 10:59 沙->仙人掌 阅读(336) 评论(0) 推荐(0) 编辑
摘要: UIWebView的简单学习 #import "ViewController.h" @interface ViewController ()<UIWebViewDelegate> { UIWebView *WebView; UIView *view; UIActivityIndicatorView 阅读全文
posted @ 2016-02-15 10:34 沙->仙人掌 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 代码的简单了解 #import <Foundation/Foundation.h> int c=0; int main(int argc, const char * argv[]) { @autoreleasepool { //block声明格式:返回值类型(^block名字)(形参列表) int 阅读全文
posted @ 2016-02-15 10:33 沙->仙人掌 阅读(218) 评论(0) 推荐(0) 编辑