Skip to content

normanhh3/US-State-Abbreviations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Property List for Mac development containing full uppercase US State/Possession names and two letter abbreviations.

Taken from:
http://www.usps.com/ncsc/lookups/usps_abbreviations.html

Usage:

// At the top of your class file (.m)
#import "NSString+USStateMap.h"

// Later in your class file (.m)

// Turn "California" -> "CA"
NSLog(@"What is the abbreviation for California? Answer: %@", [@"California" stateAbbreviationFromFullName]);

// Or

// Turn "CA" -> "California"
NSLog(@"What is the full name for the state abbreviation CA? Answer: %@", [@"CA" stateFullNameFromAbbreviation]);

About

Property List for iOS/Mac containing US state abbreviations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 64.8%
  • Ruby 35.2%