From 7e49d2c42ee8298badd9825bd97768f38513796a Mon Sep 17 00:00:00 2001
From: Dima Bart <dima.bart01@gmail.com>
Date: Wed, 4 May 2016 17:47:46 -0400
Subject: [PATCH] Make outlets private.

---
 Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/Base.lproj/Main.storyboard | 48 ++++++++++++++++++++++++------------------------
 Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/LoginViewController.swift  |  4 ++--
 Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/SignupViewController.swift | 12 ++++++------
 3 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/Base.lproj/Main.storyboard b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/Base.lproj/Main.storyboard
index 355db3b..35bd79d 100644
--- a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/Base.lproj/Main.storyboard
+++ b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/Base.lproj/Main.storyboard
@@ -99,10 +99,10 @@
                                         <rect key="frame" x="0.0" y="35" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="CuO-8G-HGT" id="T8u-Fh-qlI">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
-                                                <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Email" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vbn-uC-XFw">
+                                                <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Email" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vbn-uC-XFw">
                                                     <rect key="frame" x="15" y="1" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no"/>
@@ -132,10 +132,10 @@
                                         <rect key="frame" x="0.0" y="79" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="xe1-NR-O6X" id="tSM-6t-g5u">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
-                                                <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gT0-G1-ODs">
+                                                <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gT0-G1-ODs">
                                                     <rect key="frame" x="15" y="1" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no" secureTextEntry="YES"/>
@@ -169,11 +169,11 @@
                                         <rect key="frame" x="0.0" y="159" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="6Cp-fP-mzd" id="oJm-Gs-x7G">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Login" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="8jg-h9-et7">
-                                                    <rect key="frame" x="15" y="0.0" width="570" height="43.5"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
@@ -215,11 +215,11 @@
                                         <rect key="frame" x="0.0" y="35" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="G5x-10-Ra9" id="oaW-K3-MJI">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="First Name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="2iS-rI-oit">
-                                                    <rect key="frame" x="15" y="1" width="570" height="43"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no"/>
                                                 </textField>
@@ -248,11 +248,11 @@
                                         <rect key="frame" x="0.0" y="79" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KyE-NI-hIx" id="yua-gC-NXd">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Last Name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="sNT-35-pHr">
-                                                    <rect key="frame" x="15" y="1" width="570" height="43"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no"/>
                                                 </textField>
@@ -271,8 +271,8 @@
                                                 <mask key="constraints">
                                                     <exclude reference="0eE-Gv-qxf"/>
                                                     <exclude reference="6N4-tQ-prP"/>
-                                                    <exclude reference="cLu-TA-9B8"/>
                                                     <exclude reference="G2r-MP-acM"/>
+                                                    <exclude reference="cLu-TA-9B8"/>
                                                 </mask>
                                             </variation>
                                         </tableViewCellContentView>
@@ -285,11 +285,11 @@
                                         <rect key="frame" x="0.0" y="159" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="rJA-Oe-IPX" id="Vze-vB-Kb5">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Email" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="U7o-nc-tZu">
-                                                    <rect key="frame" x="15" y="1" width="570" height="43"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no"/>
                                                 </textField>
@@ -307,9 +307,9 @@
                                             <variation key="default">
                                                 <mask key="constraints">
                                                     <exclude reference="7Hg-Uj-ZF9"/>
-                                                    <exclude reference="lpm-EZ-gJG"/>
-                                                    <exclude reference="XXR-Fp-EJ7"/>
                                                     <exclude reference="K0p-uO-zoC"/>
+                                                    <exclude reference="XXR-Fp-EJ7"/>
+                                                    <exclude reference="lpm-EZ-gJG"/>
                                                 </mask>
                                             </variation>
                                         </tableViewCellContentView>
@@ -318,11 +318,11 @@
                                         <rect key="frame" x="0.0" y="203" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GGU-a2-prv" id="aZJ-PB-P8J">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Awl-iN-QFi">
-                                                    <rect key="frame" x="15" y="1" width="570" height="43"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no" secureTextEntry="YES"/>
                                                 </textField>
