Swiftpack.co -  iWECon/SegmentedController as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SegmentedController for SPM.
.package(url: "https://github.com/iWECon/SegmentedController.git", from: "1.2.4")


提供 SegmentedTableController 和 SegmentedCollectionController 实现了列表滚动时控制 Segmenter 的 shadow 显示隐藏的效果

如果有其他业务需求,并且无法使用这两个控制器的,可以自行实现这两个控制器中的 scrollViewDidScroll 中的代码

一般情况下,实现 SegmentedControllable 协议即可

参考 Demo 中的 ViewController.swift


Swift Package Manager

.package(url: "https://github.com/iWECon/SegmentedController", from: "1.0.0")


pod 'SegmentedController', :git => 'https://github.com/iWECon/SegmentedController'


Stars: 0
Last commit: 6 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API