Skip to content

Swift library for manipulating postal codes.

License

Notifications You must be signed in to change notification settings

Developer1103/ZipCode4s

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZipCode4s

Swift library for manipulating postal codes.

Installation

CocoaPods

pod 'ZipCode4s'

Carthage

github "Taillook/ZipCode4s"

Usage

code

import ZipCode4s
let addrInfo = ZipCode(zipcode: "1500043")

print(addrInfo.zipcode)
print(addrInfo.prefecture)
print(addrInfo.prefectureKana)
print(addrInfo.city)
print(addrInfo.cityKana)
print(addrInfo.town)
print(addrInfo.townKana)

result

1500043
東京都
トウキョウト
渋谷区
シブヤク
道玄坂
ドウゲンザカ

Contribution

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

Taillook

About

Swift library for manipulating postal codes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 88.7%
  • Ruby 6.5%
  • Objective-C 4.8%