forked from SnapKit/Masonry
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMasonry.podspec
More file actions
35 lines (30 loc) · 1.21 KB
/
Copy pathMasonry.podspec
File metadata and controls
35 lines (30 loc) · 1.21 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
Pod::Spec.new do |s|
s.name = 'Masonry'
s.version = '1.2.1'
s.license = 'MIT'
s.summary = 'Harness the power of Auto Layout NSLayoutConstraints with a simplified, chainable and expressive syntax.'
s.homepage = 'https://github.com/SnapKit/Masonry'
s.author = { 'Jonas Budelmann' => 'jonas.budelmann@gmail.com' }
s.social_media_url = "http://twitter.com/cloudkite"
s.source = { :git => 'https://github.com/SnapKit/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.private_header_files = 'Masonry/MASConstraint+Private.h'
# minimum SDK with autolayout
s.platforms = { :ios => "9.0", :osx => "10.11", :tvos => "9.0" }
s.requires_arc = true
s.static_framework = true
end