From 59b9e9daa6c46460d585ff437ce3b535e445ef61 Mon Sep 17 00:00:00 2001 From: Sharan Date: Wed, 25 Sep 2019 15:50:20 +0530 Subject: [PATCH] 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) }