数据
主要是针对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版本
网友评论