TangramKit is a powerful iOS UI framework implemented by Swift. It integrates the functions with Android layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICollectionView
功能需求
需求描述: |[边距] 【视图A】[边距] 【视图B】[边距] | 需求3个边距需要按父视图宽度进行均分
目前替代实现方法: 1.必须知道视图A,B的宽度。 2.计算实际应该显示的边距宽度。 3.设置
tg_leftPadding
和tg_rightPadding
(其中space会自动浮动间距)