Latest 1.0.2
Homepage https://github.com/shmidt/MASAttributes
License MIT
Platforms ios 6.0, requires ARC
Authors

NSMutableAttributedString helper for easy to add attributes for the substring.

Initialize and then add some attributes:

- (void)addColor:(UIColor *)color substring:(NSString *)substring;
- (void)addBackgroundColor:(UIColor *)color substring:(NSString *)substring;
- (void)addUnderlineForSubstring:(NSString *)substring;
- (void)addStrikeThrough:(int)thickness substring:(NSString *)substring;
- (void)addShadowColor:(UIColor *)color width:(int)width height:(int)height radius:(int)radius substring:(NSString *)substring;
- (void)addFontWithName:(NSString *)fontName size:(int)fontSize substring:(NSString *)substring;
- (void)addAlignment:(NSTextAlignment)alignment substring:(NSString *)substring;
- (void)addColorToRussianText:(UIColor *)color;
- (void)addStrokeColor:(UIColor *)color thickness:(int)thickness substring:(NSString *)substring;
- (void)addVerticalGlyph:(BOOL)glyph substring:(NSString *)substring;

Latest podspec

{
    "name": "MASAttributes",
    "version": "1.0.2",
    "summary": "NSMutableAttributedString helper for easy to add attributes for the substring.",
    "homepage": "https://github.com/shmidt/MASAttributes",
    "authors": {
        "Dmitry Shmidt": "[email protected]"
    },
    "source": {
        "git": "https://github.com/shmidt/mas-attributes.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "6.0"
    },
    "license": "MIT",
    "source_files": [
        "Classes",
        "*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This