O'Reilly logo

Learn Swift on the Mac: For OS X and iOS by Waqar Malik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    4

Introduction to Object-Oriented Programming

If you have any experience with programing, chances are good you’ve at least heard the term object-oriented programming, OOP for short. This is one of the techniques used when programming, along with structured and functional programming.

OOP was developed for writing simulation programs, but because the benefits of the technique became readily apparent, it was soon adapted for writing general-purpose programs.

OOP is a way to construct objects that perform specialized tasks in tandem with other objects, by communicating with each other using defined interfaces. This chapter provides an overview of OOP’s concepts and principles.

I’ll be using some terms that require explanation, so before ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required