Wrapper of NSAttributedString and Text Kit. written in Swift.
AOR("any....").lineCount(self.textView.size) // -> Int
AOR("any....").lineRects(self.textView.size) // -> [CGRect]
AOR("any....").lineRanges(self.textView.size) // -> [NSRange]
AOR("any....").lineStrings(self.textView.size) // -> [String]
AOR("any....").lineAttributedStrings(self.textView.size) // -> [NSAttributedString]
- Xcode 10+
OS | Swift | |
---|---|---|
v1.1.0 | iOS 9+ | 3.0 |
v1.2.x | iOS 9+ | 3.2 |
v1.3.x | iOS 9+ | 4.0 |
v1.4.x | iOS 9+ | 4.2 |
v1.5.x | iOS 10+ | 5.0 |
AOR is available through CocoaPods. To install it, simply add the following line to your Podfile:
use_frameworks!
pod "AOR"
To integrate AOR into your Xcode project using Carthage, specify it in your Cartfile:
github "xxxAIRINxxx/AOR"
MIT license. See the LICENSE file for more info.