https://github.com/cbpowell/MarqueeLabel-Swift/blob/master/Classes/MarqueeLabel. swift
Create the MaqQueeLabel class and add the following to your class.
Create a label and custom class in the storyboard as MarqueeLabel
Then
@IBOutlet weak var marqueeLabel: MarqueeLabel!
In ViewDidLoad
add this
marqueeLabel.type = .Continuous
marqueeLabel.scrollDuration = 5.0
marqueeLabel .animationCurve = .EaseInOut
marqueeLabel.fadeLength = 10.0
marqueeLabel.leadingBuffer = 30.0
marqueeLabel.trailingBuffer = 20.0
How to do it in iOS MarqueeLabel is implemented in Objective-C. I found an example in Objective-C, but I am using Swift.
Used to create a marquee in the swift Add Below Class in the project< br> https://github.com/cbpowell/MarqueeLabel-Swift/blob/master/Classes/MarqueeLabel.swift
Create the MaqQueeLabel class and add the following content to your class.
Create a label and custom class in the storyboard as MarqueeLabel
and then
@IBOutlet weak var marqueeLabel: MarqueeLabel!
In ViewDidLoad
add this
marqueeLabel.type = .Continuous
marqueeLabel.scrollDuration = 5.0
marqueeLabel .animationCurve = .EaseInOut
marqueeLabel.fadeLength = 10.0
marqueeLabel.leadingBuffer = 30.0
marqueeLabel.trailingBuffer = 20.0
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4156 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC