-
Notifications
You must be signed in to change notification settings - Fork 15
/
PerspectiveTransform.podspec
38 lines (38 loc) · 1.57 KB
/
PerspectiveTransform.podspec
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
36
37
38
Pod::Spec.new do |s|
s.cocoapods_version = '~> 1.8'
s.name = 'PerspectiveTransform'
s.version = '1.1'
s.summary = 'Perspective Transform calculates CATransform3D'
s.description = <<-DESC
Calculates CATransform3D to transform rectangular frame to convex quadrilateral
Allows to overlay images in UIView given 4 points.
DESC
authorPage = 'https://github.com/paulz'
s.homepage = "#{authorPage}/#{s.name}"
s.screenshots = "#{s.homepage}/wiki/images/container-with-green-polygon.png"
s.license = { :type => 'MIT' }
s.author = { 'Paul Zabelin' => authorPage }
s.source = { :git => "#{s.homepage}.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/iospaulz'
s.platform = :ios, '12.2'
s.swift_version = '5.0'
s.source_files = 'Pod/Classes/**/*'
s.frameworks = 'UIKit', 'CoreGraphics', 'QuartzCore'
s.test_spec 'UnitSpecs' do |ts|
ts.requires_app_host = false
ts.source_files = 'Example/Specs/**/*.{h,swift}', 'Example/Tests/*Helper.swift'
ts.dependencies = {
'Quick' => '~> 3.0',
'Nimble' => '~> 8.1'
}
end
s.test_spec 'AppSpecs' do |ts|
ts.requires_app_host = true
ts.resources = 'Example/Tests/**/*.{png,jpg,svg}'
ts.source_files = 'Example/Tests/**/*.{h,swift}', 'Example/PerspectiveTransform/resetAnchorPoint.swift'
ts.dependencies = {
'Quick' => '~> 3.0',
'Nimble-Snapshots' => '~> 8.2'
}
end
end