![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Nitin Aggarwal has Published 156 Articles
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
122 Views
Error management in Swift is a technique for dealing with mistakes that happen while the code is running. It enables you to create code that smoothly predicts and deals with mistakes rather than crashing during execution. You will see some examples of how to deal with Swift code errors in ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
637 Views
In Swift, you can use the data(using:) method to convert a string to data. This method belongs to the string class and is used to retrieve a data value. In this article, you will see some examples of use cases of this approach. Here are the Steps for Converting NSString ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
2K+ Views
In Swift, you can convert a URL to a String using the absoluteString property of the URL. To convert a string to a URL, you can use the URL(string:) initializer. In this article, you will see many different examples of how to convert an URL to a string and vice ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
2K+ Views
In Swift, you can open the phone settings page with the click of a button. To open, you can use the UIApplication.shared.open() method. In Swift, you are able to use predefined expressions to open specific screens outside of the app. This predefined expression will help you to open the settings ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
471 Views
In iOS, the UIStackView itself doesn't have a background color property. However, you can add a subview to the UIStackView and set its background color. In this example, we will add a stack view with some subviews. After that, we will see how to apply the background color to the ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
2K+ Views
In Swift, there are two ways to open a link. One approach is to use the UIApplication class to open a link in the Safari browser. Another approach is using the SafariServices framework in iOS. Let's see some examples of how to open a link based on these approaches. Approach ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
11K+ Views
To make a VStack fill the screen width in SwiftUI, you can use the frame modifier with a maxWidth parameter set to ".infinity". In this article, you will see different examples of VStack with full width. VStack VStack is a layout container in SwiftUI that arranges views vertically in a ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
512 Views
To obscure a UITextField password in iOS, you can use the secureTextEntry property. This property allows you to hide the text entered into a text field by showing dots or asterisks instead of actual characters. In most iOS apps, we are required to obscure a UITextField to implement the password ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
1K+ Views
To create space at the beginning of a UITextField in Swift, you can set the leftView property of the text field to a UIView with the desired width. By default, UITextField does not provide a margin on the left or right side and this is the most common requirement to ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
1K+ Views
In Swift, you can extract regex matches using the NSRegularExpression class provided by the Foundation framework. Swift's NSRegularExpression is a powerful tool for working with regular expressions in Swift. It can be used for a wide range of text-processing tasks. NSRegularExpression Class You can make use of regular expressions with ... Read More