码迷,mamicode.com
首页 >  
搜索关键字:weak reference    ( 6649个结果)
(纯代码 )transform旋转:
// 实现图片的旋转和移动和放大缩小#import "ViewController.h"@interface ViewController ()@property (nonatomic, weak) UIButton *_btnImage;@end@implementation ViewContro...
分类:其他好文   时间:2015-03-12 00:48:16    阅读次数:191
(纯代码)QQ登录界面:
#import "ViewController.h"@interface ViewController ()@property (nonatomic, weak) UITextField *_textName;@property (nonatomic, weak) UITextField *_tex...
分类:其他好文   时间:2015-03-12 00:40:04    阅读次数:253
ARC自动引用计数
启动自动引用计数选项. 选择项目的属性文件 --》 搜索 automatic Reference --》 Objective-C Automatic Reference Counting --》 Yes ARC 和手动管理内存的区别。 ARC 并不是GC在运行中判断引用计数是否为0,从而清除内存。而...
分类:其他好文   时间:2015-03-11 23:24:52    阅读次数:172
IOS 面试总结
这段时间一直忙着面试找工作,面试的过程中暴露出自己一些问题,还是基础不够扎实,虽然做了三年IOS开发了,但是仅仅是编码上和架构上还可以,基础的东西好多都不知道,太不应该了,所以决心好好把IOS基础的东西都补一补,下面把面试问的问题罗列一下(共参考)。     1. 为什么用weak和assgin去修饰delegate? 用strong或者retain 为什么会引起循环引用?         (...
分类:移动开发   时间:2015-03-11 21:47:51    阅读次数:268
linux硬件驱动层
1.make menuconfigscripts/kconfig/lxdialog/menubox.o: In function `print_buttons':menubox.c:(.text+0x4b1): undefined reference to `wrefresh'collect2: l...
分类:系统相关   时间:2015-03-11 21:13:27    阅读次数:167
cocos2d-x的引用计数
直接上代码Ref::Ref(): _referenceCount(1) // when the Ref is created, the reference count of it is 1{}初始为1Ref::~Ref(){#if CC_REF_LEAK_DETECTION if (_refe...
分类:其他好文   时间:2015-03-11 21:07:40    阅读次数:168
How to Map Distinct Value Types Using Java Generics--reference
原文:http://www.codeaffine.com/2015/03/04/map-distinct-value-types-using-java-generics/Occasionally the average developer runs into a situation where he...
分类:编程语言   时间:2015-03-11 16:20:28    阅读次数:155
ios8版本地图定位注意点
学习ios地图定位我先定义一个属性:@property (weak, nonatomic) IBOutlet MKMapView *mapV;然后在项目运行时初始化该属性一些参数://设置地图控件的类型MKMapTypeStandard = 0, //默认模式 //MKMapTypeSatel...
分类:移动开发   时间:2015-03-10 18:45:06    阅读次数:207
Java关于Synchronized关键字在不同位置使用的理解
Java中的Syncronized关键字可以用来修饰同步方法:像这样synchronized void f() {/*body*/}和同步语句块:像这样synchronized(object){/*body*/}。 其中修饰同步方法可以分为修饰static方法和实例方法。 其中修饰同步语句块还可以分为修饰instance变量,Object Reference对象引用,class 字面常量。...
分类:编程语言   时间:2015-03-10 17:25:29    阅读次数:183
[C/C++]C/C++相关网站
1、http://en.cppreference.comWhat is the purpose of this site?Our goal is to provide programmers with a complete online reference for the C and C++ lan...
分类:编程语言   时间:2015-03-10 16:43:03    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!