Sex
An enumeration containing sex types
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Cases
Name
Description
The subject is a male.
The subject is a female.
The sex of the subject is undetermined.
Public variables
Name
Type
Description
Cases
Male
case Male
The subject is a male.
Female
case Female
The subject is a female.
Undetermined
case Undetermined
The sex of the subject is undetermined.
Public variables
stringValue
public var stringValue: String { get }
Example: "Female"
Returns the case name, separated by spaces, in string format.
Where this is used
Last updated