You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2020. It is now read-only.
The PCAiOSLib Cocoapod is an easy way to use the PCA Predict or Addressy type-ahead search technology within an iOS application.
5
+
6
+
## Quick Start
7
+
8
+
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:
9
+
10
+
```swift
11
+
@IBActionfunclookupAddressPressed(_sender: Any) {
12
+
let viewController =PCALookupViewController(licenseKey: "0000-0000-0000-0000");
On close of this form, func didRecieveAddress can be used, to retrieve the address response of type RetrieveResponseItem.
19
+
20
+
## Example
21
+
22
+
A working example of how to implement this Cocoapod is coming soon. Please note you will need to register with either [PCA Predict](http://www.pcapredict.com"PCA Predict") or [Addressy](https://www.addressy.com"Addressy") for a license key.
0 commit comments