All Projects → gltwy → Ltscrollview

gltwy / Ltscrollview

Licence: mit
ScrollView嵌套ScrolloView(UITableView 、UICollectionView)解决方案, 支持OC / Swift(持续更新中...)实现原理:http://blog.csdn.net/glt_code/article/details/78576628

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Ltscrollview

Androidfastscroll
Fast scroll for Android RecyclerView and more
Stars: ✭ 316 (-64.77%)
Mutual labels:  scrollview
Minimap.vim
📡 Blazing fast minimap / scrollbar for vim, powered by code-minimap written in Rust.
Stars: ✭ 404 (-54.96%)
Mutual labels:  scrollview
React Native Sortable List
React Native Sortable List component
Stars: ✭ 678 (-24.41%)
Mutual labels:  scrollview
Fancyscrollview
A SwiftUI ScrollView Designed to imitate the App Store and Apple Music ScrollViews (with or without a Parallax Header)
Stars: ✭ 330 (-63.21%)
Mutual labels:  scrollview
Tlyshynavbar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
Stars: ✭ 3,780 (+321.4%)
Mutual labels:  scrollview
Jt3dscrollview
ScrollView with custom effects during the scroll for iOS
Stars: ✭ 494 (-44.93%)
Mutual labels:  scrollview
Azexpandableiconlistview
An expandable/collapsible view component written in Swift.
Stars: ✭ 284 (-68.34%)
Mutual labels:  scrollview
Parallaxheader
Simple way to add parallax header to UIScrollView/UITableView written in Swift.
Stars: ✭ 808 (-9.92%)
Mutual labels:  scrollview
Sppagemenu
分页菜单,功能非常齐全,满足绝大多数APP,简书地址:
Stars: ✭ 402 (-55.18%)
Mutual labels:  scrollview
Jxcategoryview
A powerful and easy to use category view (segmentedcontrol, segmentview, pagingview, pagerview, pagecontrol) (腾讯新闻、今日头条、QQ音乐、网易云音乐、京东、爱奇艺、腾讯视频、淘宝、天猫、简书、微博等所有主流APP分类切换滚动视图)
Stars: ✭ 5,561 (+519.96%)
Mutual labels:  scrollview
Hhhorizontalpagingview
HHHorizontalPagingView是一个实现上下滚动时菜单悬停在顶端,并且可以左右滑动切换的视图
Stars: ✭ 348 (-61.2%)
Mutual labels:  scrollview
Jxpagelistview
高仿闲鱼、转转、京东、中央天气预报等主流APP列表底部分页滚动视图
Stars: ✭ 377 (-57.97%)
Mutual labels:  scrollview
Yjbannerview
【抱歉,暂时不提供开源】A very popular and highly customized banner view, 无限循环滚动轮播图BannerView、焦点图, 支持Cocoapods 及 Carthage. 支持完全自定义
Stars: ✭ 506 (-43.59%)
Mutual labels:  scrollview
React Native Input Scroll View
Perfect TextInput ScrollView
Stars: ✭ 323 (-63.99%)
Mutual labels:  scrollview
Tysnapshotscroll
一句代码保存截图,将 UIScrollView UITableView UICollectionView UIWebView WKWebView 网页 保存 为 长图 查看。Save the scroll view page as an image,support UIScrollView,UITableView,UICollectionView,UIWebView,WKWebView.(Support iOS13)
Stars: ✭ 709 (-20.96%)
Mutual labels:  scrollview
Knphotobrowser
📷 图片 || 视频 浏览器(本地和网络) , UIViewController + CollectionView , 完美适配 iPhone 以及 iPad ,屏幕旋转功能 , 适配SDWebImage 5.0
Stars: ✭ 296 (-67%)
Mutual labels:  scrollview
Immersivedetailsample
A sample application show how to realize immersive parallax effect header like Google Play Store
Stars: ✭ 457 (-49.05%)
Mutual labels:  scrollview
Swipemenu
[DEPRECATED] A swipe menu for horizontal/vertical, support left/right and top/bottom directions
Stars: ✭ 817 (-8.92%)
Mutual labels:  scrollview
Txscrolllabelview
🌭TXScrollLabelView, the best way to show & display information such as adverts / boardcast / onsale e.g. with a customView.
Stars: ✭ 714 (-20.4%)
Mutual labels:  scrollview
Hvscrollview
这不是框架,只是3个示例程序,给大家提供一个实现这种布局的思路
Stars: ✭ 584 (-34.89%)
Mutual labels:  scrollview

