Skip to content

Commit

Permalink
Deprecating the library in favor of DTCoreText, as I don't have time …
Browse files Browse the repository at this point in the history
…to maintain it anymore.
  • Loading branch information
AliSoftware committed Apr 30, 2014
1 parent ec1a489 commit a6afda1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OHAttributedLabel.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'OHAttributedLabel'
s.version = '3.5.3'
s.version = '3.5.4'
s.license = { :type => 'MIT', :file => 'OHAttributedLabel/LICENSE'}
s.platform = :ios
s.summary = 'UILabel that supports NSAttributedString.'
Expand All @@ -22,4 +22,6 @@ Pod::Spec.new do |s|

s.framework = 'CoreText'
s.requires_arc = true

s.deprecated_in_favor_of = 'DTCoreText'
end
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Depreciation warning!

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+.

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.

_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._

---

_Table of Contents_

* [About these classes](#about-these-classes)
Expand Down

0 comments on commit a6afda1

Please sign in to comment.