This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
/
RichTextView.podspec
34 lines (31 loc) · 1.71 KB
/
RichTextView.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
#
# Be sure to run `pod lib lint RichTextView.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 = 'RichTextView'
s.version = '3.3.0'
s.summary = 'iOS Text View that Properly Displays LaTeX, HTML, Markdown, and YouTube/Vimeo Links.'
s.description = <<-DESC
This is an iOS UIView that Properly Displays LaTeX, HTML, Markdown, and YouTube/Vimeo Links. Simply feed in an input
string with the relevant rich text surrounded by the appropriate tags and it will render correctly. Specifically:
- Any math/LaTeX should be in between [math] and [/math] tags
- Any code should be in between [code] and [/code] tags
- Any YouTube videos should be represented as youtube[x], where x is the ID of the YouTube video
- Any Vimeo videos should be represented as vimeo[y], where y is the ID of the Vimeo video
DESC
s.homepage = 'https://github.com/tophat/RichTextView'
s.license = { :type => 'Apache-2', :file => 'LICENSE' }
s.author = { 'Top Hat' => 'tophat' }
s.source = { :git => 'https://github.com/tophat/RichTextView.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.source_files = 'Source/*.swift', 'Source/Text Parsing/*.swift', 'Source/Constants/*.swift', 'Source/Extensions/*.swift', 'Source/View Generators/*.swift', 'Source/Delegates/*.swift', 'Source/HTML Rendering/*.swift'
s.dependency 'Down'
s.dependency 'iosMath'
s.dependency 'SnapKit'
s.dependency 'SwiftRichString'
s.swift_version = '5.0'
end