美文网首页
移动客户端开发笔记3

移动客户端开发笔记3

作者: 李传格 | 来源:发表于2017-06-16 10:02 被阅读6次

    数据

    主要是针对Crash和ANR的统计。

    文章推荐

    监控先于优化。没有数据支撑的优化,往往没有说服力,也很难衡量优化的效果如何。

    大部分App或多或少都会涉及到存储(持久化或缓存)。ibireme/YYCache,支持在硬盘持久化和在内存中缓存,从功能、性能和接口易用性上都不错,目前项目中也在用,推荐。

    老文章了,视图布局机制在iOS、Android、Html CSS是相通的,可以互相借鉴。youngsoft/MyLinearLayout实现很多布局机制。

    MyLinearLayout is equivalent to: UIStackView of iOS and LinearLayout of Android.

    MyRelativeLayout is equivalent to: AutoLayout of iOS and RelativeLayout of Android.

    MyFrameLayout is equivalent to: FrameLayout of Android.

    MyTableLayout is equivalent to: TableLayout of Android and table of HTML.

    MyFlowLayout is equivalent to: flexbox of CSS3.

    MyFloatLayout is equivalent to: float of CSS.

    借鉴Android的LinearLayout以及Html CSS的FlexBox,自己写了FMLayouts,对iOS的布局机制做补充。

    Android

    项目

    SnapKit/Masonry的Swift版本

    相关文章

      网友评论

          本文标题:移动客户端开发笔记3

          本文链接:https://www.haomeiwen.com/subject/rxmpqxtx.html