swift

swift

Swift 4 Tutorial : Dictionary

Dictionaries are Collection that store key-value paired items.The values are of same type and all items are stored without any order. You can access any item using its key. It is not required that the keys should be a number always. All the keys should be of the same type and unique.A dictionary can be variable or constant in swift.

Read
swift

Swift Set tutorial : Create, access, modify and iterating a Set

Previously we have discussed about arrays in swift. Similar to array, set is another collection data type in swift. The main difference is that the elements in a set are unordered and it contain only unique elements. In this tutorial, we will show you how to create a set and different set operations :.

Read
swift

Introduction to Swift Array - swift 3/swift 4/swift 5

Introduction with examples to swift array for beginners. Swift array is used to store values of similar type. This post will show you how to use swift array with examples.

Read
swift

Swift program to check if two strings or characters are equal

In swift, we can compare two strings or two characters using 'equal to ' and 'not equal to' operators. Learn how to check if two strings or characters are equal in swift.

Read
swift

Checking Prefix and Postfix of a String in Swift 4

Swift program to check if a string is starting with different sub-string or ends with a different substring. Learn how to do Prefix and Postfix checking in swift with example.

Read