Skip to content

Commit

Permalink
Update podspec
Browse files Browse the repository at this point in the history
- There are two subspec: ObjC and Swift
- Default subspec is ObjC
  • Loading branch information
chiahsien committed Apr 7, 2016
1 parent eb3793f commit 0457513
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions CHTCollectionViewWaterfallLayout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ Pod::Spec.new do |s|
s.license = 'MIT'
s.author = { "Nelson" => "chiahsien@gmail.com" }
s.source = { :git => "https://github.com/chiahsien/CHTCollectionViewWaterfallLayout.git", :tag => "#{s.version}" }
s.platform = :ios, '6.0'
s.source_files = '*.{h,m}'
s.ios.deployment_target = '6.0'
s.tvos.deployment_target = '9.0'
s.requires_arc = true

s.default_subspec = 'ObjC'

s.subspec 'ObjC' do |ss|
ss.source_files = '*.{h,m}'
end

s.subspec 'Swift' do |ss|
ss.source_files = '*.swift'
end
end

0 comments on commit 0457513

Please sign in to comment.