【文件属性】:
文件名称:SpotlightSearch:用SwiftUI和Combine编写的Spotlight搜索UI
文件大小:2.54MB
文件格式:ZIP
更新时间:2021-03-10 12:19:31
Swift
热点搜索
使用SwiftUI和Combine编写的Spotlight搜索UI。
SpotlightSearch旨在提供macOS Spotlight搜索UI / UX及更高版本。
屏幕截图
YouTube视频网址链接,了解其在黑暗模式下的工作方式:
YouTube视频URL链接,以了解其在正常模式下的工作方式:
乍看上去
// MARK: - Body
var body: some View {
SpotlightSearch (
isSearching :$isSearching,
didChangeSearchText : { self . viewModel . searchText = $0 },
didTapSearchItem : { self . viewModel . searchText = $0 }) {