objc clean
This commit is contained in:
parent
3040629fcb
commit
a8145fd3c0
@ -19,7 +19,7 @@ import UIKit
|
||||
LoopCompletionBlock: a block called whenever the gif finishes a loop.
|
||||
animatedImage : set as nil when use this view in reusable cell
|
||||
*/
|
||||
@objc public init(withFrame frame: CGRect, imageName: String, startImmediately: Bool, duration: TimeInterval, loopCompletionBlock: ((UInt) -> Void)?) {
|
||||
public init(withFrame frame: CGRect, imageName: String, startImmediately: Bool, duration: TimeInterval, loopCompletionBlock: ((UInt) -> Void)?) {
|
||||
super.init(frame: frame)
|
||||
loadImage(imageName, startImmediately: startImmediately, duration: duration, loopCompletionBlock: loopCompletionBlock)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user