Git Product home page Git Product logo

Comments (8)

ac1217 avatar ac1217 commented on July 18, 2024 2

第二个Bug是滑动到最后一个快速滑多一下会闪一下,这样操作会导致最后回调时progress会变一下0,所以先变一下灰色,再变黄色,我这边直接用progress做判断就没问题了

if progress == 0 {
progress = 1
targetIndex = sourceIndex
}

from douyuzb.

ichenwanbing avatar ichenwanbing commented on July 18, 2024 1

第一个bug只需要把改变颜色的顺序变一下就好了

from douyuzb.

coderwhy avatar coderwhy commented on July 18, 2024

谢谢哈
第一个Bug已经修复了,我当时忘记做一个判断了,后面视频中我会讲到。
第二个Bug目前没有测试出来,测试出来我会及时修复。
很细心👍

from douyuzb.

CoderTanX avatar CoderTanX commented on July 18, 2024

第二个问题这样测:中间的collectionView(pagecontentview)不是有四个控制器嘛,从第二个控制器向左连续快速滑动到第四个控制器(只有连续快速滑动才会出现),会发现第四个titleLabel的textcolor是灰色的,本应该是橘色的。

from douyuzb.

dvxiaofan avatar dvxiaofan commented on July 18, 2024

老师接下来会用 Xcode8并结合 Swift3讲课吗?

from douyuzb.

zhao95 avatar zhao95 commented on July 18, 2024

来到,点赞~~~

from douyuzb.

ptlCoder avatar ptlCoder commented on July 18, 2024

讲得非常好 受益匪浅 谢谢老师的无私奉献 👍

from douyuzb.

dvxiaofan avatar dvxiaofan commented on July 18, 2024

今天刚操作到这里, 第一个bug 我是在点击 titlelabel 时做了一个判断, 如果是重复点击, 则不进行切换操作, 就没问题了.

from douyuzb.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.