UIViewChildren

constructor(container: UIView, insert: (Widget<UIView>, UIView, Modifier, Int) -> Unit = when (container) { is UIStackView -> { _, view, _, index -> container.insertArrangedSubview(view, index.convert()) } else -> { _, view, _, index -> container.insertSubview(view, index.convert<NSInteger>()) } }, remove: (index: Int, count: Int) -> Array<UIView> = when (container) { is UIStackView -> { index, count -> container.typedArrangedSubviews.remove(index, count) } else -> { index, count -> container.typedSubviews.remove(index, count) } }, updateModifier: (Modifier, Int) -> Unit = { _, _ -> }, invalidateSize: () -> Unit = { (container.superview ?: container).setNeedsLayout() })