-
Notifications
You must be signed in to change notification settings - Fork 3
/
PGLFormatter.podspec
25 lines (19 loc) · 1.14 KB
/
PGLFormatter.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Pod::Spec.new do |s|
s.name = "PGLFormatter"
s.version = "3.2.0"
s.summary = "Simple container of NSFormatter and useful functions to format numbers and dates."
s.description = <<-DESC
# PGLFormatter
PGLFormatter is a simple container of NSFormatter and useful functions
##Reason
Formatters are extremely expensive to create so it's very important to reuse the formatter as much as you can.
If you use the same formatter in the entire project you can set in a single point (e.g. AppDelegate) and then forget about the NSFormatter and simple use the function that PGLFormatter offers, for format() to format Double Float Int (see the example), otherwise you should remember to set the behavior every time
DESC
s.homepage = "https://github.com/PGLongo/PGLFormatter"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "PGLongo"
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '2.0'
s.source = { :git => "https://github.com/PGLongo/PGLFormatter.git", :tag => s.version }
s.source_files = "PGLFormatter/*.swift"
end