<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSGrammaticalNumber",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSGrammaticalNumber"
  },
  "title" : "NSGrammaticalNumber"
}
-->

# NSGrammaticalNumber

A representation of grammatical number, used for inflecting strings.

```
enum NSGrammaticalNumber
```

## Topics

### Determining Grammatical Number

[`NSGrammaticalNumberZero`](/documentation/Foundation/NSGrammaticalNumber/zero)

Zero persons or things, as used for a grammatical number.

[`NSGrammaticalNumberSingular`](/documentation/Foundation/NSGrammaticalNumber/singular)

A single person or thing, as used for a grammatical number.

[`NSGrammaticalNumberPlural`](/documentation/Foundation/NSGrammaticalNumber/plural)

Multiple persons or things, as used for a grammatical number.

[`NSGrammaticalNumberPluralTwo`](/documentation/Foundation/NSGrammaticalNumber/pluralTwo)

Two persons or things, as used for a grammatical number.

[`NSGrammaticalNumberPluralFew`](/documentation/Foundation/NSGrammaticalNumber/pluralFew)

A small number of persons or things, as used for a grammatical number.

[`NSGrammaticalNumberPluralMany`](/documentation/Foundation/NSGrammaticalNumber/pluralMany)

A large number of persons or things, as used for a grammatical number.

[`NSGrammaticalNumberNotSet`](/documentation/Foundation/NSGrammaticalNumber/notSet)

A value that indicates the number is unset.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)