# `GSFeature`

*Class*

The class defining the feature object

## Declaration

```swift
class GSFeature
```

```objc
@interface GSFeature : GSFeaBlock
```

```python
class GSFeature(GSFeaBlock)
```

## Overview

This class defines the feature object. It is used to store OpenType features in Adobe FDK syntax

## Topics

### Instance Properties

- [`GSFeature.label`](/Core/GlyphsCore/GSFeature/label)
- [`GSFeature.tag`](/Core/GlyphsCore/GSFeature/tag) — The feature tag.

### Instance Methods

- [`GSFeature featureNamesString`](/Core/GlyphsCore/GSFeature/featureNamesString)
- [`GSFeature fullName`](/Core/GlyphsCore/GSFeature/fullName) — The full, localized name.
- [`GSFeature isCharacterVariant`](/Core/GlyphsCore/GSFeature/isCharacterVariant)
- [`GSFeature isEqualToFeature:`](/Core/GlyphsCore/GSFeature/isEqualToFeature:)
- [`GSFeature isStylisticSet`](/Core/GlyphsCore/GSFeature/isStylisticSet)
- [`GSFeature setSubstitutions:`](/Core/GlyphsCore/GSFeature/setSubstitutions:)

### Type Methods

- [`GSFeature applyTokensToString:key:name:forObjects:langTag:error:`](/Core/GlyphsCore/GSFeature/applyTokensToString:key:name:forObjects:langTag:error:)
- [`GSFeature applyVersionNumber:objects:`](/Core/GlyphsCore/GSFeature/applyVersionNumber:objects:)
- [`GSFeature evaluatePredicateToken:font:contextLabel:error:`](/Core/GlyphsCore/GSFeature/evaluatePredicateToken:font:contextLabel:error:)
- [`GSFeature evaluateToken:forObjects:error:`](/Core/GlyphsCore/GSFeature/evaluateToken:forObjects:error:)
- [`GSFeature filterGlyphNamesByPredicateToken:font:contextLabel:error:`](/Core/GlyphsCore/GSFeature/filterGlyphNamesByPredicateToken:font:contextLabel:error:)
- [`GSFeature importFeatureNames:error:`](/Core/GlyphsCore/GSFeature/importFeatureNames:error:)
- [`GSFeature isStylisticSetTag:`](/Core/GlyphsCore/GSFeature/isStylisticSetTag:)

## Relationships

### Inherits From

- [`GSFeaBlock`](/Core/GlyphsCore/GSFeaBlock)

### Conforms To

- `NSCoding`
- `NSCopying`

## See Also

### Layout Features

- [`GSFeaBlock`](/Core/GlyphsCore/GSFeaBlock) — A snippet of feature code.
- [`GSFeaturePrefix`](/Core/GlyphsCore/GSFeaturePrefix) — The class defining the Prefix object
- [`GSClass`](/Core/GlyphsCore/GSClass) — The class represents the OpenType classes

