Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift4.2 #14

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Next Next commit
swift 3.1
  • Loading branch information
nikans authored Jul 28, 2017
commit 2ad6f246f4a9dc7b4813c3def67162305706928d
2 changes: 1 addition & 1 deletion Pod/Notification Center/BaseScrollLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BaseScrollLabel: UILabel {
messageImage.sizeToFit()
addSubview(messageImage)

UIView.animate(withDuration: scrollTime - scrollDelay, delay: scrollDelay, options: .beginFromCurrentState, animations: { () -> Void in
UIView.animate(withDuration: scrollTime - scrollDelay, delay: scrollDelay, options: [.beginFromCurrentState, .curveEaseInOut], animations: { () -> Void in
self.messageImage.transform = CGAffineTransform(translationX: -self.scrollOffset, y: 0)
}, completion: { (finished) -> Void in
//
Expand Down