Skip to content

Commit

Permalink
Add CocoaPods support
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanhuang13 committed Oct 17, 2019
1 parent d87d05b commit e70555b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.5
39 changes: 39 additions & 0 deletions NSAttributedStringBuilder.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#
# Be sure to run `pod lib lint NSAttributedStringBuilder.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 = 'NSAttributedStringBuilder'
s.version = '0.3.1'
s.summary = 'Composing NSAttributedString with SwiftUI-style syntax, powerd by the now pitching Function Builder.'

# 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
Composing NSAttributedString with SwiftUI-style syntax, powerd by the now pitching Function Builder.
Project Link: https://github.com/ethanhuang13/NSAttributedStringBuilder
DESC

s.homepage = 'https://github.com/ethanhuang13/NSAttributedStringBuilder'
s.swift_versions = '5.1'
# s.screenshots = 'https://github.com/ethanhuang13/NSAttributedStringBuilder/blob/master/demo2.jpg',
'https://github.com/ethanhuang13/NSAttributedStringBuilder/blob/master/demo.jpg'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'ethanhuang13' => '[email protected]' }
s.source = { :git => 'https://github.com/ethanhuang13/NSAttributedStringBuilder.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/ethanhuang13'

s.ios.deployment_target = '8.0'

s.source_files = 'Sources/NSAttributedStringBuilder/*',
'Sources/NSAttributedStringBuilder/Components/*'
end

0 comments on commit e70555b

Please sign in to comment.