StateInUSA
public enum StateInUSA : String, CaseIterable, Decodable
Constituent political entity in the United States
-
Alabama
Declaration
Swift
case alabama = "AL" -
Alaska
Declaration
Swift
case alaska = "AK" -
Arizona
Declaration
Swift
case arizona = "AZ" -
Arkansas
Declaration
Swift
case arkansas = "AR" -
California
Declaration
Swift
case california = "CA" -
Colorado
Declaration
Swift
case colorado = "CO" -
Connecticut
Declaration
Swift
case connecticut = "CT" -
Delaware
Declaration
Swift
case delaware = "DE" -
Florida
Declaration
Swift
case florida = "FL" -
Georgia
Declaration
Swift
case georgia = "GA" -
Hawaii
Declaration
Swift
case hawaii = "HI" -
Idaho
Declaration
Swift
case idaho = "ID" -
Illinois
Declaration
Swift
case illinois = "IL" -
Indiana
Declaration
Swift
case indiana = "IN" -
Iowa
Declaration
Swift
case iowa = "IA" -
Kansas
Declaration
Swift
case kansas = "KS" -
Kentucky
Declaration
Swift
case kentucky = "KY" -
Louisiana
Declaration
Swift
case louisiana = "LA" -
Maine
Declaration
Swift
case maine = "ME" -
Maryland
Declaration
Swift
case maryland = "MD" -
Massachusetts
Declaration
Swift
case massachusetts = "MA" -
Michigan
Declaration
Swift
case michigan = "MI" -
Minnesota
Declaration
Swift
case minnesota = "MN" -
Mississippi
Declaration
Swift
case mississippi = "MS" -
Missouri
Declaration
Swift
case missouri = "MO" -
Montana
Declaration
Swift
case montana = "MT" -
Nebraska
Declaration
Swift
case nebraska = "NE" -
Nevada
Declaration
Swift
case nevada = "NV" -
New Hampshire
Declaration
Swift
case newHampshire = "NH" -
New Jersey
Declaration
Swift
case newJersey = "NJ" -
New Mexcio
Declaration
Swift
case newMexico = "NM" -
New York
Declaration
Swift
case newYork = "NY" -
North Carolina
Declaration
Swift
case northCarolina = "NC" -
North Dakota
Declaration
Swift
case northDakota = "ND" -
Ohio
Declaration
Swift
case ohio = "OH" -
Oklahoma
Declaration
Swift
case oklahoma = "OK" -
Oregon
Declaration
Swift
case oregon = "OR" -
/ Pennsylvania
Declaration
Swift
case pennsylvania = "PA" -
Rhode Island
Declaration
Swift
case rhodeIsland = "RI" -
South Carolina
Declaration
Swift
case southCarolina = "SC" -
/ South Dakota
Declaration
Swift
case southDakota = "SD" -
Tennessee
Declaration
Swift
case tennessee = "TN" -
Texas
Declaration
Swift
case texax = "TX" -
Utah
Declaration
Swift
case utah = "UT" -
Vermont
Declaration
Swift
case vermont = "VT" -
Virginia
Declaration
Swift
case virgina = "VA" -
Washington
Declaration
Swift
case washington = "WA" -
West Virginia
Declaration
Swift
case westVirginia = "WV" -
Wisconsin
Declaration
Swift
case wisconsin = "WI" -
Wyoming
Declaration
Swift
case wyoming = "WY" -
Returns name of the state, e.g. “California” for .california
Declaration
Swift
public var name: String { get } -
Returns 2 character state code, e.g. “CA” for .california
Declaration
Swift
public var postalAbbreviation: String { get }
View on GitHub
Install in Dash
StateInUSA Enumeration Reference