ScrollingCardView
ScrollingCardView copied to clipboard
A card view widget for iOS that will grow with its content, enabling scrolling when the content is larger than the view.
As of January 1 2019, Mozilla requires that all GitHub projects include this [CODE_OF_CONDUCT.md](https://github.com/mozilla/repo-templates/blob/master/templates/CODE_OF_CONDUCT.md) file in the project root. The file has two parts: 1. Required Text - All text...
e.g. https://cocoapods.org/pods/BNRDeferred For some reason, our link, https://cocoapods.org/pods/ScrollingCardView, redirects to github.
Right now, it can be unclear a view is scrollable. We should consider adding a fade to the content to show that it is scrollable. That being said, we could...
Right now, you have to set a view = contentView, then constrain a view with margins to that other view. Not great for common functionality.
In the code, we ensure the contentView & its subviews have their autoresize masks disabled to enable constraints – we should ensure this is actually an okay thing to do.
Specifically: * The contentview changes size when the content changes size (currently in the Example) * Modifying the contentView after the initial set will change the size appropriately
We do require a constraint based layout – I just haven't looked into the reason this property exists and what the side effects of using it are.
We display a 1pt cardView (or something) when the contentView isn't set (I think) but we should more explicit because this is probably not what the user intended to do.