FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSAttributedString+UIKit.h File Reference

NSMutableAttributedString attributes dictionary and data type to support it. More...

#import <UIKit/UIKit.h>
#import <FoundationExtension/NSADictionary.h>

Go to the source code of this file.

Classes

category  NSMutableAttributedString(AttributeProperties)
 Dictionary with easy attribute interface. More...
 
class  NSAttributedStringAttributeDictionary
 NSMutableAttributedString attributes dictionary. More...
 

Typedefs

typedef NSUInteger NSLigatureType
 Type for ligature style. More...
 
typedef NSUInteger NSVerticalGlyphForm
 Type for vertical glyph form. More...
 

Enumerations

enum  { NSLigatureStandard = 0, NSLigatureNo = 1 }
 Values for ligature style. More...
 
enum  { NSVerticalGlyphFormHorizontal = 0, NSVerticalGlyphFormVertical = 1 }
 Values for vertical glyph form. More...
 

Detailed Description

NSMutableAttributedString attributes dictionary and data type to support it.

NSAttributedString uses dictionary to set or add attribute to string. But this interface is very human-unfriendly. This file adds new interface for attributes dictionary.

Available in iOS 6.0 or later. UIKit is required.

Before iOS 6.0, use CoreText.

Typedef Documentation

typedef NSUInteger NSLigatureType

Type for ligature style.

See also
NSLigatureAttributeName
typedef NSUInteger NSVerticalGlyphForm

Type for vertical glyph form.

See also
NSVerticalGlyphFormAttributeName

Enumeration Type Documentation

anonymous enum

Values for ligature style.

See also
NSLigatureAttributeName
Enumerator
NSLigatureStandard 
NSLigatureNo 
anonymous enum

Values for vertical glyph form.

See also
NSVerticalGlyphFormAttributeName
Enumerator
NSVerticalGlyphFormHorizontal 
NSVerticalGlyphFormVertical