   
   
   /// Toggles the alert info view betwen showing title only or full content.
-  public func toggle() {
+  @objc public func toggle() {
     isShowingFullContent ? showTitleOnly() : showFullContent()
   }
   

  /// `title` and `text` properties will be used by the titleLabel and
  /// instructionLabel respectively.
  ///
  public var alert: TKAlertModel? {
    didSet {
      guard let alert = alert else { return }
      titleLabel.text = alert.title

  ///
  /// - Parameter alert: An alert instance used to configure title and instruction labels.
  /// - Returns: An instance of TKAlertInfoView
  @objc public class func newInstance(with alert: TKAlertModel) -> TKAlertInfoView {
    let view = newInstance()
    view.alert = alert
    return view
