28 lines
979 B
Ruby
28 lines
979 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'UIGlossyButton'
|
|
s.version = '0.0.7'
|
|
s.license = 'MIT'
|
|
s.summary = 'Generate system like or other nice button without any image.'
|
|
s.homepage = 'https://github.com/waterlou/UIGlossyButton'
|
|
s.author = { 'waterlou' => 'https://github.com/waterlou' }
|
|
|
|
s.platform = :ios
|
|
s.source = { :git => 'https://github.com/waterlou/UIGlossyButton.git', :tag => 'v0.0.7' }
|
|
## 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
|
|
s.subspec 'LayerEffects' do |l|
|
|
l.source_files = 'UIGlossyButton/UIView+LayerEffects.{h,m}'
|
|
end
|
|
|
|
end
|