Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 MutableObservableArray 的 count 属性绑定到 UILabel,以便在 count = 0 时标签可见,但我找不到任何相关示例或信息。换句话说,我希望一个带有文本“No Contents”的标签在数组为空时可见,而在数组不为空时隐藏。