码迷,mamicode.com
首页 >  
搜索关键字:weak reference    ( 6649个结果)
Thread.sleep
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( ) vs Thread.yield( )
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
C#读取文件夹大小
今天需要做一个读取文件夹大小的功能,为了避免遍历文件夹下所有文件并求出总大小,找到如下的好方法: 首先要在项目中引用一个COM组件:Microsoft Scripting Runtime,这个在Reference中搜索可以找到。然后在代码中using Scripting名称空间。就可以开始使用了。代
分类:Windows程序   时间:2016-02-24 19:21:57    阅读次数:189
摘录ECMAScript官方文档中重要的两段话
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
2016 2 - 23 arc中的所有权修饰符(_strong修饰符与_weak修饰符)
一 _strong修饰符 1._strong修饰符是id类型和对象类型默认的所有权修饰符。如下: id obj = [[NSObject alloc] init];//在没用明确变量所有权修饰符时,会被默认被_strong修饰符 id _strong obj = [[NSObject alloc]
分类:其他好文   时间:2016-02-23 18:35:51    阅读次数:163
iOS/OS X 借助工具解决内存问题
InstrumentsARC内存管理悬挂指针 上 一篇博客iOS/OS X内存管理(一):基本概念与原理主要讲了iOS/OSX 内存管理中引用计数和内存管理规则,以及引入ARC新的内存管理机制之后如何选择ownership qualifiers(__strong、__weak、__unsafe_un
分类:移动开发   时间:2016-02-22 15:13:48    阅读次数:240
weak cannot be applied to non-class type '.......'
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
tomcat发布web service教程
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
20160220 下拉刷新 上拉加载
//下拉刷新 - (void)Downrefresh { __weak MedicationCollectionViewController *puad = self; [puad.MedicatableView addHeaderWithCallback:^{ [puad.MedicaMutarr
分类:其他好文   时间:2016-02-20 18:56:00    阅读次数:218
android.hardware.Camera类及其标准接口介绍
android.hardware.Camera类及其标准接口介绍,API level 19 http://developer.android.com/reference/android/hardware/Camera.html
分类:移动开发   时间:2016-02-20 17:28:52    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!