
Beginning Swift
By :

Throughout the past couple of lessons, we've been learning how to use Swift syntax, variables, functions, and control flow structures to develop the building blocks of Swift applications. In the final section of this lesson, we'll learn how to pull all those language components together into Swift's object-oriented classes and structures—the high-level building blocks of most professional Swift applications.
Swift is an object-oriented programming language, and enables the core principles of object-oriented programming. Generally speaking, in object-oriented programming, variables, functions and data structures that implement a functional unit of your program are combined into an object that exists within its own namespace, and is accessed by other objects through filtered, publicly exposed interfaces.
Using Swift, instances are created using both structs and classes. Structs and classes support encapsulation...
Change the font size
Change margin width
Change background colour