Change UIButton Text Programmatically in Swift

Nitin Aggarwal
Updated on 28-Feb-2023 12:18:50

8K+ Views

To change the text of a UIButton in Swift, you can use the setTitle() method of the button. This method takes an argument to set the button title for a particular state. Generally, we used the normal button state. We will change the text of the button programmatically by following the below steps − Step 1 − In this step, we will create two buttons (login and T&C) and add basic customization. Step 2 − In this step, we will change the text of the login button. Step 3 − In this step, we will change the text of the ... Read More

Go Back to Previous ViewController in Swift

Nitin Aggarwal
Updated on 28-Feb-2023 12:15:25

6K+ Views

This article explains how to go back from a view controller programmatically using Swift language. You will see an example of using the popViewController method to go back to the previous controller. What is ViewController in Swift? In Swift, a UIViewController manages the interaction between the user interface and the logic data. It is responsible for handling user interactions with the user interface. The class is part of the UIKit framework and provides some functions and properties along with a life cycle. This class is the most common class used in iOS development. To go back to a previous view ... Read More

Hide Keyboard in Swift by Pressing the Return Key

Nitin Aggarwal
Updated on 28-Feb-2023 12:14:04

3K+ Views

In this article, you will learn about how you can hide the keyboard while editing text in the UITextField. In this example, you will hide the keyboard by pressing the return button on the keyboard. In the Swift language, UITextField class provides us with some delegate methods. They called on different actions or events. We will implement one of the delegate methods to hide the keyboard. Also, you will see how to change the return type if required. In this example, we will hide the keyboard in UITextField to enter an email address by following the below steps − ... Read More

Change Font of UIButton with Swift

Nitin Aggarwal
Updated on 28-Feb-2023 12:12:57

11K+ Views

In Swift, this is very easy to change the font of a button. You can use the titleLabel property of the button which is of type UILabel class. This property provides another property called font to apply the desired font. Let’s see some examples of changing the font. We will follow the below steps to change the font of a button − Step 1 − Initially, we will do the basic setup with button creation and customization. Step 2 − In this step, we will change the system font with size and weight. Step 3 − In this ... Read More

Create Infographics with Canva

Zahwah Jameel
Updated on 27-Feb-2023 17:42:34

1K+ Views

Tired of the same old boring presentation? Want to add something to make your classes more interesting? An infographic maybe the solution to this problem.Infographics are one of the most engaging methods of visual representation of data and statistics in formats that are readable and easy to interpret for your audience on any form of visual platform.Infographics are one of the most effective ways to transform your ideas into an amazing piece of visual content when provided with the right tools. Canva can be this tool for you.Why should you use Canva for Infographics?Canva is a highly versatile free graphic ... Read More

Why People are Choosing a Digital Marketing Career

Shivam Jadoun
Updated on 27-Feb-2023 16:45:50

571 Views

A career in digital marketing can provide you with a great opportunity to explore the world of business. The technological advancements that have occurred over the years have greatly exceeded our expectations. Not only have they created new jobs, but they have also helped people gain a deeper understanding of the world of business. As per the Simplilearn website, the global digital marketing market is expected to reach a value of over $24 billion by 2028. It is predicted that there will be around 6 billion internet users in 2027. The main reason why people choose digital marketing as ... Read More

10 Types of Digital Marketing Services

Shivam Jadoun
Updated on 27-Feb-2023 16:44:37

663 Views

Digital marketing is one of the best ways to achieve desired results for your business. However, to implement these strategies, one needs to understand the basics of online marketing. A digital marketing campaign involves the promotion of a product or service over digital platforms. Digital marketing services have changed the way consumers shop for products and services. Compared to other forms of promotion and marketing, digital marketing is one of the cheapest and most efficient. Understanding digital marketing is vital to achieving your targets. It can help boost your traffic, attract more clients, and engage your audience. There are ... Read More

PhD in Digital Marketing: Career and Salary Insights

Shivam Jadoun
Updated on 27-Feb-2023 16:43:42

755 Views

Online or digital marketing courses are quite popular, and Ph.D. in digital marketing is totally worth the hype. A Ph.D. degree will allow you to work as a domain expert and do research in similar fields. Digital marketing is one of the most lucrative fields in terms of growth. Ph.D. programmes focus more on creating scholars and experts to excel in the industry. These graduates will help the industry move forward. A Ph.D. in Digital Marketing allows you to focus on business research, and it is regarded as one of the most prestigious academic degrees in the field. In ... Read More

Build an Email List from Scratch

Shivam Jadoun
Updated on 27-Feb-2023 16:42:35

400 Views

Email marketing is one of the most widely used methods of digital marketing to promote your products and services. One of the best ways to utilize this method is to have an email list. An email list is a list of visitors to your website who show interest in your product or service. It can be sent to their inbox in a digital format. The list has the emails of those persons, who agreed to receive information, updates, discounts, and other details related to your product and service. Building an email list is the most vital part of email ... Read More

Digital Marketer Earnings in India 2023: From Average to Highest

Shivam Jadoun
Updated on 27-Feb-2023 16:41:48

288 Views

As digital marketing continues to grow in India, many students are wondering how much they can earn in the country. Unfortunately, there is not a single answer to this question, as it depends on various factors such as education, technical skills, and soft skills. One of the main reasons that digital marketing is growing in India is digitization. Most businesses are going online in order to reach more people for less money, and one of the best ways to do this is through online marketing. The rapid emergence and evolution of digital marketing have created numerous opportunities for companies ... Read More

Advertisements