TabView with a mask! 🎭
Add the following to Package.swift
:
.package(url: "https://github.com/stateman92/MaskedTabView", exact: .init(0, 0, 2))
MaskedTabView(offset: $viewModel.offset, index: $viewModel.index, overlayColor: .red, bounces: bounces, tabs: tabs, tabView: tabView, content: content)
For this you should use a PagingTabViewViewModel
from this package.
For details see the Example app.
link |
Stars: 1 |
Last commit: 6 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics