【文件属性】:
文件名称:SwiftlySearch:SwiftUI的小型轻量级UISearchController包装器
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-07 19:50:00
swift swift-library ios combine ios-library
快速搜索
SwiftUI的小型轻量级UISearchController包装器
安装
手动的:
更新您的Package.swift文件:
let package = Package (
... ,
dependencies : [
. package (
url : " https://github.com/thislooksfun/SwiftlySearch.git " ,
from : " 1.0.0 " ),
...
],
...
)
在Xcode中:
转到文件> Swift程序包>添加程序包依赖...
输入https://github.com/thislooksfun/SwiftlySearch作为URL
选择所需的版本约束
点击下一步
点击完成
用法
import SwiftlySearch
struct MRE
【文件预览】:
SwiftlySearch-master
----.gitignore(53B)
----Sources()
--------SwiftlySearch()
----SECURITY.md(253B)
----LICENSE(1KB)
----.github()
--------ISSUE_TEMPLATE()
--------FUNDING.yml(147B)
--------workflows()
----README.md(2KB)
----Package.swift(486B)
----Tests()
--------TestApp()
--------UITests()
--------UnitTests()
----project.yml(1KB)