Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

PCAPredict/PCAiOSLib

Repository files navigation

PCAiOSLib

Introduction

The PCAiOSLib Cocoapod is an easy way to use the PCA Predict or Addressy type-ahead search technology within an iOS application.

Quick Start

A View Controller of type PCALookupViewController can be initilized with a license key, and then presented to the user. This will display a form with the type-ahread seach technology:

@IBAction func lookupAddressPressed(_ sender: Any) {
  let viewController = PCALookupViewController(licenseKey: "0000-0000-0000-0000");
  viewController.addressDelegate = self;
  self.present(viewController, animated: true, completion: nil);
}

On close of this form, func didRecieveAddress can be used, to retrieve the address response of type RetrieveResponseItem.

Example

A working example of how to implement this Cocoapod is available here. Please note you will need to register with either PCA Predict or Addressy for a license key.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •