       }
     }
   }
+
+  // Event handler
+  func tvosButtonPressed() {
+    print("tvos button pressed")
+  }
 }

      }
    }

    button.tvosButtonStateDidChangeAction = { state in
      switch state {
      case .Focused:

  override func viewDidLoad() {
    super.viewDidLoad()

    // Add target
    button.addTarget(self, action: "tvosButtonPressed", forControlEvents: .PrimaryActionTriggered)

    // Setup style
    button.tvosButtonStyleForStateAction = { state in
      switch state {
      case .Focused:
