Documentation

 

SmartyStreets iOS SDK

If you want to access our US Street Address API or US ZIP Code API from an app written in Objective-C or Swift, the SmartyStreets iOS SDK can make it a lot easier. Our iOS SDK includes ready-made data structures and takes care of all the gritty, low-level HTTP intricacies for you.

Contents

  1. Requirements
  2. How to Get It
    1. CocoaPods
    2. Carthage
    3. Download the Source Code
  3. How to Use It
    1. Demo
    2. Examples
  4. API Reference Material

Requirements

  1. Decide to build a software project using Objective-C or Swift.
  2. Download and install XCode.
  3. Make sure you are using iOS 8.4 or higher as your target framework.
  4. Build enough of the project to realize that you now need an address verification component.
  5. Wisely conclude that you don't want to build your own address verification component.
  6. Realize that SmartyStreets has already created an address verification component.
  7. Congratulations! You are now ready to use the SmartyStreets iOS SDK.

How to Get It

CocoaPods

The easiest way to get your giddy hands on this goodness is by using CocoaPods. You can then use the SmartyStreets framework in your iOS project. (See the examples below.)

Carthage

While it's easier to install frameworks through CocoaPods, Carthage is a more flexible approach to installing third-party frameworks.

Download the Source Code

You can find source code of the SmartyStreets iOS repository on Github which contains many sample code snippets.

Use the source, Luke!

How to Use It

iOS Objective-C Demo

iOS Swift Demo

macOS Demo

Examples

Here are a few examples showing how to use the iOS SDK:

This site uses cookies for analytics, personalized content, and ads. By continuing to browse this site, you agree to this use.
Consuming raw or undercooked cookie dough may increase your risk of foodborne illness.