Skip to content

Shadows #7

@ueen

Description

@ueen

hey, could the temporary view also have the shadow of the actual view or how to do that?

i have this code for each element in the SQReorderableStackView (which is inside a Cell), because otherwise the TablevVew would lag terribly

self.layer.shadowPath = UIBezierPath(roundedRect:self.bounds, cornerRadius: self.layer.cornerRadius).cgPath
self.layer.shouldRasterize = true
self.layer.rasterizationScale = UIScreen.main.scale

Otherwise really love this library, soo easy!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions