Git Product home page Git Product logo

Comments (6)

MortimerGoro avatar MortimerGoro commented on July 25, 2024

Hi Nick,

MGSwipeTableCell creates a layer copy of the underlying cell content. I tried to transform the original layer, it worked like a charm on iOS 7, but not on iOS 6 & iOS 8, the internals of those version don't allow cell or layer transformations. So the layer copy is the safest way to go. As the original cell layer is behind the transparent swipe layer you can see the stationary copy when using [UIColor clearColor].

Just to confirm, are you trying to create fully transparent UITableView and UITableviewCells?

If thats the case I'll try to find a way to hide the original layer when UIClearColor is used. If you are trying to achieve another effect please send me a testcase or some pictures ;)

from mgswipetablecell.

nickpestov avatar nickpestov commented on July 25, 2024

Thanks, I understand. Yeah that's exactly what I was going for -- a transparent UITableViewCell.

from mgswipetablecell.

djFFFFF avatar djFFFFF commented on July 25, 2024

I encountered the same issue when trying to set swiped item's alpha to 0.3, had to give up the transparent design

from mgswipetablecell.

zzndino avatar zzndino commented on July 25, 2024

I have the same issue...

from mgswipetablecell.

zzndino avatar zzndino commented on July 25, 2024

If you cannot find a better way now, maybe you can set the transform layer swipe offset just equal the right or left items length

from mgswipetablecell.

MortimerGoro avatar MortimerGoro commented on July 25, 2024

Fixed. Now you should be able to use your transparent designs ;) Check the demo project, it has a new transparency test.

from mgswipetablecell.

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.