Code Monkey home page Code Monkey logo

Comments (3)

czl0325 avatar czl0325 commented on May 18, 2024

UICollectionView+ARDynamicHeightLayoutCell 这个不是我写的,是用github别人开源的第三方库,当然你也可以不用他,还有其他更好的方法也可以

from zlcollectionview.

ke112 avatar ke112 commented on May 18, 2024

感谢回复,你好,如果不用那个库 ,对于使用瀑布流的时候 ClosedLayout,怎么高度自适应?
sizeForItemAtIndexPath这个方法 怎么返回 ? 我不想根据 数据算 在model里写一个cellHeight的属性,我也想根据设置的约束,自动布局,您这个库 支持吗?

from zlcollectionview.

czl0325 avatar czl0325 commented on May 18, 2024

你尝试下uicollectionviewcell的自动高度试试。我也没尝试过。你看看普通的uicollectionviewflowlayout是怎么实现自动高度的,那我的也是一样的方法

from zlcollectionview.

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.