Advertisement

Functions and Closures

  • Waqar Malik

Abstract

Functions are self-contained blocks of code that perform a specific task. Swift’s functions are very flexible. They can be very simple, such as the println or print functions, or very complex.

Keywords

Specific Task Local Parameter Function Type External Parameter Return Type 
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.

Copyright information

© Waqar Malik 2015

Authors and Affiliations

  • Waqar Malik
    • 1
  1. 1.CAUnited States

Personalised recommendations