Masonry.podspec
1.35 KB
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
Pod::Spec.new do |s|
s.name = 'Masonry'
s.version = '1.1.0.yoho'
s.license = 'MIT'
s.summary = 'Harness the power of Auto Layout NSLayoutConstraints with a simplified, chainable and expressive syntax.'
s.homepage = 'https://github.com/cloudkite/Masonry'
s.author = { 'Jonas Budelmann' => 'jonas.budelmann@gmail.com' }
s.social_media_url = "http://twitter.com/cloudkite"
s.source = { :git => 'https://github.com/cloudkite/Masonry.git', :tag => "v#{s.version}" }
s.description = %{
Masonry is a light-weight layout framework which wraps AutoLayout with a nicer syntax.
Masonry has its own layout DSL which provides a chainable way of describing your
NSLayoutConstraints which results in layout code which is more concise and readable.
Masonry supports iOS and Mac OSX.
}
pch_AF = <<-EOS
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#ifndef TARGET_OS_TV
#define TARGET_OS_TV 0
#endif
EOS
s.source_files = 'Masonry/*.{h,m}'
s.ios.frameworks = 'Foundation', 'UIKit'
s.tvos.frameworks = 'Foundation', 'UIKit'
s.osx.frameworks = 'Foundation', 'AppKit'
s.ios.deployment_target = '6.0' # minimum SDK with autolayout
s.osx.deployment_target = '10.7' # minimum SDK with autolayout
s.tvos.deployment_target = '9.0' # minimum SDK with autolayout
s.requires_arc = true
end