Git Product home page Git Product logo

Comments (5)

LvJianfeng avatar LvJianfeng commented on August 17, 2024

@LinXunFeng 你是不是弄错地方了,这不是SKPhotoBrowser的仓库哈 😂😂

from llcyclescrollview.

LvJianfeng avatar LvJianfeng commented on August 17, 2024

@LinXunFeng 如果你用到了

       // Demo--延时加载数据
        let bannerDemo1 = LLCycleScrollView.llCycleScrollViewWithFrame(CGRect.init(x: 0, y: 0, width: w, height: 200))
        scrollView.addSubview(bannerDemo1)
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(2)) {
            bannerDemo1.imagePaths = imagesURLStrings
        }

没有数据就不用给imagePaths数据,默认是空数据不是nil

from llcyclescrollview.

LinXunFeng avatar LinXunFeng commented on August 17, 2024

这个崩溃搞错了,不好意思,哈哈。
还有就是那个没有设置 imagePaths 的时候是否是可以设置为不可点击?

from llcyclescrollview.

LvJianfeng avatar LvJianfeng commented on August 17, 2024

@LinXunFeng 应该不会出现崩溃呀,这个我后面控制下点击逻辑哈
如果急用,你可以先控制点击回调里,如果

imagePaths.count == 0 && index == 0 { return }

具体看你实现的是block回调还是协议回调

from llcyclescrollview.

LinXunFeng avatar LinXunFeng commented on August 17, 2024

好的,十分感谢

from llcyclescrollview.

Related Issues (20)

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.