LTScrollView

实现原理: http://blog.csdn.net/glt_code/article/details/78576628

CI Status Version License Platform

image

Demo文件路径以及说明

  • LTScrollView / Example : 为 Swift 使用示例.
  • LTScrollView / OCExample : 为 OC 使用示例.
  • 支持的子View为UIScrollView、UICollectionView、UITableView.

CocoaPods安装

安装CocoaPods 使用以下命令:

$ gem install cocoapods

Podfile

在你的 Podfile中添加LTScrollView

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'TargetName' do
#注意此处需要添加use_frameworks!
use_frameworks!

pod 'LTScrollView', '~> 0.2.0'
end

然后,使用以下命令安装

$ pod install

提示错误 [!] Unable to find a specification for LTScrollView 解决办法:

$ pod repo remove master
$ pod setup

Swift使用说明

Swift.LTSimple使用说明

  1. 创建LTSimpleManager实例对象
@objc public init(frame: CGRect, viewControllers: [UIViewController], titles: [String], currentViewController:UIViewController, layout: LTLayout)
  1. 设置headerView
@objc public func configHeaderView(_ handle: (() -> UIView?)?)
  1. 子控制器中glt_scrollView进行赋值
self.glt_scrollView = self.tableView(self.scrollView / self.collectionView)
  1. 更多使用说明请参考Demo(LTScrollView / Example)

Swift.LTAdvanced使用说明

  1. 创建LTAdvancedManager实例对象、并设置headerView
@objc public init(frame: CGRect, viewControllers: [UIViewController], titles: [String], currentViewController:UIViewController, layout: LTLayout, headerViewHandle handle: () -> UIView)
  1. 子控制器中glt_scrollView进行赋值
self.glt_scrollView = self.tableView(self.scrollView / self.collectionView)
  1. 更多使用说明请参考Demo(LTScrollView / Example)

OC使用说明

OC.LTSimple使用说明

  1. 创建LTSimpleManager实例对象
[[LTSimpleManager alloc] initWithFrame:frame viewControllers:self.viewControllers titles:self.titles currentViewController:self layout:self.layout]
  1. 设置headerView
[self.managerView configHeaderView:^UIView * _Nullable{ }]
  1. 子控制器中glt_scrollView进行赋值
self.glt_scrollView = self.tableView(self.scrollView / self.collectionView)
  1. 更多使用说明请参考Demo(LTScrollView / OCExample)

OC.LTAdvanced使用说明

  1. 创建LTAdvancedManager实例对象、并设置headerView
 [[LTAdvancedManager alloc] initWithFrame:frame viewControllers:self.viewControllers titles:self.titles currentViewController:self layout:self.layout headerViewHandle:^UIView * _Nonnull{}]
  1. 子控制器中glt_scrollView进行赋值
self.glt_scrollView = self.tableView(self.scrollView / self.collectionView)
  1. 更多使用说明请参考Demo(LTScrollView / OCExample)

LTLayout属性说明

详情查看LTLayout.swift

更新说明

2020.08.22 - 0.3.0

1. 兼容Swift5
2. 新增自定义标题功能, 任意样式随你设置
3. 修复子控制器不释放Bug
4. 优化内部实现、修复已知问题、性能更佳

目前仅优化了除LTAdvancedManager以外的其他功能,LTAdvancedManager近期优化!

2018.09.16 - 0.2.0

新增自定义选项卡

2018.09.02 - 0.1.9

1. 修修复LTAdvancedManager子控制为CollectionView时的Bug
2. 解决issue中的部分问题

2018.07.29 - 0.1.8

1. 新增LTLayout中关闭左右滑动的属性isScrollEnabled
2. 修复LTAdvancedManager数据较少时切换Bug
3. 解决issue中的部分问题

2018.06.30 - 0.1.7

1. 修复LTAdvancedManager数据较少时,其他子控制器自动下落Bug
2. 解决issue中的部分问题
3. 优化内部实现

Author

License

LTScrollView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].