Skip to content

Commit

Permalink
Merge branch 'fix/swift-5-errors'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerlin committed Feb 19, 2020
2 parents 4dc9ddf + f74c3ae commit 25df189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CountdownLabel.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "CountdownLabel"
s.version = '4.0.1'
s.version = '5.0.0'
s.summary = 'Simple countdown UILabel with morphing animation, and some useful function.'
s.homepage = "https://github.com/suzuki-0000/CountdownLabel"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "suzuki_keishi" => "[email protected]" }
s.source = { :git => "https://github.com/suzuki-0000/CountdownLabel.git", :tag => s.version }
s.platform = :ios, "8.2"
s.platform = :ios, "10.0"
s.source_files = 'CountdownLabel/*.swift'
s.source_files = 'CountdownLabel/**/*.swift'
s.requires_arc = true
Expand Down
2 changes: 1 addition & 1 deletion CountdownLabel/CountdownLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class CountdownLabel: LTMorphingLabel {
public var dateFormatter: DateFormatter {
let df = DateFormatter()
df.locale = Locale(identifier: "en_US_POSIX")
df.timeZone = NSTimeZone(name: "GMT") as TimeZone!
df.timeZone = NSTimeZone(name: "GMT") as TimeZone?
df.dateFormat = timeFormat
return df
}
Expand Down

0 comments on commit 25df189

Please sign in to comment.