leejayid / linkage Goto Github PK
View Code? Open in Web Editor NEW【Objective-C 联动】:两个 TableView 之间的联动,TableView 与 CollectionView 之间的联动
License: MIT License
【Objective-C 联动】:两个 TableView 之间的联动,TableView 与 CollectionView 之间的联动
License: MIT License
tableview的这个方法 [_leftTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:_selectIndex inSection:0]
atScrollPosition:UITableViewScrollPositionTop
animated:YES];
和你实现的 [self scrollToTopOfSection:_selectIndex animated:YES];
tableView联动页面,当第一次点击左侧tableView最后一个cell的时候,右侧tableView联动位置不对;我的运行环境是xcode 9.1,iPhone 8 模拟器,真机也是这种效果
滑动到最底下时崩溃,
[self.tableView selectRowAtIndexPath:[NSIndexPath indexPathForRow:index inSection:0] animated:YES scrollPosition:UITableViewScrollPositionMiddle];
UITableViewScrollPositionMiddle。< CollectionViewController.m - 157行>点击左侧tableView滚动top改为了居中。
问题如标题 好像都没有维护了是吗
可以加一个头部吗 类似于饿了吗 滑动右边tableView 头部跟着上滑
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.