logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

只有20%的iOS程序员能看懂:详解intrinsicContentSize 及 约束优先级/content Hugging/content Compression Resistance

end@end//测试关闭Intrinsic的影响 @implementation IntrinsicView -(instancetype) init {//不兼容旧版Autoreizingmask,只使用AutoLayout //如果为YES,在AutoLayout中则会自动将view的frame和bounds属性转换为约束。} //当用户设置extendSize时,提示系统Intrinsic

#ios#xcode#objective-c
unsigned long与unsigned long long 在windows和linux中位数的区别

转载: https://www.cnblogs.com/wizardface/archive/2012/02/02/2335843.html最近要写一些hvm虚拟机windows调用xen中hypercall的代码,发现一个问题就是unsigned long在windows中和linux中代表的位数不同,因此想调查一下。使用测试程序:#include <stdio.h>int main

[iOS Animation]-CALayer 绘图效率

着眼于有关_绘制_的性能问题。术语_绘图_通常在 Core Animation 的上下文中指代软件绘图(意即:不由 GPU 协助的绘图)。在 iOS 中,软件绘图通常是由 Core Graphics 框架完成来完成。但是,在一些必要的情况下,相比 Core Animation 和 OpenGL,Core Graphic

#ios
到底了