From 59b9e9daa6c46460d585ff437ce3b535e445ef61 Mon Sep 17 00:00:00 2001 From: Sharan Date: Wed, 25 Sep 2019 15:50:20 +0530 Subject: [PATCH 1/2] Added a new texfield to enter city name --- TestingCarthage/ViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TestingCarthage/ViewController.swift b/TestingCarthage/ViewController.swift index 7f974c6..45ca0a0 100644 --- a/TestingCarthage/ViewController.swift +++ b/TestingCarthage/ViewController.swift @@ -20,6 +20,10 @@ class ViewController: UIViewController { textField.title = "Your full name" self.view.addSubview(textField) print("added this line for test") + let textField2 = SkyFloatingLabelTextField(frame: CGRect(x: 50, y: 275, width: 200, height: 50)) + textField2.placeholder = "City" + textField2.title = "Your city name" + self.view.addSubview(textField2) } From 20fa9941d921fd061b4922fbf1f177f91361fe53 Mon Sep 17 00:00:00 2001 From: Bhuvana Date: Thu, 26 Sep 2019 15:51:36 +0530 Subject: [PATCH 2/2] Added a new textfield --- TestingCarthage/ViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TestingCarthage/ViewController.swift b/TestingCarthage/ViewController.swift index 45ca0a0..6651f07 100644 --- a/TestingCarthage/ViewController.swift +++ b/TestingCarthage/ViewController.swift @@ -24,6 +24,10 @@ class ViewController: UIViewController { textField2.placeholder = "City" textField2.title = "Your city name" self.view.addSubview(textField2) + let textField3 = SkyFloatingLabelTextField(frame: CGRect(x: 50, y: 300, width: 200, height: 50)) + textField3.placeholder = "Country" + textField3.title = "Your country name" + self.view.addSubview(textField3) }