Skip to content

Swift card view- replication of Android Material CardView

Notifications You must be signed in to change notification settings

SanRam/SwiftCardView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Swift card view- replication of Android Material CardView

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages