FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSMutableAttributedString(AttributeProperties) Category Reference

Dictionary with easy attribute interface. More...

#import <NSAttributedString+Cocoa.h>

Instance Methods

(void) - addAttributeWritingDirectionArray:range:
 Adds writingDirection attribute value as array to the characters in the specified range. More...
 
(void) - addAttributeFont:range:
 Adds font attribute value to the characters in the specified range. More...
 
(void) - removeAttributeFontFromRange:
 Removes font attribute from the characters in the specified range. More...
 
(void) - addAttributeParagraphStyle:range:
 Adds paragraphStyle attribute value to the characters in the specified range. More...
 
(void) - removeAttributeParagraphStyleFromRange:
 Removes paragraphStyle attribute from the characters in the specified range. More...
 
(void) - addAttributeForegroundColor:range:
 Adds foregroundColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeForegroundColorFromRange:
 Removes foregroundColor attribute from the characters in the specified range. More...
 
(void) - addAttributeUnderlineStyle:range:
 Adds underlineStyle attribute value to the characters in the specified range. More...
 
(void) - removeAttributeUnderlineStyleFromRange:
 Removes underlineStyle attribute from the characters in the specified range. More...
 
(void) - addAttributeSuperscript:range:
 Adds superscript attribute value to the characters in the specified range. More...
 
(void) - removeAttributeSuperscriptFromRange:
 Removes superscript attribute from the characters in the specified range. More...
 
(void) - addAttributeBackgroundColor:range:
 Adds backgroundColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeBackgroundColorFromRange:
 Removes backgroundColor attribute from the characters in the specified range. More...
 
(void) - addAttributeAttachment:range:
 Adds attachment attribute value to the characters in the specified range. More...
 
(void) - removeAttributeAttachmentFromRange:
 Removes attachment attribute from the characters in the specified range. More...
 
(void) - addAttributeLigature:range:
 Adds ligature attribute value to the characters in the specified range. More...
 
(void) - removeAttributeLigatureFromRange:
 Removes ligature attribute from the characters in the specified range. More...
 
(void) - addAttributeBaselineOffset:range:
 Adds baselineOffset attribute value to the characters in the specified range. More...
 
(void) - removeAttributeBaselineOffsetFromRange:
 Removes baselineOffset attribute from the characters in the specified range. More...
 
(void) - addAttributeKern:range:
 Adds kern attribute value to the characters in the specified range. More...
 
(void) - removeAttributeKernFromRange:
 Removes kern attribute from the characters in the specified range. More...
 
(void) - addAttributeLink:range:
 Adds link attribute value to the characters in the specified range. More...
 
(void) - removeAttributeLinkFromRange:
 Removes link attribute from the characters in the specified range. More...
 
(void) - addAttributeStrokeWidth:range:
 Adds strokeWidth attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrokeWidthFromRange:
 Removes strokeWidth attribute from the characters in the specified range. More...
 
(void) - addAttributeStrokeColor:range:
 Adds strokeColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrokeColorFromRange:
 Removes strokeColor attribute from the characters in the specified range. More...
 
(void) - addAttributeUnderlineColor:range:
 Adds underlineColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeUnderlineColorFromRange:
 Removes underlineColor attribute from the characters in the specified range. More...
 
(void) - addAttributeStrikethroughStyle:range:
 Adds strikethroughStyle attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrikethroughStyleFromRange:
 Removes strikethroughStyle attribute from the characters in the specified range. More...
 
(void) - addAttributeStrikethroughColor:range:
 Adds strikethroughColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrikethroughColorFromRange:
 Removes strikethroughColor attribute from the characters in the specified range. More...
 
(void) - addAttributeShadow:range:
 Adds shadow attribute value to the characters in the specified range. More...
 
(void) - removeAttributeShadowFromRange:
 Removes shadow attribute from the characters in the specified range. More...
 
(void) - addAttributeObliqueness:range:
 Adds obliqueness attribute value to the characters in the specified range. More...
 
(void) - removeAttributeObliquenessFromRange:
 Removes obliqueness attribute from the characters in the specified range. More...
 
(void) - addAttributeExpansion:range:
 Adds expansion attribute value to the characters in the specified range. More...
 
(void) - removeAttributeExpansionFromRange:
 Removes expansion attribute from the characters in the specified range. More...
 
(void) - addAttributeCursor:range:
 Adds cursor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeCursorFromRange:
 Removes cursor attribute from the characters in the specified range. More...
 
(void) - addAttributeToolTip:range:
 Adds toolTip attribute value to the characters in the specified range. More...
 
(void) - removeAttributeToolTipFromRange:
 Removes toolTip attribute from the characters in the specified range. More...
 
(void) - addAttributeMarkedClauseSegment:range:
 Adds markedClauseSegment attribute value to the characters in the specified range. More...
 
(void) - removeAttributeMarkedClauseSegmentFromRange:
 Removes markedClauseSegment attribute from the characters in the specified range. More...
 
(void) - addAttributeWritingDirection:range:
 Adds writingDirection attribute value to the characters in the specified range. More...
 
(void) - removeAttributeWritingDirectionFromRange:
 Removes writingDirection attribute from the characters in the specified range. More...
 
(void) - addAttributeVerticalGlyphForm:range:
 Adds verticalGlyphForm attribute value to the characters in the specified range. More...
 
(void) - removeAttributeVerticalGlyphFormFromRange:
 Removes verticalGlyphForm attribute from the characters in the specified range. More...
 
(void) - addAttributeTextAlternatives:range:
 Adds textAlternatives attribute value to the characters in the specified range. More...
 
(void) - removeAttributeTextAlternativesFromRange:
 Removes textAlternatives attribute from the characters in the specified range. More...
 
(void) - addAttributeFont:range:
 Adds font attribute value to the characters in the specified range. More...
 
(void) - removeAttributeFontFromRange:
 Removes font attribute from the characters in the specified range. More...
 
(void) - addAttributeParagraphStyle:range:
 Adds paragraphStyle attribute value to the characters in the specified range. More...
 
(void) - removeAttributeParagraphStyleFromRange:
 Removes paragraphStyle attribute from the characters in the specified range. More...
 
(void) - addAttributeForegroundColor:range:
 Adds foregroundColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeForegroundColorFromRange:
 Removes foregroundColor attribute from the characters in the specified range. More...
 
(void) - addAttributeBackgroundColor:range:
 Adds backgroundColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeBackgroundColorFromRange:
 Removes backgroundColor attribute from the characters in the specified range. More...
 
(void) - addAttributeLigature:range:
 Adds ligature attribute value to the characters in the specified range. More...
 
(void) - removeAttributeLigatureFromRange:
 Removes ligature attribute from the characters in the specified range. More...
 
(void) - addAttributeKern:range:
 Adds kern attribute value to the characters in the specified range. More...
 
(void) - removeAttributeKernFromRange:
 Removes kern attribute from the characters in the specified range. More...
 
(void) - addAttributeStrikethroughStyle:range:
 Adds strikethroughStyle attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrikethroughStyleFromRange:
 Removes strikethroughStyle attribute from the characters in the specified range. More...
 
(void) - addAttributeUnderlineStyle:range:
 Adds underlineStyle attribute value to the characters in the specified range. More...
 
(void) - removeAttributeUnderlineStyleFromRange:
 Removes underlineStyle attribute from the characters in the specified range. More...
 
(void) - addAttributeStrokeColor:range:
 Adds strokeColor attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrokeColorFromRange:
 Removes strokeColor attribute from the characters in the specified range. More...
 
(void) - addAttributeStrokeWidth:range:
 Adds strokeWidth attribute value to the characters in the specified range. More...
 
(void) - removeAttributeStrokeWidthFromRange:
 Removes strokeWidth attribute from the characters in the specified range. More...
 
(void) - addAttributeShadow:range:
 Adds shadow attribute value to the characters in the specified range. More...
 
