- Trending Categories
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
1K+ Views
In this article, you will learn how to obtain the Nth character of a string. You will use the index() method to get the Nth character of a string. This method will give you the position index of the given string. How to use the Index() Method? Let's look at ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
2K+ Views
Since Array and NSArray are both core constructs in iOS development, we sometimes forget just how different they are. Here are some major differences between the two constructs that you should know about. Array is a struct, therefore it is a value type in Swift. NSArray is an immutable ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
845 Views
Throughout this article, you will learn what an attribute in Swift is and how to use it with code examples. Swift Attributes Swift makes it possible to provide some additional info about the declaration or type. We have two types of attributes that can be used in Swift language. ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
4K+ Views
In this article, you will learn about what Delegate is and how it works. What is Delegation? As the name implies, delegation gives control to other objects. To make it happen, the delegate object has to be assigned to control other objects. In iOS apps, the UIApplicaitonDelegate is an ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
963 Views
In this article, you will learn about the different execution states of an iOS application. Based on the current state, you can decide what task you want to perform. There are different states that an app might have. The iPhone operating system (iOS) provides us with different five states of ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
1K+ Views
In this article, we will discuss Swift's comments, why, and how to use them correctly in Swift. Always keep one thing in mind while writing code i.e. The code must be written for people to read and understand as much as possible. Similarly to the Swift language, comments are very ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
482 Views
Declaring variables as optional is always recommended and should be the first choice of a developer. You should mark them as optional if they can be invalid (nil or another type). Being developers, we consider it our responsibility to write safe and secure code. To make it possible, Swift provides ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
254 Views
Introduction This article will guide you about the usage of Class and what are the benefits of using inheritance in the Swift language. In this article, we will cover the following things − What is a class and what is its usage in Swift? What is inheritance and what ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
423 Views
As an iOS developer, it is imperative to understand the difference between functions and methods in the Swift language. It might be confusing for you to understand the difference between function and method, but you might be thinking they are both the same. That's not true. They have some differences ... Read More
![Nitin Aggarwal](https://www.tutorialspoint.com/assets/profiles/558477/profile/60_3034393-1669108333.jpg)
Nitin Aggarwal
475 Views
In this tutorial, you will get to know about some common design patterns that you should follow while making iOS apps. What are Swift Design Patterns? In Swift, design patterns make the development process easy for developers. A productive and effective work environment can be created by following the design ... Read More