Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 499 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 499 Bytes

SwiftCardView

Another working swift card view available in the wild.

How to use: yourCard = CardView(width: 200)

add uiview to card:

 let headerField = UILabel()
 headerField.text = "To access site features"
 headerField.textAlignment = .center
 headerField.sizeToFit() // make sure you call this to calculate uilabel height.
 yourCard.addArrangedSubview(headerField)

image

Licence: Free to all.