     
     lazy var publishButton: UIBarButtonItem = {
         let button = UIBarButtonItem(title: CommonStrings.publishTitle, style: .done, target: self, action: #selector(tappedPublish))
+        button.isEnabled = false
         return button
     }()
     

         }

         bodyPlaceholderLabel.isHidden = bodyTextView.text.count == 0 ? false : true
     }
}

            }
        })
    }
    
    @objc private func titleTextFieldChanged() {
        evaluatePublishButtonEnabledState()
    }
    
    private func evaluatePublishButtonEnabledState() {
        publishButton.isEnabled = !(titleTextField.text ?? "").isEmpty && !bodyTextView.text.isEmpty
    }
}

extension TalkPageTopicComposeViewController: UITextViewDelegate {
