Gender

public enum Gender: Int

Enum to define a CharacterResource or PersonResource’s gender.

  • The gender could not be inferred from the Giant Bomb API.

    Declaration

    Swift

    case unknown = 0
  • Male

    Declaration

    Swift

    case male
  • Female

    Declaration

    Swift

    case female
  • Other. Used for characters like robots or other entities without a sex.

    Declaration

    Swift

    case other
  • Returns a user-facing representation of the gender.

    Declaration

    Swift

    public var description: String