- add method - (void) setBackgroundLayerWithColors:(NSArray *) colors startPoint:(CGPoint) startPoint endPoint:(CGPoint) endPoint
41 lines
1.5 KiB
Ruby
41 lines
1.5 KiB
Ruby
#
|
|
# Be sure to run `pod lib lint PNGradientView.podspec' to ensure this is a
|
|
# valid spec before submitting.
|
|
#
|
|
# Any lines starting with a # are optional, but their use is encouraged
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "PNGradientView"
|
|
s.version = "0.2.0"
|
|
s.summary = "PNGradientView is a UIView subclassing with gradient support"
|
|
|
|
# This description is used to generate tags and improve search results.
|
|
# * Think: What does it do? Why did you write it? What is the focus?
|
|
# * Try to keep it short, snappy and to the point.
|
|
# * Write the description between the DESC delimiters below.
|
|
# * Finally, don't worry about the indent, CocoaPods strips it!
|
|
#s.description = <<-DESCDESC
|
|
|
|
s.homepage = "https://github.com/giuseppenucifora/PNGradientView"
|
|
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
|
|
s.license = 'MIT'
|
|
s.author = { "Giuseppe Nucifora" => "me@giuseppenucifora.com" }
|
|
s.source = { :git => "https://github.com/giuseppenucifora/PNGradientView.git", :tag => s.version.to_s }
|
|
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
|
|
|
s.platform = :ios, '7.0'
|
|
s.requires_arc = true
|
|
|
|
s.source_files = 'Pod/Classes/**/*'
|
|
#s.resource_bundles = {
|
|
#'PNGradientView' => ['Pod/Assets/*.png']
|
|
#}
|
|
|
|
# s.public_header_files = 'Pod/Classes/**/*.h'
|
|
s.frameworks = 'QuartzCore'
|
|
s.dependency 'RZDataBinding'
|
|
|
|
end
|