Closed surani444 closed 6 years ago
Glad you find it useful!
Did you change the label custom class to MarqueeLabel in Storyboards? This crash typically happens when the object you're referencing as a MarqueeLabel is still the default UILabel, which doesn't have the .speed
variable. See the info in the read me here: https://github.com/cbpowell/MarqueeLabel/blob/master/README.mdown#storyboards
Let me know if this fixes your issue! If not, could you please post your crash log?
Going to assume you got this figured out - please reply back if not!
Hi. I read the instructions and added MarqueeLabel to my project, but MarqueeLabel codes are crashing the app on the first line of these codes:
import MarqueeLabel
@IBOutlet weak var artistName: MarqueeLabel!
@IBAction func onClickPrev(_ sender: UIButton) { self.artistName.text = artistName self.artistName.speed = .duration(20) //----here self.artistName.animationCurve = .easeOut self.artistName.type = .continuous }
Thanks for this greate library.