forked from FormatterKit/FormatterKit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
FormatterKit.podspec
65 lines (54 loc) · 2.29 KB
/
FormatterKit.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Pod::Spec.new do |s|
s.name = 'FormatterKit'
s.version = '1.8.0'
s.license = { :type => 'MIT' }
s.summary = '`stringWithFormat:` for the sophisticated hacker set.'
s.homepage = 'https://github.com/mattt/FormatterKit'
s.social_media_url = 'https://twitter.com/mattt'
s.author = { 'Mattt Thompson' => '[email protected]' }
s.source = { :git => 'https://github.com/mattt/FormatterKit.git',
:tag => s.version
}
s.description = "FormatterKit is a collection of well-crafted NSFormatter subclasses for things like units of information, distance, and relative time intervals. Each formatter abstracts away the complex business logic of their respective domain, so that you can focus on the more important aspects of your application."
s.requires_arc = true
s.subspec 'AddressFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTAddressFormatter.{h,m}'
ss.resources = 'Localizations/**'
ss.osx.frameworks = 'AddressBook'
ss.ios.frameworks = 'AddressBook', 'AddressBookUI'
end
s.subspec 'ArrayFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTArrayFormatter.{h,m}'
ss.resources = 'Localizations/**'
end
s.subspec 'ColorFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTColorFormatter.{h,m}'
ss.resources = 'Localizations/**'
end
s.subspec 'LocationFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTLocationFormatter.{h,m}'
ss.resources = 'Localizations/**'
ss.frameworks = 'CoreLocation'
end
s.subspec 'NameFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTNameFormatter.{h,m}'
ss.resources = 'Localizations/**'
ss.ios.frameworks = 'AddressBook'
end
s.subspec 'OrdinalNumberFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTOrdinalNumberFormatter.{h,m}'
ss.resources = 'Localizations/**'
end
s.subspec 'TimeIntervalFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTTimeIntervalFormatter.{h,m}'
ss.resources = 'Localizations/**'
end
s.subspec 'UnitOfInformationFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTUnitOfInformationFormatter.{h,m}'
ss.resources = 'Localizations/**'
end
s.subspec 'URLRequestFormatter' do |ss|
ss.source_files = 'FormatterKit/TTTURLRequestFormatter.{h,m}'
ss.resources = 'Localizations/**'
end
end