Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1bfb96d

Browse files
committed
cocoapod fix
1 parentcc6b287 commit1bfb96d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎AttributedTextView.podspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.newdo |s|
22
s.name='AttributedTextView'
3-
s.version='1.2.0'
3+
s.version='1.2.1'
44
s.license={:type=>"MIT",:file=>"LICENSE"}
55
s.summary='Easiest way to create an attributed UILabel or UITextView (with support for multiple links and HTML)'
66
s.homepage='https://github.com/evermeer/AttributedTextView'

‎Sources/AttributedTextView.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import UIKit
8484
self.isEditable=false
8585
}
8686
iflet color= _attributer?.linkColor{
87-
self.linkTextAttributes=[NSAttributedString.Key.foregroundColor: color]
87+
self.linkTextAttributes=[NSAttributedString.Key.foregroundColor.rawValue: colorasAny]
8888
}
8989
}
9090
}

‎Sources/Attributer.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ open class Attributer {
618618
underline the active range
619619
*/
620620
openvarunderline:Attributer{
621-
returnapplyUnderline(NSUnderlineStyle.single)
621+
returnapplyUnderline(NSUnderlineStyle.styleSingle)
622622
}
623623

624624
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp