intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 224 forks source link

Feature/custom margins #208

Closed jmjordan closed 4 years ago

jmjordan commented 4 years ago

Before you make a Pull Request, read the important guidelines:

Issue Link :link:

Goals of this PR :tada:

How Has This Been Tested :mag:

Please let us know if you have tested your PR and if we need to reproduce the issues. Also, please let us know if we need any relevant information for running the tests.

Test Configuration :space_invader:

Things to check on :dart:

Manual testing was conducted on a few example cards. I created a new example card, but did not include it in my PR. I did not use UIEdgeInsets as the custom margin in my protocol since the layout simply centers the card within the collection and does not distinguish between left and right margins.

badrinathvm commented 4 years ago

@jmjordan Can you add a example in Example project to illustrate custom margins usage ?

croossin commented 4 years ago

Thanks @jmjordan - I will merge and get a release out before the weekend! Thanks.

P.S. Feel free to mention on any other features you would like to see from CardParts.