Monthly Archives: August 2020

Static and Class Keyword in Swift
Before we talk about how static and class keyword are different with each other, lets see how they are similar. How They Are Similar? Static and Class keyword when applied on a variable or function, make it Type method. Type Methods are the methods which you can call directly without creating instance of the class. […]

Variadic Functions in Swift
Variadic Functions are those which accept from zero to N number of parameters. The most common function which you use almost daily is the print() method You can do print(“abc”) or you can also do print(“a”,”b”,”c”,”d”) or any number of parameters and it will print it all. Let’s see how you can create your own […]

Extensions In Swift
It’s been a long time since I have written a blog. But today, a post on Stackoverflow motivated me so much to write a post on the use of Extensions In Swift. Why? Because I have seen many beginners totally neglecting extensions and have no idea how useful they can be. So I will try […]