随笔分类 -  iOS-UI

摘要:A concrete layout object that organizes items into a grid with optional header and footer views for each section. The items in the collection view flo 阅读全文
posted @ 2018-07-17 17:39 zzfx 阅读(571) 评论(0) 推荐(0) 编辑
摘要:CAEAGLLayer是CALayer的一个子类,用来显示任意的OpenGL图形。 UIView有个layer属性,可以返回它的主CALayer实例,UIView有一个layerClass方法,返回主layer所使用的类,UIView的子类,可以通过重载这个方法,来让UIView使用不同的CALay 阅读全文
posted @ 2018-07-02 19:03 zzfx 阅读(315) 评论(0) 推荐(0) 编辑
摘要:这些api包含的绘制操作都在一个图形环境中进行绘制。一个图形环境包含绘制参数和所有的绘制需要的设备特定信息,包括屏幕图形环境、offscreen 位图环境和PDF图形环境,用来在屏幕表面、一个位图或一个pdf文件中进行图形和图像绘制。在屏幕图形环境中进行的绘制限定于在一个UIView类或其子类的实例 阅读全文
posted @ 2018-07-02 18:57 zzfx 阅读(1639) 评论(0) 推荐(0) 编辑
摘要:Auto Layout压缩阻力及内容吸附讲解 本文为投稿文章,作者:梁炜V 在Auto Layout的使用中,有两个很重要的布局概念:Content Compression Resistance 和 Content Hugging,从字面的翻译我们大概可以分别翻译为:压缩阻力 以及内容吸附。但是光从 阅读全文
posted @ 2018-05-14 19:26 zzfx 阅读(247) 评论(0) 推荐(0) 编辑
摘要:offscreen-render 什么是offscreen-render?offscreen-render涉及的内容比较多,有offscreen-render那就有onscreen render,onscreen render指的是GPU在当前用于显示的屏幕缓冲区进行渲染,相反offscreen-r 阅读全文
posted @ 2018-04-19 16:13 zzfx 阅读(675) 评论(0) 推荐(0) 编辑
摘要:Core Animation 负责将bitmap绑定提交到 GPU; Core Animation一头连着CPU,一头连着GPU。 ZSTest`-[ZSDTCoreTextCell drawRect:](self=0x00007fb28b08ea00, _cmd="drawRect:", rect 阅读全文
posted @ 2018-04-17 11:43 zzfx 阅读(247) 评论(0) 推荐(0) 编辑
摘要:The Runtime Interaction Model for Views Any time a user interacts with your user interface, or any time your own code programmatically changes somethi 阅读全文
posted @ 2017-11-30 18:19 zzfx 阅读(297) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.csdn.net/wzzvictory/article/details/11180241 转载请注明出处 如果觉得文章对你有所帮助,请通过留言或关注微信公众帐号wangzzstrive来支持我,谢谢! 最近花了不少时间学习了核心动画(Core Animation), 阅读全文
posted @ 2017-04-17 15:13 zzfx 阅读(320) 评论(0) 推荐(0) 编辑
摘要:https://en.wikipedia.org/wiki/Core_Animation#cite_note-apptech-1 Core Animation provides a way for developers to produce animated user interfaces via 阅读全文
posted @ 2017-04-17 15:07 zzfx 阅读(273) 评论(0) 推荐(0) 编辑