(void) - removeAttributeShadowFromRange:
 Removes shadow attribute from the characters in the specified range. More...
 
(void) - addAttributeVerticalGlyphForm:range:
 Adds verticalGlyphForm attribute value to the characters in the specified range. More...
 
(void) - removeAttributeVerticalGlyphFormFromRange:
 Removes verticalGlyphForm attribute from the characters in the specified range. More...
 

Detailed Description

Dictionary with easy attribute interface.

Method Documentation

- (void) addAttributeAttachment: (NSTextAttachment *)  attachment
range: (NSRange)  range 

Adds attachment attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeBackgroundColor: (UIColor *)  backgroundColor
range: (NSRange)  range 

Adds backgroundColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeBackgroundColor: (NSColor *)  backgroundColor
range: (NSRange)  range 

Adds backgroundColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeBaselineOffset: (float)  baselineOffset
range: (NSRange)  range 

Adds baselineOffset attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeCursor: (NSCursor *)  cursor
range: (NSRange)  range 

Adds cursor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeExpansion: (float)  expansion
range: (NSRange)  range 

Adds expansion attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeFont: (UIFont *)  font
range: (NSRange)  range 

Adds font attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeFont: (NSFont *)  font
range: (NSRange)  range 

Adds font attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeForegroundColor: (UIColor *)  foregroundColor
range: (NSRange)  range 

Adds foregroundColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeForegroundColor: (NSColor *)  foregroundColor
range: (NSRange)  range 

Adds foregroundColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeKern: (float)  kern
range: (NSRange)  range 

Adds kern attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeKern: (float)  kern
range: (NSRange)  range 

