string.urlEncodedextension String {
var urlEncoded: String? {
return self.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)class BaseTableViewCell: UITableViewCell {
override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
setupViews()
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")