 
         do {
             let avatarItem = UIBarButtonItem(customView: avatarImageView)
+            avatarItem.target = self
+            avatarItem.action = #selector(GeniusInterviewActionView.tapAvatar(_:))
 
             let gap1Item = UIBarButtonItem(barButtonSystemItem: .FlexibleSpace, target: nil, action: nil)
 

        }
    }

    @objc private func sayHi(sender: UIButton) {
        println("Say Hi")
    }

import Ruler

class GeniusInterviewActionView: UIView {

    var tapAvatarAction: (() -> Void)?

    lazy var toolbar = UIToolbar()

