TopGit theo dõi WenchaoD/FSPagerView trên GitHub trong nhóm Mobile, đã đạt 7.4k sao. FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
FSPagerView is an elegant Screen Slide Library implemented primarily with UICollectionView. It is extremely helpful for making Banner、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders.
Features
Infinite scrolling.
Automatic Sliding.
Horizontal and Vertical paging.
Fully customizable item, with predefined banner-style item.
Fully customizable page control.
Rich build-in 3D transformers.
Simple and Delightful api usage.
Support SWIFT and OBJECTIVE-C.
Demos
Demo1 - Banner
Demo2 - Transformer
Demo3 - Page Control
Demo1 - Banner
Banner
automaticSlidingInterval
The time interval of automatic sliding. 0 means disabling automatic sliding. Default is 0.
e.g.
pagerView.automaticSlidingInterval = 3.0
isInfinite
A boolean value indicates whether the pager view has infinite number of items. Default is false.
e.g.
pagerView.isInfinite = true
decelerationDistance
An unsigned integer value that determines the paging distance of the pager view, which indicates the number of passing items during the deceleration. When the value of this property is FSPagerView.automaticDistance, the actual 'distance' is automatically calculated according to the scrolling speed of the pager view. Default is 1.
e.g.
pagerView.decelerationDistance = 2
itemSize
The item size of the pager view. When the value of this property is FSPagerView.automaticSize, the items fill the entire visible area of the pager view. Default is FSPagerView.automaticSize.
Extract the zip file, simply drag folder Sources into your project.
Make sure Copy items if needed is checked.
Cocoapods
use_frameworks!
target '<Your Target Name>' do
pod 'FSPagerView'
end
Carthage
github "WenchaoD/FSPagerView"
Tutorial
Getting started
Implement FSPagerViewDataSource
Implement FSPagerViewDelegate
1. Getting started
Getting started with code
// Create a pager view
let pagerView = FSPagerView(frame: frame1)
pagerView.dataSource = self
pagerView.delegate = self
pagerView.register(FSPagerViewCell.self, forCellWithReuseIdentifier: "cell")
self.view.addSubview(pagerView)
// Create a page control
let pageControl = FSPageControl(frame: frame2)
self.view.addSubview(pageControl)
Getting started with Interface Builder
1、Simply drag UIView instance into your View Controller, Change the Custom Class to FSPagerView. (Or FSPageControl)
2、Link the dataSource and delegate property of FSPagerView to your View Controller.
3、Register a cell class.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/WenchaoD/FSPagerView là nguồn chính thức.
WenchaoD/FSPagerView có những chủ đề gì?
GitHub topics của WenchaoD/FSPagerView: "banner", "banner-slider", "banner-view", "infinite-scroll", "ios", "objective-c", "pages", "swift", "uicollectionview", "uicollectionviewlayout". TopGit xếp repo vào nhóm Mobile.
WenchaoD/FSPagerView có phải mã nguồn mở không?
Có — WenchaoD/FSPagerView phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/WenchaoD/FSPagerView.
WenchaoD/FSPagerView có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho WenchaoD/FSPagerView. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
WenchaoD/FSPagerView còn đang phát triển không?
Commit gần nhất trên WenchaoD/FSPagerView là 1.9 năm trước (theo timestamp GitHub). Repo có 1.1k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
WenchaoD/FSPagerView dùng license gì?
WenchaoD/FSPagerView phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc FSPagerView có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về FSPagerView.