Git Product home page Git Product logo

Comments (3)

lexiaoyao20 avatar lexiaoyao20 commented on July 2, 2024

多谢你的关注和肯定,这个周末我去实现一下~

from fmtagsview.

lexiaoyao20 avatar lexiaoyao20 commented on July 2, 2024

@CYZZ
周末研究了一番,要去封装一套的话,其实还是要用到UICollectionView,然后还是要公开DataSource和Delegate出来,感觉就没必要去进一步封装了。
频道管理功能其实也就是用两个UICollectionView去实现的,创建UIColectionViewCell的子类来定制外观,然后拖动排序可以参考这两个库:LewReorderableLayoutLXReorderableCollectionViewFlowLayout ; Cell里面显示编辑模式样式,其实也就是显示一个删除按钮(普通状态下是隐藏的),删除时候数据项里的项也要跟着删除,然后调用UICollectionView里的方法deleteItemsAtIndexPaths: 或者reloadData方法。

from fmtagsview.

CYZZ avatar CYZZ commented on July 2, 2024

好的,非常感谢,我去研究一下看看如何实现相关的功能,如果你有比较好的demo易于拓展的话请通知我谢谢。

from fmtagsview.

Related Issues (12)

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.