All Articles

Method Dispatch in Swift

Every time, when a method is called in Swift, Method Dispatch is involved. It tells your application where to find the method in memory before it gets executed...

Access Control

Swift’s ability to provide different access levels to types, properties, methods initializers, and subscripts is the reason why techniques like Encapsulation work at all in Swift - so it’s...

ContiguousArray

The Swift standard library provides different data types that represent multiple elements in a collection - one of these types is ContiguousArray.

Encapsulation

Encapsulation is one of the fundamental concepts of object-oriented programming. The idea behind Encapsulation is to combine data and functions into a single unit and protect the internal state and...

Polymorphism

Swift is a young language, but incorporates many old ideas and contains all features that have become standard in object-oriented programming languages.