UITextField

In this tutorial, you will learn how to check if a UITextField contains a value in Swift. I will cover the following topics: Understanding the isEmpty property. Using the isEmpty property to check if a UITextField is empty. Handling the case when the UITextField is empty. If you are new to UITextField, check out this tutorial: Create…

Read More Check If UITextField Contains Value

In this tutorial, you will learn how to programmatically create a UITextField in Swift. It will be a short tutorial with a very simple code example, but it will cover all the following: Create UITextField of specific height and width, Position UITextField at the center of the view, Set UITextField backgroundColor, Set UITextField textColor, Set…

Read More Create a UITextField in Swift Programmatically