Ramotion / folding-cell

:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion

Home Page:https://www.ramotion.com/folding-cell/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can you fix the convoluted element names in the Tutorial Please

chadbrochill317 opened this issue · comments

Hello,
I appreciate the open source UI the Ramotion team gives to the world, and thank you for it!
I have been using them for a while.
But just for future reference, don't have us use this struct:
fileprivate struct C {
struct CellHeight {
static let close: CGFloat = *** // equal or greater foregroundView height
static let open: CGFloat = *** // equal or greater containerView height
}
}

When you have:
Const.closeCellHeight
as the naming convention.

Or maybe I am using this library completely wrong?