Latest 0.1.2
Homepage https://github.com/arnoldxiao/AXAttributedString
License MIT
Platforms ios 8.0, requires ARC
Authors

platform
stars
pod
license

An easier NSAttributedString builder, Use Chain-syntax like Masonry.

Support for iOS 8.0+, Base on Objective-C.

Installation

pod 'AXAttributedString'

Manual

  1. Download the AXAttributedString repository;
  2. Copy the AXAttributedString sub-folder into your Xcode project;
  3. #import <AXAttributedString/AXAttributedString.h>.

Usage

Code_Example

Screenshot_iPhoneSE

Supported attribute list

  • text, Requied, Must be the first, NOT ALLOW the empty formatted substring.
  • foregroundColor
  • backgroundColor
  • font
  • systemFontSize
  • underlineStyle
  • underlineColor
  • baselineOffset
  • strikethroughStyle
  • strikethroughColor
  • paragraphStyle
  • strokeColor
  • strokeWidth
  • attachment
  • linkUrl
  • linkString
  • ligature
  • kern
  • shadow
  • textEffect
  • obliqueness
  • expansion
  • writingDirection
  • verticalGlyphForm

Contact me

I’m very happy that its helpful for you, can you give me a star? Thank you!

Latest podspec

{
    "name": "AXAttributedString",
    "version": "0.1.2",
    "summary": "An easier NSAttributedString builder, Use Chain-syntax like Masonry.",
    "homepage": "https://github.com/arnoldxiao/AXAttributedString",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "xiaochenghua": "[email protected]"
    },
    "social_media_url": "https://weibo.com/arnoldxiao",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/arnoldxiao/AXAttributedString.git",
        "tag": "0.1.2"
    },
    "source_files": "AXAttributedStringDemo/AXAttributedStringDemo/AXAttributedString/**/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This