optonaut/ActiveLabel.swift

Unable to initialize label: Thread 1: EXC_BAD_ACCESS (code=2, address=0x283e60ec0)

abeticlairon opened this issue · 1 comments

I am unable to initialize the active label within a table view cell. I get the error Thread 1: EXC_BAD_ACCESS (code=2, address=0x283e60ec0) at commentLabel.enabledTypes = [.mention] when attempting to run the app. How could I fix this? The label is an IBOutlet @IBOutlet weak var commentLabel: ActiveLabel!

Fixed it by setting the UILabel as ActiveLabel in the interface builder