@@ -339,10 +339,10 @@
                                             </constraints>
                                             <variation key="default">
                                                 <mask key="constraints">
+                                                    <exclude reference="ElK-kj-Jd3"/>
                                                     <exclude reference="M3G-xO-KYo"/>
                                                     <exclude reference="pdm-dE-ueY"/>
                                                     <exclude reference="vRw-8q-z4p"/>
-                                                    <exclude reference="ElK-kj-Jd3"/>
                                                 </mask>
                                             </variation>
                                         </tableViewCellContentView>
@@ -351,11 +351,11 @@
                                         <rect key="frame" x="0.0" y="247" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="jqO-Mq-Cnd" id="tCu-Tf-cQW">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Confirm Password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="I3H-FZ-oJG">
-                                                    <rect key="frame" x="15" y="1" width="570" height="43"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <textInputTraits key="textInputTraits" autocorrectionType="no" secureTextEntry="YES"/>
                                                 </textField>
@@ -372,10 +372,10 @@
                                             </constraints>
                                             <variation key="default">
                                                 <mask key="constraints">
-                                                    <exclude reference="wbp-P1-eMD"/>
                                                     <exclude reference="4Ag-xS-apM"/>
-                                                    <exclude reference="ZUz-gW-lal"/>
                                                     <exclude reference="DGY-8e-jA5"/>
+                                                    <exclude reference="ZUz-gW-lal"/>
+                                                    <exclude reference="wbp-P1-eMD"/>
                                                 </mask>
                                             </variation>
                                         </tableViewCellContentView>
@@ -388,11 +388,11 @@
                                         <rect key="frame" x="0.0" y="327" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="81f-nB-Sh2" id="Mls-GG-NsX">
-                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Sign Up" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="0w1-5E-3cV">
-                                                    <rect key="frame" x="15" y="0.0" width="570" height="43.5"/>
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
                                                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="16"/>
                                                     <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
diff --git a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/LoginViewController.swift b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/LoginViewController.swift
index ba12aeb..9115b83 100644
--- a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/LoginViewController.swift
+++ b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/LoginViewController.swift
@@ -29,8 +29,8 @@ import Buy
 
 class LoginViewController: UITableViewController {
 
-    @IBOutlet weak var emailField:    UITextField!
-    @IBOutlet weak var passwordField: UITextField!
+    @IBOutlet private weak var emailField:    UITextField!
+    @IBOutlet private weak var passwordField: UITextField!
     
     var email:    String { return self.emailField.text    ?? "" }
     var password: String { return self.passwordField.text ?? "" }
diff --git a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/SignupViewController.swift b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/SignupViewController.swift
index abb288d..0c7ad89 100644
--- a/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/SignupViewController.swift
+++ b/Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/SignupViewController.swift
@@ -29,11 +29,11 @@ import Buy
 
 class SignupViewController: UITableViewController {
 
-    @IBOutlet weak var firstNameField:       UITextField!
-    @IBOutlet weak var lastNameField:        UITextField!
-    @IBOutlet weak var emailField:           UITextField!
-    @IBOutlet weak var passwordField:        UITextField!
-    @IBOutlet weak var passwordConfirmField: UITextField!
+    @IBOutlet private weak var firstNameField:       UITextField!
+    @IBOutlet private weak var lastNameField:        UITextField!
+    @IBOutlet private weak var emailField:           UITextField!
+    @IBOutlet private weak var passwordField:        UITextField!
+    @IBOutlet private weak var passwordConfirmField: UITextField!
     
     var firstName:       String { return self.firstNameField.text ?? "" }
     var lastName:        String { return self.lastNameField.text  ?? "" }
@@ -62,7 +62,7 @@ class SignupViewController: UITableViewController {
     //  MARK: - UITableViewDelegate -
     //
     override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
-        if indexPath.section == 1 {
+        if indexPath.section == 2 {
             
             if !self.email.isEmpty &&
                 !self.password.isEmpty &&
--
libgit2 0.26.0