refactored naming convention
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
7fc4d1b2b2
commit
5756b299e0
@ -47,7 +47,7 @@ class ButtonCollectionViewRow {
|
||||
}
|
||||
}
|
||||
|
||||
func layout(for position: ButtonGroup.ButtonPosition, with collectionViewWidth: CGFloat){
|
||||
func layout(for position: ButtonGroup.Alignment, with collectionViewWidth: CGFloat){
|
||||
var offset = 0.0
|
||||
let height = rowHeight
|
||||
attributes.last?.spacing = 0
|
||||
@ -150,7 +150,7 @@ class ButtonGroupPositionLayout: UICollectionViewLayout {
|
||||
|
||||
// Total height of the content. Will be used to configure the scrollview content
|
||||
var layoutHeight: CGFloat = 0.0
|
||||
var position: ButtonGroup.ButtonPosition = .left
|
||||
var position: ButtonGroup.Alignment = .left
|
||||
var rowQuantity: Int = 0
|
||||
var buttonPercentage: CGFloat?
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user