AXAttributedString
AXAttributedString copied to clipboard
An easier attribute text creator, use chain-syntax.
An easier attribute text creator, use chain-syntax.
Support for iOS 8.0+, Base on Objective-C.
Installation
pod 'AXAttributedString'
Manual
- Download the AXAttributedString repository;
- Copy the AXAttributedString sub-folder into your Xcode project;
#import <AXAttributedString/AXAttributedString.h>.
Usage


Supported attribute list
text, Must be the first if need, NOT ALLOW the empty formatted substring.htmlText, Must be the first if need, NOT ALLOW the empty formatted substring.
textorhtmlTextmust be need one.
foregroundColorbackgroundColorfontsystemFontSizeunderlineStyleunderlineColorbaselineOffsetstrikethroughStylestrikethroughColorparagraphStylestrokeColorstrokeWidthattachmentlinkUrllinkStringligaturekernshadowtextEffectobliquenessexpansionwritingDirectionverticalGlyphForm
Contact me
- Email: [email protected]
- Wechat: arnold-xiao
I'm very happy that its helpful for you, can you give me a star? Thank you!