ios - 过滤器在 swift 中将搜索栏添加到 Eureka 表单生成器中的 MultiplePushRow

标签 ios swift eureka-forms

我正在使用顶级表单构建器框架之一来处理 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/

相关文章:

iphone - iOS环境下的可靠时差

javascript - CSS/JS 没有在 IOS 上加载,似乎没有原因,无法复制问题

ios - swift : How to get the string before a certain character?

ios - 应用程序安装失败 应用程序没有有效签名

arrays - 如何将原生 Swift 集转换为 NSArrays?

ios - 带有错误的 Swift 3 Eureka 验证 UILabel

ios - Eureka ios 表单更改背景颜色

ios - 当推送通知到达(未收到)设备上时调用委托(delegate)

ios - Firebase + Swift 在 TableView 中删除行

ios - swift 扩展不工作