本文来源于我个人的ARC学习笔记,旨在通过简明扼要的方式总结出iOS开发中ARC(Automatic Reference Counting,自动引用计数)内存管理技术的要点,所以不会涉及全部细节。这篇文章不是一篇标准的ARC使用教程,并假定读者已经对ARC有了一定了解和使用经验。具体而详细的关于AR...
分类:
移动开发 时间:
2015-02-05 18:17:28
阅读次数:
317
最近在Linux下编程发现一个诡异的现象,就是在链接一个静态库的时候总是报错,类似下面这样的错误:(.text+0x13): undefined reference to `func'关于undefined reference这样的问题,大家其实经常会遇到。在此,我以详细示例给出常见错误的各种原因以...
分类:
系统相关 时间:
2015-02-05 17:59:35
阅读次数:
276
分辨率、DPI、PPI和屏幕尺寸分辨率DPI/PPI坑爹的屏幕尺寸Reference手机开发中不免会遇到分辨率、DPI、PPI和屏幕尺寸等术语,那就弄弄清楚这些概念的真正含义。分辨率分辨率这个词在很多地方都有,比如相机、视频、扫描仪。这里说的就是显示器的分辨率。显示器是由一个个像素点(pixel)所...
分类:
其他好文 时间:
2015-02-05 00:40:18
阅读次数:
231
这两个条款讲述了何时应该使用引用传递pass by reference,何时应该使用值传递pass by value。...
分类:
编程语言 时间:
2015-02-04 23:25:09
阅读次数:
190
include my own version for your reference. We use this one to zip up photos to download so it works with various unzip programs. It preserves the dire...
分类:
编程语言 时间:
2015-02-04 20:12:25
阅读次数:
218
UVA - 11401
Triangle Counting
Time Limit: 1000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Problem G
Triangle Counting
Input: Standa...
分类:
其他好文 时间:
2015-02-04 18:49:36
阅读次数:
176
Android自定义属性,attr format取值类型 1. reference:参考某一资源ID。 (1)属性定义: <declare-styleable name = "名称"> <attr name = "background" format = "reference" /> </declare-styleable> (2)属...
分类:
其他好文 时间:
2015-02-04 14:52:28
阅读次数:
197
1. Counting Sort doesn't work for negative number.2. Counting Sort assumes that each element is SMALL INTEGER.3. Time Complexity is O(Maximum value - ...
分类:
其他好文 时间:
2015-02-03 01:53:09
阅读次数:
130
Qt Widgets C++ ClassesThe Qt Widgets module extends Qt GUI with C++ widget functionality. More...API ReferenceThese are links to the API reference mat...
分类:
其他好文 时间:
2015-02-02 21:20:49
阅读次数:
234
Qt Core C++ ClassesProvides core non-GUI functionality. More...ReferenceThese are links to the API reference materials.C++ ClassesAnimation ClassesThr...
分类:
其他好文 时间:
2015-02-02 21:20:19
阅读次数:
348