我正在使用顶级表单构建器框架之一来处理 iOS 表单 Eureka我正在寻找 MultipleSelectorRow
控件上的过滤/搜索解决方案,目前它没有该功能。有人定制过这个插件吗?怎么办?
Import Eureka
MultipleSelectorRow<String>() {
$0.title = "Tags"
$0.selectorTitle = "Choose"
$0.options = ["Option 1", "Option 2", "Option 3", "Option 4"]
$0.tag = "strTags"
}.onPresent { from, to in
to.navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done, target: from, action: #selector(self.multipleSelectorDone(_:)))
} .cellUpdate { cell, row in
if (row.value != nil) {
cell.detailTextLabel?.text = row.value!.joined(separator: ", ")
}
}
在上述控件上查看自定义
最佳答案
https://gist.github.com/gotelgest/cf309f6e2095ff22a20b09ba5c95be36
这可能会有所帮助,因为它适用于推行。这里实现了推行搜索。在这里稍作修改就可以找到您的解决方案。
关于ios - 过滤器在 swift 中将搜索栏添加到 Eureka 表单生成器中的 MultiplePushRow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56161545/