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

Commit bb0cf8c

Browse files
HenrikHenrik
Henrik
authored and
Henrik
committed
Tidy up
1 parent 0763295 commit bb0cf8c

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

CapturePlusControl 1/AppDelegate.swift

-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// AppDelegate.swift
3-
// CapturePlusControl 1
4-
//
5-
// Created by Henry Thomas on 22/11/2016.
6-
// Copyright © 2016 Henry Thomas. All rights reserved.
7-
//
8-
91
import UIKit
102
import PCAiOSLib
113

CapturePlusControl 1/FormViewController.swift

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//
2-
// FormViewController.swift
3-
// CapturePlusControl 1
4-
//
5-
// Created by Henry Thomas on 02/12/2016.
6-
// Copyright © 2016 Henry Thomas. All rights reserved.
7-
//
8-
91
import UIKit
102
import PCAiOSLib
113

@@ -14,7 +6,7 @@ class FormViewController: UIViewController, PCALookupViewDelegate {
146
override func viewDidLoad() {
157
super.viewDidLoad()
168

17-
let pcaView = PCALookupViewController(licenseKey: "LL00-UU00-KK00-EE00");
9+
let pcaView = PCALookupViewController(licenseKey: "0000-0000-0000-0000");
1810
pcaView.addressDelegate = self;
1911
if !pcaView.isValid(){
2012
self.btnPCALookup.isHidden = true;
@@ -28,7 +20,7 @@ class FormViewController: UIViewController, PCALookupViewDelegate {
2820
@IBOutlet weak var txtPostcode: UITextField!
2921

3022
@IBAction func lookupAddressPressed(_ sender: Any) {
31-
let viewController = PCALookupViewController(licenseKey: "LL00-UU00-KK00-EE00");
23+
let viewController = PCALookupViewController(licenseKey: "0000-0000-0000-0000");
3224
viewController.addressDelegate = self;
3325
self.present(viewController, animated: true, completion: nil);
3426
}
@@ -54,6 +46,8 @@ class FormViewController: UIViewController, PCALookupViewDelegate {
5446
return .blue;
5547
}*/
5648

49+
//Example of PCA extra fields
50+
5751
func pca_extraFieldFormats() -> [String] {
5852
var formats = [String]();
5953
formats.append("{Longitude}");

0 commit comments

Comments
 (0)