ASTextNode2
사용법
1. attributedText
let textNode = ASTextNode2()
textNode.attributedText = NSAttributedString(string: "test", attributes: [:])2. truncationAttributedText
let textNode = ASTextNode2()
textNode.truncationAttributedText = NSAttributedString(string: "More see", attributes: [:])3. additionalTruncationMessage
let textNode = ASTextNode2()
textNode.truncationAttributedText = NSAttributedString(string: "More see", attributes: [:])
textNode.additionalTruncationMesssage = NSAttributedString(string: "About", attributes: [:])4. maximumNumberOfLines
5. truncationMode
6. isTruncated (get-only)
Last updated
Was this helpful?