Giter Site home page Giter Site logo

Comments (5)

apptekstudios avatar apptekstudios commented on May 19, 2024 2

I'm currently overseas but will have a look into this as soon as I can! Should be relatively straightforward to implement support via UIKit :)

from ascollectionview.

1234igor avatar 1234igor commented on May 19, 2024 1

+1

Struggling with same issue and don’t know what should I do.

from ascollectionview.

apptekstudios avatar apptekstudios commented on May 19, 2024

@alexeyprimechaev @1234igor

I've made a start by adding support for UIContextMenuConfiguration to the dev branch. See the 'magazineLayout' demo page for an example 🎉.

We could wrap it further to make a clearer struct-based API, however the UIKit method is relatively straightforward and allows for complexities such as nested menus - so I'll leave it be for now 👍

Interestingly, during my testing I found that constraints were broken even in a pure UIKit Collectionview using contextMenus (with no ASCollectionView or swiftUI involved). So sounds like there's also a UIKit bug :/ gladly it's just an annoying log message!

from ascollectionview.

apptekstudios avatar apptekstudios commented on May 19, 2024

I should also note that this seems to fix the SwiftUI bug with dynamicContent/Buttons not displaying 🎉

from ascollectionview.

alexeyprimechaev avatar alexeyprimechaev commented on May 19, 2024

Wow! I also think that it’s a great implementation as is (miles better than the SwiftUI one which has no support for sections, and nesting, and can’t properly display icons, etc.). Thanks for investing your time in it!

from ascollectionview.

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.