Adds kern attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeLigature: (NSLigatureType ligature
range: (NSRange)  range 

Adds ligature attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeLigature: (NSLigatureType ligature
range: (NSRange)  range 

Adds ligature attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeLink: (NSURL *)  link
range: (NSRange)  range 

Adds link attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeMarkedClauseSegment: (NSInteger)  markedClauseSegment
range: (10_5)  NS_AVAILABLE_MAC 

Adds markedClauseSegment attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeObliqueness: (float)  obliqueness
range: (NSRange)  range 

Adds obliqueness attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeParagraphStyle: (NSParagraphStyle *)  paragraphStyle
range: (NSRange)  range 

Adds paragraphStyle attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeParagraphStyle: (NSParagraphStyle *)  paragraphStyle
range: (NSRange)  range 

Adds paragraphStyle attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeShadow: (NSShadow *)  shadow
range: (NSRange)  range 

Adds shadow attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeShadow: (NSShadow *)  shadow
range: (NSRange)  range 

Adds shadow attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrikethroughColor: (NSColor *)  strikethroughColor
range: (NSRange)  range 

Adds strikethroughColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrikethroughStyle: (NSUnderlineStyle strikethroughStyle
range: (NSRange)  range 

Adds strikethroughStyle attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrikethroughStyle: (NSUnderlineStyle strikethroughStyle
range: (NSRange)  range 

Adds strikethroughStyle attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrokeColor: (UIColor *)  strokeColor
range: (NSRange)  range 

Adds strokeColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrokeColor: (NSColor *)  strokeColor
range: (NSRange)  range 

Adds strokeColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrokeWidth: (float)  strokeWidth
range: (NSRange)  range 

Adds strokeWidth attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeStrokeWidth: (float)  strokeWidth
range: (NSRange)  range 

Adds strokeWidth attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeSuperscript: (BOOL)  superscript
range: (NSRange)  range 

Adds superscript attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeTextAlternatives: (NSTextAlternatives *)  textAlternatives
range: (10_8)  NS_AVAILABLE_MAC 

Adds textAlternatives attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeToolTip: (NSString *)  toolTip
range: (NSRange)  range 

Adds toolTip attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeUnderlineColor: (NSColor *)  underlineColor
range: (NSRange)  range 

Adds underlineColor attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeUnderlineStyle: (NSUnderlineStyle underlineStyle
range: (NSRange)  range 

Adds underlineStyle attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeUnderlineStyle: (NSUnderlineStyle underlineStyle
range: (NSRange)  range 

Adds underlineStyle attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeVerticalGlyphForm: (NSVerticalGlyphForm verticalGlyphForm
range: (NSRange)  range 

Adds verticalGlyphForm attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeVerticalGlyphForm: (NSVerticalGlyphForm verticalGlyphForm
range: (10_7)  NS_AVAILABLE_MAC 

Adds verticalGlyphForm attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeWritingDirection: (NSWritingDirectionAttributes writingDirection
range: (10_6)  NS_AVAILABLE_MAC 

Adds writingDirection attribute value to the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) addAttributeWritingDirectionArray: (NSArray *)  writingDirectionArray
range: (10_6)  NS_AVAILABLE_MAC 

Adds writingDirection attribute value as array to the characters in the specified range.

- (void) removeAttributeAttachmentFromRange: (NSRange)  range

Removes attachment attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeBackgroundColorFromRange: (NSRange)  range

Removes backgroundColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeBackgroundColorFromRange: (NSRange)  range

Removes backgroundColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeBaselineOffsetFromRange: (NSRange)  range

Removes baselineOffset attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeCursorFromRange: (NSRange)  range

Removes cursor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeExpansionFromRange: (NSRange)  range

Removes expansion attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeFontFromRange: (NSRange)  range

Removes font attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeFontFromRange: (NSRange)  range

Removes font attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeForegroundColorFromRange: (NSRange)  range

Removes foregroundColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeForegroundColorFromRange: (NSRange)  range

Removes foregroundColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeKernFromRange: (NSRange)  range

Removes kern attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeKernFromRange: (NSRange)  range

Removes kern attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeLigatureFromRange: (NSRange)  range

Removes ligature attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeLigatureFromRange: (NSRange)  range

Removes ligature attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeLinkFromRange: (NSRange)  range

Removes link attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeMarkedClauseSegmentFromRange: (10_5)  NS_AVAILABLE_MAC

Removes markedClauseSegment attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeObliquenessFromRange: (NSRange)  range

Removes obliqueness attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeParagraphStyleFromRange: (NSRange)  range

Removes paragraphStyle attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeParagraphStyleFromRange: (NSRange)  range

Removes paragraphStyle attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeShadowFromRange: (NSRange)  range

Removes shadow attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeShadowFromRange: (NSRange)  range

Removes shadow attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrikethroughColorFromRange: (NSRange)  range

Removes strikethroughColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrikethroughStyleFromRange: (NSRange)  range

Removes strikethroughStyle attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrikethroughStyleFromRange: (NSRange)  range

Removes strikethroughStyle attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrokeColorFromRange: (NSRange)  range

Removes strokeColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrokeColorFromRange: (NSRange)  range

Removes strokeColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrokeWidthFromRange: (NSRange)  range

Removes strokeWidth attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeStrokeWidthFromRange: (NSRange)  range

Removes strokeWidth attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeSuperscriptFromRange: (NSRange)  range

Removes superscript attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeTextAlternativesFromRange: (10_8)  NS_AVAILABLE_MAC

Removes textAlternatives attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeToolTipFromRange: (NSRange)  range

Removes toolTip attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeUnderlineColorFromRange: (NSRange)  range

Removes underlineColor attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeUnderlineStyleFromRange: (NSRange)  range

Removes underlineStyle attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeUnderlineStyleFromRange: (NSRange)  range

Removes underlineStyle attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeVerticalGlyphFormFromRange: (NSRange)  range

Removes verticalGlyphForm attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeVerticalGlyphFormFromRange: (10_7)  NS_AVAILABLE_MAC

Removes verticalGlyphForm attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py

- (void) removeAttributeWritingDirectionFromRange: (10_6)  NS_AVAILABLE_MAC

Removes writingDirection attribute from the characters in the specified range.

Generated by NSAttributedStringCategoryInterface.py


The documentation for this category was generated from the following files: