将Texure Type设置为Advanced时纹理的格式列表格式详解Automatic
Compressed压缩RGB纹理,默认选项,常用的漫反射纹理格式。4位/像素(32KB, 256x256)RGB Compressed
DXT1压缩的RGB纹理。常用的漫反射纹理格式。4位/像素(32KB, ...
分类:
其他好文 时间:
2014-05-12 12:24:58
阅读次数:
352
You should initialize most fields normally, not
lazily. If you must initialize a field lazily in order to achieve your
performance goals, or to break ...
分类:
编程语言 时间:
2014-05-09 18:32:56
阅读次数:
497
一 、报错Dynamic Performance Tables not
accessible,Automatic Statistics disabled for this sessionYou can disable
statistics in the preference menu, or obt...
分类:
数据库 时间:
2014-05-09 16:39:54
阅读次数:
467
一、 基本简介ARC是自iOS 5/Mac OS X
10.7之后增加的新特性,消除了原先手动管理内存的烦琐,编译器会自动在适当的地方插入适当的retain、release、autorelease语句。你不再需要担心内存管理,因为编译器为你处理了一切ARC
是编译器特性,而不是 iOS 运行时特性,...
分类:
其他好文 时间:
2014-05-09 15:28:11
阅读次数:
367
一、问题
用XCODE5新建工程,COPY老工程代码,编译出现以下错误:
ARC forbids explicit message send of 'release'
二、解决
工程-->"Build Settings"-->找到Objective-C Automatic Reference Counting项-->将它的值设置为NO。
再次编...
分类:
其他好文 时间:
2014-05-09 06:23:39
阅读次数:
285
Why need initialization and cleanup?A large
segment of C bugs occur when the programmer forgets to initialize or clean up a
variable.The class designe...
分类:
编程语言 时间:
2014-05-08 19:13:20
阅读次数:
326
安装GI时出现错误 [INS-20802] Automatic storage Management Configuration Failed....
分类:
其他好文 时间:
2014-05-06 22:45:34
阅读次数:
379
首先,我先说说怎样自定义导航控制器。
1.自定义导航控制器需要新建一个类继承UINavigationController。如图:
2.在initialize方法中,自定义一些属于自己的navigationBar的一些东西。比如:颜色,文字,适配IOS7等等...
/**
* 初始化(每一个类只会调用一次)
*/
+ (void)initialize
{
[UIColor...
分类:
其他好文 时间:
2014-05-06 22:32:33
阅读次数:
356
今天看到initialize这个有些疑惑,这个不夜是初始化么,但是基本上很少用到,作为NSObject的一个方法,具体有什么用呢我先说说通过其他博文总结的一个结果吧initialize这个应该是在该类调用第一方法之前调用的方法,且只调用一次,但是子类会触发继续调用,相当于一个类调用一次。比较奇特不是...
分类:
其他好文 时间:
2014-05-06 08:59:55
阅读次数:
315
Problem I
Automatic Poetry
Input: standard input
Output: standard output
Time Limit: 2 seconds
Memory Limit: 32 MB
“Oh God”, Lara Croft exclaims, “it’s one of these dumb rid...
分类:
其他好文 时间:
2014-05-02 22:51:52
阅读次数:
352