Skip to content

Commit

Permalink
Merge pull request MatthewYork#202 from UberJason/master
Browse files Browse the repository at this point in the history
Fix for String cast on Linux
  • Loading branch information
MatthewYork authored Mar 13, 2017
2 parents d985a79 + 471cbaf commit 7d89203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DateToolsSwift/DateTools/Date+Bundle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public extension Bundle {

class func dateToolsBundle() -> Bundle {
let assetPath = Bundle(for: Constants.self).resourcePath!
return Bundle(path: (assetPath as NSString).appendingPathComponent("DateTools.bundle"))!
return Bundle(path: NSString(string: assetPath).appendingPathComponent("DateTools.bundle"))!
}
}

0 comments on commit 7d89203

Please sign in to comment.