Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
|
|
@ -0,0 +1,15 @@
|
|||
@objc(MWMUGCSelectImpressionCell)
|
||||
final class UGCSelectImpressionCell: MWMTableViewCell {
|
||||
@IBOutlet private var buttons: [UIButton]!
|
||||
private weak var delegate: MWMPlacePageButtonsProtocol?
|
||||
|
||||
@objc func configWith(delegate: MWMPlacePageButtonsProtocol?) {
|
||||
self.delegate = delegate
|
||||
}
|
||||
|
||||
@IBAction private func tap(on: UIButton) {
|
||||
buttons.forEach { $0.isSelected = false }
|
||||
on.isSelected = true
|
||||
delegate?.review(on: on.tag)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue