I created two buttons in LiduidFloatingActionButton with the following code.
private func createFloatingButtons(){ cells.append(createButtonCell("firstCell")) cells.append(createButtonCell("secondCell")) let floatingFrame = CGRect(x: self.view.frame.width - 56 - 16, y: self.view.frame.height - 56 - 36, width: 56, height: 56) let floatingButton = createButton(floatingFrame, style:.Up) self.view.addSubview(floatingButton) self.floatingActionButton = floatingButton }
I do not know to add an action to each LiquidFloatingActionButton cell, as well as to display the cell name. Please help me if anyone finds out about this.
source share