Up

# NSFontCollection documentation

### Authors

Generated by root

### Contents -

1. Software documentation for the NSFontCollection class
2. Software documentation for the NSMutableFontCollection class

# Software documentation for the NSFontCollection class

## NSFontCollection : NSObject

> Declared in:
>   AppKit/NSFontCollection.h

> Conforms to:
>   NSCopying
>   NSMutableCopying
>   NSCoding

Availability: MacOS-X 10.7.0
Description forthcoming.

Instance Variables
Method summary

- +allFontCollectionNames
- +fontCollectionWithAllAvailableDescriptors
- +fontCollectionWithDescriptors:
- +fontCollectionWithLocale:
- +fontCollectionWithName:
- +fontCollectionWithName:visibility:
- +hideFontCollectionWithName:visibility:error:
- +renameFontCollectionWithName:visibility:toName:error:
- +showFontCollection:withName:visibility:error:
- -exclusionDescriptors
- -matchingDescriptors
- -matchingDescriptorsForFamily:
- -matchingDescriptorsForFamily:options:
- -matchingDescriptorsWithOptions:
- -queryDescriptors

### allFontCollectionNames

+ (NSArray*) allFontCollectionNames;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithAllAvailableDescriptors

+ (NSFontCollection*) fontCollectionWithAllAvailableDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithDescriptors:

+ (NSFontCollection*) fontCollectionWithDescriptors: (NSArray*)queryDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithLocale:

+ (NSFontCollection*) fontCollectionWithLocale: (NSLocale*)locale;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithName:

+ (NSFontCollection*) fontCollectionWithName: (NSFontCollectionName)name;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithName: visibility:

+ (NSFontCollection*) fontCollectionWithName: (NSFontCollectionName)name visibility: (NSFontCollectionVisibility)visibility;
Availability: MacOS-X 10.7.0
Description forthcoming.

### hideFontCollectionWithName: visibility: error:

+ (BOOL) hideFontCollectionWithName: (NSFontCollectionName)name visibility: (NSFontCollectionVisibility)visibility error: (NSError**)error;
Availability: MacOS-X 10.7.0
Description forthcoming.

### renameFontCollectionWithName: visibility: toName: error:

+ (BOOL) renameFontCollectionWithName: (NSFontCollectionName)aname visibility: (NSFontCollectionVisibility)visibility toName: (NSFontCollectionName)name error: (NSError**)error;
Availability: MacOS-X 10.7.0
Description forthcoming.

### showFontCollection: withName: visibility: error:

+ (BOOL) showFontCollection: (NSFontCollection*)collection withName: (NSFontCollectionName)name visibility: (NSFontCollectionVisibility)visibility error: (NSError**)error;
Availability: MacOS-X 10.7.0
Description forthcoming.

### exclusionDescriptors

- (NSArray*) exclusionDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### matchingDescriptors

- (NSArray*) matchingDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### matchingDescriptorsForFamily:

- (NSArray*) matchingDescriptorsForFamily: (NSString*)family;
Availability: MacOS-X 10.7.0
Description forthcoming.

### matchingDescriptorsForFamily: options:

- (NSArray*) matchingDescriptorsForFamily: (NSString*)family options: (NSDictionary*)options;
Availability: MacOS-X 10.7.0
Description forthcoming.

### matchingDescriptorsWithOptions:

- (NSArray*) matchingDescriptorsWithOptions: (NSDictionary*)options;
Availability: MacOS-X 10.7.0
Description forthcoming.

### queryDescriptors

- (NSArray*) queryDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

## Instance Variables for NSFontCollection Class

### _fontCollectionDictionary

@protected NSMutableDictionary* _fontCollectionDictionary;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

# Software documentation for the NSMutableFontCollection class

## NSMutableFontCollection : NSFontCollection

> Declared in:
>   AppKit/NSFontCollection.h

Availability: MacOS-X 10.7.0
Description forthcoming.
Method summary

- +fontCollectionWithAllAvailableDescriptors
- +fontCollectionWithDescriptors:
- +fontCollectionWithLocale:
- +fontCollectionWithName:
- +fontCollectionWithName:visibility:
- -addQueryForDescriptors:
- -exclusionDescriptors
- -queryDescriptors
- -removeQueryForDescriptors:
- -setExclusionDescriptors:
- -setQueryDescriptors:

### fontCollectionWithAllAvailableDescriptors

+ (NSMutableFontCollection*) fontCollectionWithAllAvailableDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithDescriptors:

+ (NSMutableFontCollection*) fontCollectionWithDescriptors: (NSArray*)queryDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithLocale:

+ (NSMutableFontCollection*) fontCollectionWithLocale: (NSLocale*)locale;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithName:

+ (NSMutableFontCollection*) fontCollectionWithName: (NSFontCollectionName)name;
Availability: MacOS-X 10.7.0
Description forthcoming.

### fontCollectionWithName: visibility:

+ (NSMutableFontCollection*) fontCollectionWithName: (NSFontCollectionName)name visibility: (NSFontCollectionVisibility)visibility;
Availability: MacOS-X 10.7.0
Description forthcoming.

### addQueryForDescriptors:

- (void) addQueryForDescriptors: (NSArray*)descriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### exclusionDescriptors

- (NSArray*) exclusionDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### queryDescriptors

- (NSArray*) queryDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### removeQueryForDescriptors:

- (void) removeQueryForDescriptors: (NSArray*)descriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### setExclusionDescriptors:

- (void) setExclusionDescriptors: (NSArray*)exclusionDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

### setQueryDescriptors:

- (void) setQueryDescriptors: (NSArray*)queryDescriptors;
Availability: MacOS-X 10.7.0
Description forthcoming.

Up