     }
 }
 
-
-extension UILabel {
-    
-    func setLineSpacing(lineSpacing: CGFloat = 0.0, lineHeightMultiple: CGFloat = 0.65, alignment : NSTextAlignment = .center) {
-        
-        guard let labelText = self.text else { return }
-        
-        let paragraphStyle = NSMutableParagraphStyle()
-        paragraphStyle.lineSpacing = lineSpacing
-        paragraphStyle.lineHeightMultiple = lineHeightMultiple
-        paragraphStyle.alignment = alignment
-        
-        let attributedString:NSMutableAttributedString
-        //        if let labelattributedText = self.attributedText {
-        //            attributedString = NSMutableAttributedString(attributedString: labelattributedText)
-        //        } else {
-        attributedString = NSMutableAttributedString(string: labelText)
-        //  }
-        
-        // Line spacing attribute
-        attributedString.addAttribute(NSAttributedString.Key.paragraphStyle, value:paragraphStyle, range:NSMakeRange(0, attributedString.length))
-        
-        self.attributedText = attributedString
-    }
-    
-    func attributedSizedText(withString string: String, SizedString: String, font: UIFont, size:CGFloat) -> NSAttributedString {
-        let attributedString = NSMutableAttributedString(string: string,
-                                                         attributes: [NSAttributedString.Key.font: font])
-        let boldFontAttribute: [NSAttributedString.Key: Any] = [NSAttributedString.Key.font: font.withSize(size)]
-        let range = (string as NSString).range(of: SizedString)
-        attributedString.addAttributes(boldFontAttribute, range: range)
-        return attributedString
-    }
-    
-}

        messageLabel.numberOfLines = 0;
        messageLabel.textAlignment = .left
        messageLabel.text = message
        setLineSpacing(textLabel: messageLabel, alignment:.left )
        contentView.addSubview(messageLabel)
        
        let actionButton = UIButton()

            self.addGestureRecognizer(gesture)
        }
    }
}

// MARK: - Actions
