Closed araceliriesgo closed 3 years ago
Hi, I have a problem and I don't know what to do here /// import UIKit import TagListView
class ShareYourInterestViewController: BaseViewController, TagListViewDelegate { @IBOutlet weak var tagListView: TagListView! override func viewDidLoad() { super.viewDidLoad() tagListView.delegate = self // Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8082ac98) tagListView.addTags(["Music", "Bar", "Drink", "Night", "Food","Music", "Bar", "Drink", "Night", "Food","Music", "Bar", "Drink", "Night", "Food",])
} // MARK: TagListViewDelegate func tagPressed(_ title: String, tagView: TagView, sender: TagListView) { print("Tag pressed: \(title), \(sender)") tagView.isSelected = !tagView.isSelected } func tagRemoveButtonPressed(_ title: String, tagView: TagView, sender: TagListView) { print("Tag Remove pressed: \(title), \(sender)") sender.removeTagView(tagView) }
}
Hi, I have a problem and I don't know what to do here /// import UIKit import TagListView
class ShareYourInterestViewController: BaseViewController, TagListViewDelegate { @IBOutlet weak var tagListView: TagListView! override func viewDidLoad() { super.viewDidLoad() tagListView.delegate = self // Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8082ac98) tagListView.addTags(["Music", "Bar", "Drink", "Night", "Food","Music", "Bar", "Drink", "Night", "Food","Music", "Bar", "Drink", "Night", "Food",])
}