2017年9月8日
摘要: 容器: container/wrap 整体宽度:wrapper 页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 中间内容:center 导航 导航:nav 导航:mainnav/globalnav 子导航:su 阅读全文
posted @ 2017-09-08 10:26 Veritas_Yang 阅读(230) 评论(0) 推荐(0) 编辑
  2017年8月4日
摘要: //获取链接中的数据 阅读全文
posted @ 2017-08-04 15:52 Veritas_Yang 阅读(600) 评论(0) 推荐(0) 编辑
  2017年6月22日
摘要: HTML JS 阅读全文
posted @ 2017-06-22 14:47 Veritas_Yang 阅读(3078) 评论(0) 推荐(0) 编辑
  2017年4月11日
摘要: 转载:http://blog.csdn.net/senwin2009/article/details/49200833 阅读全文
posted @ 2017-04-11 14:14 Veritas_Yang 阅读(119) 评论(0) 推荐(0) 编辑
  2017年3月30日
摘要: 如果解决一件事情的时候,每一件事情都是自己亲自去一步一步实现,那么这种解决问题的思路叫做面向过程。 如果解决一件事情的时候,自己不去亲自做,找一个专门做这种事情的人来帮我做,这种解决问题的思路叫面向对象。 面向过程和面向对象是解决一样事情的不同思路 面向过程--》后期的维护修改不方便 面向对象--》 阅读全文
posted @ 2017-03-30 14:46 Veritas_Yang 阅读(122) 评论(0) 推荐(0) 编辑
  2017年3月28日
摘要: 找女朋友案例 首先设置协议-》command+N -》Objective-C File #import <Foundation/Foundation.h> @protocol GFPorotocol <NSObject> //必须实现 @required -(void)wash; -(void)co 阅读全文
posted @ 2017-03-28 10:49 Veritas_Yang 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1.协议 protocol。 1.作用:专门用来声明一大堆方法,(不能声明属性,也不能实现方法,只能用来写方法的声明)。 2.只要某个类遵守了这个协议,就相当于拥有这个协议中的所有的声明,而不用自己要去定义。 2.协议的声明 @protocol 协议名字 <NSObject>、 方法的声明; @en 阅读全文
posted @ 2017-03-28 09:33 Veritas_Yang 阅读(211) 评论(0) 推荐(0) 编辑
  2017年3月23日
摘要: 定义了一个继承自NSObject的类 在h文件中定义一个CGRect属性 说Unknown type name ‘CGrect’ 解决办法: 加上 #import “UIKit/UIKit.h” 阅读全文
posted @ 2017-03-23 10:23 Veritas_Yang 阅读(147) 评论(0) 推荐(0) 编辑
  2017年2月5日
摘要: AFNetworking 出现问题: App TransportSecurity has blocked a cleartext HTTP (http://) resource load since it isinsecure. Temporary exceptions can be configu 阅读全文
posted @ 2017-02-05 23:35 Veritas_Yang 阅读(138) 评论(0) 推荐(0) 编辑
  2016年7月22日
摘要: 利用for循环创建5个button,其中对这个五个button一定要赋上tag值 ,因为下面的点击操作我们要用到; 看for循环的代码: for (int i=0; i < 5; i++) { UIButton *button = [[UIButton alloc] init]; button.frame = CGRectMake(10 + 60*i, 100... 阅读全文
posted @ 2016-07-22 17:00 Veritas_Yang 阅读(3406) 评论(0) 推荐(0) 编辑