Skip to content

Commit a6afda1

Browse files
committed
Deprecating the library in favor of DTCoreText, as I don't have time to maintain it anymore.
1 parent ec1a489 commit a6afda1

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

OHAttributedLabel.podspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'OHAttributedLabel'
3-
s.version = '3.5.3'
3+
s.version = '3.5.4'
44
s.license = { :type => 'MIT', :file => 'OHAttributedLabel/LICENSE'}
55
s.platform = :ios
66
s.summary = 'UILabel that supports NSAttributedString.'
@@ -22,4 +22,6 @@ Pod::Spec.new do |s|
2222

2323
s.framework = 'CoreText'
2424
s.requires_arc = true
25+
26+
s.deprecated_in_favor_of = 'DTCoreText'
2527
end

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Depreciation warning!
2+
3+
Unfortunately, I **no longer have time to maintain this class**. Moreover, as since iOS6, `UILabel` now natively support `NSAttributedStrings`, **this class starts to be quite obsolete now**, and maintaining it requires a lot of work for little benefit with recent projects all supporting iOS6+.
4+
5+
If you still need some advanced support for `NSAttributedString` and stuff that iOS does not support natively yet, **I strongly recommand the [`DTCoreText`](https://github.com/Cocoanetics/DTCoreText) library** by @Cocoanetics as a replacement — which is a way more complete framework that my own library and let you do much more stuff.
6+
7+
_Note: If you are willing to take the lead and continue to make it evolve, feel free to contact me so I can give you some GIT access ton continue to maintain it._
8+
9+
---
10+
111
_Table of Contents_
212

313
* [About these classes](#about-these-classes)

0 commit comments

Comments
 (0)