-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLiteral.podspec
29 lines (22 loc) · 938 Bytes
/
Literal.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
Pod::Spec.new do |s|
s.name = 'Literal'
s.version = '1.0'
s.summary = 'Convenient shorthand initializers for CGPoint and etc..'
s.description = <<-DESC
Literal is a swift libiary to provide convenient initializers for CGPoint,
CGRect,NSRange and etc.. It implement ExpressibleByArrayLiteral protocol on
these struct, so code can be written like this with Literal:
```
let p: CGPoint = [0, 1]
view.frame = [10, 20, 100, 100]
attributedString.setAttributes(attrs, range: [0, 1])
```
DESC
s.homepage = 'https://github.com/leavez/Literal.git'
s.license = { :type => 'MIT'}
s.author = { 'Leavez' => 'gaojiji@gmail.com' }
s.source = { :git => 'https://github.com/leavez/Literal.git', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.source_files = 'Sources/**/*'
end