Type Casting in swift with example
Using a broad type allows us to keep our code modular and manageable. It allows us to extend functionality at will. But at times we need to go specific to use the functionality specific to a particular type. In swift, we use inheritance and protocol as broad types as shown below As you can see … Read more