Snippets Collections
  func setCardView() {
        cardView.backgroundColor = .white

        cardView.layer.cornerRadius = 10.0

        cardView.layer.shadowColor = UIColor.gray.cgColor

        cardView.layer.shadowOffset = CGSize(width: 0.0, height: 0.0)

        cardView.layer.shadowRadius = 6.0
        cardView.layer.shadowOpacity = 0.7
    }
star

Fri Dec 16 2022 12:24:19 GMT+0000 (Coordinated Universal Time)

#ios #swift #card #view #cardview

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension