Posts
Simran.dev
Cancel

In the first part we learnt about passing functions as parameters to other functions. But to just pass a function we need to write a lot code of creating another function. It can get tedious someti...

Scenerio So I recently was working on an internal app for the company where we could silent certain push notifications depending on the the information they had. In the backend I wrote few Firebas...

Closures are blocks of code like functions that can be passed around as variables to other functions to be used at a later point of time. They can also be returned by functions. ...

Dictionary stores a list of key, value pairs of the same type in it. It does not have any order. Each iteration can result in different order of elements. A Dictionary is usually accessed us...

Set is similar to an array but it does not store duplicate values and set no particular order when storing elements. Set only stores data types that has Hashable. Default data types in Swift su...

Arrays are a ordered collection of items of similar type. Same values can repeat in arrays as many items as we want. Arrays use generics to define what type of collectio...

String can be defined as a collection of Characters into a single variable. var str: String = "This is a String" Character is a single value of a String var chat: Character = "!" Both are ...

You will find some blog posts and my thoughts on different aspects written here from time to time. Here you will find progressive blog posts, which means no blog post is every completely complete....

Trending Tags