-
Notifications
You must be signed in to change notification settings - Fork 2
/
AttributedStringSugar.podspec
40 lines (35 loc) · 1.61 KB
/
AttributedStringSugar.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
#
# Be sure to run `pod lib lint AttributedStringSugar.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 https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'AttributedStringSugar'
s.version = '1.0.5'
s.swift_versions = '5.0'
s.summary = 'NSAttributedString sugar using builder pattern.'
# 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 = <<-DESC
NSAttributedString sugar using builder pattern
using like this
```swift
let text = "Hello".attribute
.systemFont(ofSize: 20, weight: .bold)
.paragraphStyle(alignment: .center)
```
DESC
s.homepage = 'https://github.com/ElonPark/AttributedStringSugar'
s.screenshots = 'https://user-images.githubusercontent.com/13270453/77228119-7348bf00-6bc8-11ea-95c4-06c624ff8ca3.png'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Elon' => '[email protected]' }
s.source = { :git => 'https://github.com/ElonPark/AttributedStringSugar.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.source_files = 'AttributedStringSugar/Classes/**/*'
s.frameworks = 'UIKit'
end