项目
在 GitHub 查看 ScrollPager
aryaxt/ScrollPager
关于
A scroll pager that displays a list of tabs (segments) and manages paging between given views
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ScrollPager 
A scroll pager similar to the one in Flipboard. The control creates a tabbar given a title or an image, and has the option of connecting to a UIScrollView to automatically present given views and manage paging between these views

Usage:
Drag and drop a UIView into storyboard or xib.
OPTIONAL: If you like to use a scroll view assign the outlet to a scrollView.
Tab with text
scrollPager.addSegmentsWithTitles(["Home", "Public Feed", "Profile"])
Tab with images and views (will automatically add paging to scrollview and displays the views accordingly)
scrollPager.addSegmentsWithTitlesAndViews([
("Home", firstView),
("Public Feed", secondView),
("Profile", thirdView)
])
Tab with images
secondScrollPager.addSegmentsWithImages([
UIImage(named: "envelope")!,
UIImage(named: "home")!
])
Tab with images and views (will automatically add paging to scrollview and displays the views accordingly)
scrollPager.addSegmentsWithImagesAndViews([
(UIImage(named: "envelope")!, firstView),
(UIImage(named: "home")!, secondView),
(UIImage(named: "anotherImage")!, thirdView)
])
探索相关项目
加载中…