We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我实现这样一个功能:相对布局下,子视图宽度==子视图高度==min(父视图高度,父视图宽度) 可以对数组扩展出一个tg_min的方法,view.tg_width.equal([a.tg_width, b.tg_height, c.tg_width].tg_min),这样的结果就是view的宽度等于a.tg_width, b.tg_height, c.tg_width中的最小值。 非常感谢!!!
The text was updated successfully, but these errors were encountered:
此功能已经在OC版本MyLayout1.9.0中实现,正在进行测试中,不久将会在下一个swift版本同步更新
Sorry, something went wrong.
No branches or pull requests
我实现这样一个功能:相对布局下,子视图宽度==子视图高度==min(父视图高度,父视图宽度)
可以对数组扩展出一个tg_min的方法,view.tg_width.equal([a.tg_width, b.tg_height, c.tg_width].tg_min),这样的结果就是view的宽度等于a.tg_width, b.tg_height, c.tg_width中的最小值。
非常感谢!!!
The text was updated successfully, but these errors were encountered: