         }
     }
 
+    @objc private func tapAvatar(sender: UIBarButtonItem) {
+        println("tapAvatar")
+        tapAvatarAction?()
+    }
+
     @objc private func sayHi(sender: UIButton) {
         println("Say Hi")
     }


        do {
            let avatarItem = UIBarButtonItem(customView: avatarImageView)

            let gap1Item = UIBarButtonItem(barButtonSystemItem: .FlexibleSpace, target: nil, action: nil)


import Ruler

class GeniusInterviewActionView: UIView {

    var tapAvatarAction: (() -> Void)?

    lazy var toolbar = UIToolbar()

