import PageImageScrollView
Add a custom view to the storyboard and set its class to "PageImageScrollView"
let pageScrollView = PageImageScrollView()
view.addSubView(pageScrollView)
pageScroll.pageIndicatorTintColor = UIColor.systemBlue
pageScrollView.currentPageIndicatorTintColor = UIColor.black
pageScrollView.images= [
.init(systemName: "1.circle") ?? .init(),
.init(systemName: "2.circle") ?? .init(),
.init(systemName: "3.circle") ?? .init()
]
PageImageScrollView is available througb SPM. To install it, simply add the following line to your Package.swift:
// Package.swift
dependencies: [
.package(url: "https://github.com/JiHoonAHN/PageImageScrollView", from: "0.2.0")
]
PageImageScrollView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'PageImageScrollView'
JiHoonAHN, [email protected]
PageImageScrollView is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 4 |
Last commit: 2 years ago |
UPDATE ReadMe
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics