-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathTouchDraw.podspec
43 lines (34 loc) · 1.7 KB
/
TouchDraw.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
39
40
41
42
43
# New version checklist:
# Bump version in TouchDraw.podspec
# Bump version in TouchDraw/Info.plist
# Run pod install in Demo
# Update README.md
# Update CHANGELOG.md
# Make sure each function and variable is documented
# Add release on GitHub
# pod trunk push TouchDraw.podspec (after pulling latest from master)
Pod::Spec.new do |s|
s.name = "TouchDraw"
s.version = "2.2.0"
s.summary = "TouchDraw is a UIView you can draw on."
s.description = <<-DESC
TouchDraw is a subclass of UIView that allows you to draw using touch. It exposes the following functions:
- `exportDrawing() -> UIImage`
- `clearDrawing()`
- `undo()`
- `redo()`
- `setColor(color: UIColor?)`
- `setWidth(width: CGFloat)`
- `importStack(stack: [Stroke])`
- `exportStack() -> [Stroke]`
DESC
s.homepage = "https://github.com/dehli/TouchDraw"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Christian Paul Dehli" => "[email protected]" }
s.social_media_url = "http://twitter.com/cpdehli"
s.platform = :ios
s.ios.deployment_target = "12.0"
s.source = { :git => "https://github.com/dehli/TouchDraw.git", :tag => "#{s.version}"}
s.source_files = "Sources/**/*.{swift}"
end