Thread.sleep() The current thread changes state from Running to Waiting/Blocked as shown in the diagram below. Any other thread with reference to the
分类:
其他好文 时间:
2016-02-25 07:57:44
阅读次数:
171
Thread.sleep() The current thread changes state from Running to Waiting/Blocked as shown in the diagram below. Any other thread with reference to the
分类:
其他好文 时间:
2016-02-25 07:55:26
阅读次数:
171
今天需要做一个读取文件夹大小的功能,为了避免遍历文件夹下所有文件并求出总大小,找到如下的好方法: 首先要在项目中引用一个COM组件:Microsoft Scripting Runtime,这个在Reference中搜索可以找到。然后在代码中using Scripting名称空间。就可以开始使用了。代
Every object created by a constructor has an implicit reference (called the object’s prototype) to the value of itsconstructor’s "prototype" property.
分类:
其他好文 时间:
2016-02-24 17:08:21
阅读次数:
107
一 _strong修饰符 1._strong修饰符是id类型和对象类型默认的所有权修饰符。如下: id obj = [[NSObject alloc] init];//在没用明确变量所有权修饰符时,会被默认被_strong修饰符 id _strong obj = [[NSObject alloc]
分类:
其他好文 时间:
2016-02-23 18:35:51
阅读次数:
163
InstrumentsARC内存管理悬挂指针 上 一篇博客iOS/OS X内存管理(一):基本概念与原理主要讲了iOS/OSX 内存管理中引用计数和内存管理规则,以及引入ARC新的内存管理机制之后如何选择ownership qualifiers(__strong、__weak、__unsafe_un
分类:
移动开发 时间:
2016-02-22 15:13:48
阅读次数:
240
when defining 'weak var delegate:.......' error solution: 1. 1 protocol SegueDelegate:NSObjectProtocol{ 2 func ...... 3 } 2. 1 @objc protocol SegueDel
分类:
移动开发 时间:
2016-02-21 22:48:55
阅读次数:
374
http://blog.csdn.net/fengqiuzhihua/article/details/8783878 1、下载jax-ws依赖包 因tomcat没有jax-ws所需的依赖环境,所以第一步先下载Jax-ws RI,即jax-ws reference implemantation, 地址
分类:
Web程序 时间:
2016-02-21 14:22:10
阅读次数:
221
//下拉刷新 - (void)Downrefresh { __weak MedicationCollectionViewController *puad = self; [puad.MedicatableView addHeaderWithCallback:^{ [puad.MedicaMutarr
分类:
其他好文 时间:
2016-02-20 18:56:00
阅读次数:
218
android.hardware.Camera类及其标准接口介绍,API level 19 http://developer.android.com/reference/android/hardware/Camera.html
分类:
移动开发 时间:
2016-02-20 17:28:52
阅读次数:
132