<!--
{
  "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/NSGrammaticalGender",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSGrammaticalGender"
  },
  "title" : "NSGrammaticalGender"
}
-->

# NSGrammaticalGender

A representation of grammatical gender, used for inflecting strings.

```
enum NSGrammaticalGender
```

## Topics

### Determining Grammatical Gender

[`NSGrammaticalGenderFeminine`](/documentation/Foundation/NSGrammaticalGender/feminine)

The feminine grammatical gender.

[`NSGrammaticalGenderMasculine`](/documentation/Foundation/NSGrammaticalGender/masculine)

The masculine grammatical gender.

[`NSGrammaticalGenderNeuter`](/documentation/Foundation/NSGrammaticalGender/neuter)

A value to not specify gender when inflecting a string.

[`NSGrammaticalGenderNotSet`](/documentation/Foundation/NSGrammaticalGender/notSet)

A value that indicates the gender is unset.

## Relationships

### Conforms To

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

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

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

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

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

[`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)