Skip to content

Commit

Permalink
Adds CocoaPods' macOS and tvOS support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanhuang13 committed Nov 19, 2019
1 parent 456c989 commit 4a3b02b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.3.3] - 2019-11-19
- [Added] CocoaPods support macOS and tvOS

## [0.3.2] - 2019-10-17
- [Added] CocoaPods support

## [0.3.1] - 2019-07-20
- [Removed] OS version requirements of Package.swift #1

Expand Down
4 changes: 3 additions & 1 deletion NSAttributedStringBuilder13.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'NSAttributedStringBuilder13'
s.version = '0.3.2'
s.version = '0.3.3'
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.
Expand All @@ -33,6 +33,8 @@ Project Link: https://github.com/ethanhuang13/NSAttributedStringBuilder
s.social_media_url = 'https://twitter.com/ethanhuang13'

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'

s.source_files = 'Sources/NSAttributedStringBuilder/*',
'Sources/NSAttributedStringBuilder/Components/*'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#if canImport(UIKit)
import UIKit

#if !os(watchOS)
public typealias ImageAttachment = NSAttributedString.ImageAttchment

extension NSAttributedString {
Expand All @@ -26,3 +27,5 @@ extension NSAttributedString {
}
}
#endif

#endif

0 comments on commit 4a3b02b

Please sign in to comment.