 
     private func handleGesture(for detectorType: DetectorType, text: NSAttributedString) {
 
-        print("Detector routing")
         switch detectorType {
         case .address:
             handleAddress(address: text)

    }

    func handleGesture(_ gesture: UIGestureRecognizer) {

        print("Handling gesture")

        let touchLocation = gesture.location(ofTouch: 0, in: self)
        guard let index = stringIndex(at: touchLocation) else { return }


    private func setupGestureRecognizers() {

        let tapGesture = UITapGestureRecognizer(target: self, action: #selector(handleGesture(_:)))
        addGestureRecognizer(tapGesture)
        tapGesture.delegate = self
