forked from hons82/THCalendarDatePicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
THCalendarDatePicker.podspec
22 lines (22 loc) · 1.55 KB
/
THCalendarDatePicker.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Pod::Spec.new do |s|
s.name = "THCalendarDatePicker"
s.version = "1.2.0"
s.summary = "A DatePicker based on a custom calendar view"
s.homepage = "https://github.com/hons82/THCalendarDatePicker"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { "Hannes Tribus" => "[email protected]" }
s.source = { :git => "https://github.com/hons82/THCalendarDatePicker.git", :tag => "v#{s.version}" }
s.platform = :ios, '6.1'
s.requires_arc = true
s.source_files = 'THCalendarDatePicker/*.{h,m}'
s.resources = ["THCalendarDatePicker/*.xib", "THCalendarDatePicker/Images.xcassets"]
s.frameworks = 'QuartzCore'
s.dependency 'KNSemiModalViewController', '~> 0.3'
s.prefix_header_contents = <<-EOS
#define SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)
#define SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)
EOS
end