   /// set to default texts.
   ///
   /// - Returns: An instance of TKAlertInfoView.
-  public class func newInstance() -> TKAlertInfoView {
+  @objc public class func newInstance() -> TKAlertInfoView {
     return Bundle.tripKitUI.loadNibNamed("TKAlertInfoView", owner: self, options: nil)!.first as! TKAlertInfoView
   }
   

  
  /// Asks the alert info view to show only its title, i.e., hide the instruction
  /// portion of the view.
  public func showTitleOnly() {
    guard superview != nil, isShowingFullContent else { return }
    frame.origin.y += frame.size.height - instructionLabel.frame.origin.y
    isShowingFullContent = false

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