Comments (8)
第二个Bug是滑动到最后一个快速滑多一下会闪一下,这样操作会导致最后回调时progress会变一下0,所以先变一下灰色,再变黄色,我这边直接用progress做判断就没问题了
if progress == 0 {
progress = 1
targetIndex = sourceIndex
}
from douyuzb.
第一个bug只需要把改变颜色的顺序变一下就好了
from douyuzb.
谢谢哈
第一个Bug已经修复了,我当时忘记做一个判断了,后面视频中我会讲到。
第二个Bug目前没有测试出来,测试出来我会及时修复。
很细心👍
from douyuzb.
第二个问题这样测:中间的collectionView(pagecontentview)不是有四个控制器嘛,从第二个控制器向左连续快速滑动到第四个控制器(只有连续快速滑动才会出现),会发现第四个titleLabel的textcolor是灰色的,本应该是橘色的。
from douyuzb.
老师接下来会用 Xcode8并结合 Swift3讲课吗?
from douyuzb.
来到,点赞~~~
from douyuzb.
讲得非常好 受益匪浅 谢谢老师的无私奉献 👍
from douyuzb.
今天刚操作到这里, 第一个bug 我是在点击 titlelabel 时做了一个判断, 如果是重复点击, 则不进行切换操作, 就没问题了.
from douyuzb.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from douyuzb.