Skip to content

Card components for iOS with shadows and rounded corners

License

Notifications You must be signed in to change notification settings

programmarchy/CardComponents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Card Components

Render card components for iOS with shadows and rounded corners.

CardView

Render rounded corners and shadows with a single UIView.

CompositeCardView

Also need to clip content inside a card?

Use a composite card view to render unclipped shadows in a container card view, and render rounded corners in a content view that clips inner content.

PartialCardView

Only need to render the top, bottom, or side edges of a card?

Use a partial card view with drawing modes to render top, center, bottom, or all effects.

PartialCardImage

Similar to PartialCardView, instead of rendering effects dynamically with CALayer, the effects can be rendered into a static, resizable UIImage. This can speed up rendering, and affords the flexibility of rendering cards into a UIImageView.

CardTableViewController

Render grouped UITableView sections using PartialCardImage under the hood to draw cell background views.

About

Card components for iOS with shadows and rounded corners

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages