码迷,mamicode.com
首页 >  
搜索关键字:weak reference    ( 6649个结果)
linux 基础知识总结2
1.设定文件text的属性为:文件属主(u) 增加写权限;与文件属主同组用户(g) 增加写权限;其他用户(o) 删除执行权限:chmod ug+w,o-x log2012.log 权限选择参数: --reference= 设置成具有指定目录或者文件具有相同的权限 --version 显示版本信息.....
分类:系统相关   时间:2015-12-01 14:51:35    阅读次数:217
The type or namespace name 'Html' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)
The type or namespace name 'Html' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)solution: right click on re...
分类:Web程序   时间:2015-12-01 12:33:25    阅读次数:174
引用旧内存错误--自由转换ARC,MRC
开始可以使用ARC( Automatic Reference Counting:自动引用计数 )来代替之前的MRC(Manual Reference Counting:人工引用计数)。使用ARC会减少很多代码和忘了释放对象的苦恼。但是事情都有两面性。使用了ARC之后如果你想复用以前写过的使用MRC的...
分类:其他好文   时间:2015-12-01 12:18:16    阅读次数:104
第12章 动态内存
全局对象:启动时分配,结束时销毁局部对象:程序块内分配,程序块外销毁static对象:第一次使用分配,结束时销毁动态内存使用new来分配对象,使用delete销毁对象12.1两种智能指针#includeshared_ptr: 多个指针可以指向同一个对象unique_ptr: 独占指向的对象 weak...
分类:其他好文   时间:2015-11-29 23:08:55    阅读次数:260
[转载]正则表达式参考文档 - Regular Expression Syntax Reference.
正则表达式参考文档 - Regular Expression Syntax Reference.[原创文章,转载请保留或注明出处:http://www.regexlab.com/zh/regref.htm]引言 正则表达式(regular expression)就是用一个“字符串”来描述一个特征,然...
分类:其他好文   时间:2015-11-29 12:02:09    阅读次数:205
OC 如果需要手动显示操作 release retaionCount等解决办法
错误提示:ARC forbids explicit message send of'retain''retain' is unavailable: not available inautomatic reference counting mode解决方法;打开当前工程,打开"Build Settin...
分类:其他好文   时间:2015-11-28 18:09:11    阅读次数:140
文章标题
41.Android aapt工具Android aapt工具 aapt 介绍 aapt 环境配置 aapt list aapt dump aapt package 其他命令aapt 介绍可参考官方文档: http://www.androidcn.net/wiki/index.php/Reference/aapt aapt stands for Android Asset Packaging...
分类:其他好文   时间:2015-11-28 16:48:49    阅读次数:291
cf 61 E. Enemy is weak 离散化+树状数组
题意:给出一个数组,数组的每一个元素都是不一样的,求出对于3个数组下标 i,?j,?k such that i aj?>?ak where ax is the value at position x. 的个数明显数组的值太大了先离散化,然后就是简单的树状数组了对于每一个i,只要统计i前面的数中比.....
分类:编程语言   时间:2015-11-28 15:06:28    阅读次数:188
iOS开发核心动画之图片折叠/渐变层
1. 显示效果2. 代码实现#import"ViewController.h"@interfaceViewController()@property(weak,nonatomic)IBOutletUIImageView*topV;@property(weak,nonatomic)IBOutletUI...
分类:移动开发   时间:2015-11-27 14:42:35    阅读次数:157
手势识别
#import "YZViewController.h"@interface YZViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@end@implementation YZViewContro...
分类:其他好文   时间:2015-11-27 14:28:47    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!