Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update podspec for UIGlossyButton that all subspecs are opt-in

  • Loading branch information...
commit 53ecbf5a59aca24913e46f9add0275beb7509ef3 1 parent 7797d36
@waterlou waterlou authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 UIGlossyButton/0.0.7/UIGlossyButton.podspec
View
6 UIGlossyButton/0.0.7/UIGlossyButton.podspec
@@ -8,16 +8,18 @@ Pod::Spec.new do |s|
s.platform = :ios
s.source = { :git => 'https://github.com/waterlou/UIGlossyButton.git', :tag => 'v0.0.7' }
- s.preferred_dependency = 'Core'
+ ## s.preferred_dependency = 'Core'
s.frameworks = 'UIKit', 'QuartzCore'
+ # core files: UIGlossyButton.*. If you don't need layer effect, you can include
+ # the pod UIGlossyButton/Core only
s.subspec 'Core' do |c|
c.source_files = 'UIGlossyButton/UIGlossyButton.{h,m}'
end
# the layer effects file is for adding drop shadow effect to the button, actually not a must
- # for using UIGlossyButton, but you can include it using subspec, it is opt-out
+ # for using UIGlossyButton
s.subspec 'LayerEffects' do |l|
l.source_files = 'UIGlossyButton/UIView+LayerEffects.{h,m}'
end
Please sign in to comment.
Something went wrong with that request. Please try again.