自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Unity常用脚本函数随用随记

void Start () void Update () void OnTriggerExit (Collider other)//超出边界 //碰撞检测---进入边界 void OnTriggerEnter (Collider other) { if (other.tag == "Boundary" || other.tag == "Enemy") { retur

2017-06-12 14:42:01 1439

原创 关于iOS的多线程

Pthreads  #import - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { pthread_t thread; pthread_create(&thread, NULL, testfunction, NULL); } void *testfunction(void *data) {

2017-03-15 14:00:49 231

原创 AppDelegate,UIViewController生命周期

程序完成加载先运行 [AppDelegate application:didFinishLaunchingWithOptions:] - (void)applicationDidBecomeActive:(UIApplication *)application 切入后台时 - (void)applicationWillResignActive:(UIApplication *)applic

2017-03-14 14:24:49 343

原创 kvo

//添加监听者 [self.tableView addObserver: self forKeyPath: @"tableview" options: NSKeyValueObservingOptionNew context: nil]; [self.label addObserver: self forKeyPath: @"label" options: NSKeyValueObserv

2017-02-15 10:32:40 196

原创 ReactiveCocoa学习笔记

//参考学习http://www.jianshu.com/p/87ef6720a096 //参考学习http://www.jianshu.com/p/451c46fed8d3 //基础应用 RACSignal *signal = [RACSignal return:@"最简单的测试"];     [signal subscribeNext:^(id x) {         N

2017-02-08 12:53:00 241

原创 AsyncSocket

//下载地址 https://github.com/robbiehanson/CocoaAsyncSocket #import "ViewController.h" #import "GCDAsyncSocket.h" #import "GCDAsyncUdpSocket.h" #import "AsyncSocket.h" @interface ViewCont

2017-02-04 10:02:27 717

空空如也

空空如也

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

TA关注的人

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