OMeetingPersonActionCell.swift 598 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // OMeetingPersonActionCell.swift
  3. // o2app
  4. //
  5. // Created by 刘振兴 on 2018/1/31.
  6. // Copyright © 2018年 zone. All rights reserved.
  7. //
  8. import UIKit
  9. protocol OOMeetingPersonActionCellDelegate {
  10. func addPersonActionClick(_ sender:UIButton)
  11. }
  12. class OOMeetingPersonActionCell: UICollectionViewCell {
  13. var delegate:OOMeetingPersonActionCellDelegate?
  14. override func awakeFromNib() {
  15. super.awakeFromNib()
  16. // Initialization code
  17. }
  18. @IBAction func addPersonAction(_ sender: UIButton) {
  19. delegate?.addPersonActionClick(sender)
  20. }
  21. }