Chapter 9.  Making Some Friends

The last couple of chapters have introduced a lot of central concepts in the world of programming and we're getting really close to being able to start writing some real programs for our iPhone. One important piece of the puzzle is a strategy to divide the different responsibilities of our code and model the things we are trying to solve with our program.

Object-Oriented Programming (OOP) is a strategy to design our programs and is supported by the Swift language and widely used among Swift developers. Designing our code base using an object-oriented approach makes it easier for us to map our human understanding of a real-world problem into our code. It also makes it easier for us to reason about our code, which ...

Get Swift iOS Programming for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.