21 #import <UIKit/UIKit.h>
24 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 60000
28 #if __IPHONE_OS_VERSION_MAX_ALLOWED < 70000
90 - (void)addAttributeFont:(UIFont *)font range:(NSRange)range;
95 - (void)removeAttributeFontFromRange:(NSRange)range;
101 - (void)addAttributeParagraphStyle:(NSParagraphStyle *)paragraphStyle range:(NSRange)range;
106 - (void)removeAttributeParagraphStyleFromRange:(NSRange)range;
112 - (void)addAttributeForegroundColor:(UIColor *)foregroundColor range:(NSRange)range;
117 - (void)removeAttributeForegroundColorFromRange:(NSRange)range;
123 - (void)addAttributeBackgroundColor:(UIColor *)backgroundColor range:(NSRange)range;
128 - (void)removeAttributeBackgroundColorFromRange:(NSRange)range;
134 - (void)addAttributeLigature:(
NSLigatureType)ligature range:(NSRange)range;
139 - (void)removeAttributeLigatureFromRange:(NSRange)range;
145 - (void)addAttributeKern:(
float)kern range:(NSRange)range;
150 - (void)removeAttributeKernFromRange:(NSRange)range;
156 - (void)addAttributeStrikethroughStyle:(
NSUnderlineStyle)strikethroughStyle range:(NSRange)range;
161 - (void)removeAttributeStrikethroughStyleFromRange:(NSRange)range;
167 - (void)addAttributeUnderlineStyle:(
NSUnderlineStyle)underlineStyle range:(NSRange)range;
172 - (void)removeAttributeUnderlineStyleFromRange:(NSRange)range;
178 - (void)addAttributeStrokeColor:(UIColor *)strokeColor range:(NSRange)range;
183 - (void)removeAttributeStrokeColorFromRange:(NSRange)range;
189 - (void)addAttributeStrokeWidth:(
float)strokeWidth range:(NSRange)range;
194 - (void)removeAttributeStrokeWidthFromRange:(NSRange)range;
200 - (void)addAttributeShadow:(NSShadow *)shadow range:(NSRange)range;
205 - (void)removeAttributeShadowFromRange:(NSRange)range;
211 - (void)addAttributeVerticalGlyphForm:(
NSVerticalGlyphForm)verticalGlyphForm range:(NSRange)range;
216 - (void)removeAttributeVerticalGlyphFormFromRange:(NSRange)range;
228 @property(strong) UIFont *font;
233 @property(strong) NSParagraphStyle *paragraphStyle;
238 @property(strong) UIColor *foregroundColor;
243 @property(strong) UIColor *backgroundColor;
248 @property(strong) NSNumber *ligatureNumber;
258 @property(strong) NSNumber *kernNumber;
263 @property(assign)
float kern;
268 @property(strong) NSNumber *strikethroughStyleNumber;
278 @property(strong) NSNumber *underlineStyleNumber;
288 @property(strong) UIColor *strokeColor;
293 @property(strong) NSNumber *strokeWidthNumber;
298 @property(assign)
float strokeWidth;
303 @property(strong) NSShadow *shadow;
308 @property(strong) NSNumber *verticalGlyphFormNumber;
NSMutableDictionary subclass-available implementation.
Definition: NSADictionary.h:32
NSUInteger NSVerticalGlyphForm
Type for vertical glyph form.
Definition: NSAttributedString+Cocoa.h:86
Dictionary with easy attribute interface.
Definition: NSAttributedString+Cocoa.h:92
See CoreFoundation-Subclass for concept of these objects.
NSMutableAttributedString attributes dictionary.
Definition: NSAttributedString+Cocoa.h:390
Definition: NSAttributedString+UIKit.h:71
NSInteger NSUnderlineStyle
Definition: NSAttributedString+Cocoa.h:39
NSUInteger NSLigatureType
Type for ligature style.
Definition: NSAttributedString+Cocoa.h:36
Definition: NSAttributedString+UIKit.h:53
Definition: NSAttributedString+UIKit.h:70
NSUInteger NSVerticalGlyphForm
Type for vertical glyph form.
Definition: NSAttributedString+UIKit.h:78
NSUInteger NSLigatureType
Type for ligature style.
Definition: NSAttributedString+UIKit.h:61
Definition: NSAttributedString+UIKit.h:54