Creating Classes and Objects

  • Wallace Wang


The heart of programming in Swift using Xcode is object-oriented programming. The main idea is to divide a large program into separate objects where each object ideally represents a physical entity. For example, if you were creating a program to control a car, one object might represent the car’s engine, a second object might represent the car’s entertainment system, and a third object might represent the car’s heating and cooling system.


Shoot Method Property Observer Compute Property Text Field Push Button 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material (77 kb)
ch11 (zip 77 kb)

Copyright information

© Wallace Wang 2015

Authors and Affiliations

  • Wallace Wang
    • 1
  1. 1.CAUS

Personalised recommendations