【文件属性】:
文件名称:SectionIndexView:自定义用Swift编写的UITableView节索引
文件大小:190KB
文件格式:ZIP
更新时间:2021-05-27 16:13:42
uitableview index indexview sectionindexview uitableviewindex
概述
默认
风俗
图像
安装
可可豆
pod 'SectionIndexView'
迅捷软件包管理器
File> Swift Packages> Add Package Dependency https://github.com/0xcj/SectionIndexView.git
用“ 2.0.1”选择“ Up to Next Major”
手动的
将内部的快速文件拖放到您的项目中。
用法
Swift
override func viewDidLoad () {
......
let titles = [ " A " , " B " , " C " , " D " , " E " , " F " , " G " ]
let items = titles. compactMap { (title) -> SectionIndexViewItem ? in
【文件预览】:
SectionIndexView-master
----Sources()
--------SectionIndexView()
----.swiftpm()
--------xcode()
----images()
--------default.png(43KB)
--------custom.png(46KB)
--------image.png(41KB)
----Tests()
--------SectionIndexViewTests()
--------LinuxMain.swift(134B)
----LICENSE(1KB)
----SectionIndexView.podspec(1KB)
----README.md(4KB)
----Package.swift(1KB)
----.gitignore(1KB)
----SectionIndexViewDemo()
--------SectionIndexViewDemo.xcodeproj()
--------SectionIndexViewDemo()