Advertisement

Creating Functions

  • Scott Gardner
Chapter

Abstract

Swift functions are actually a type of closure, and Swift’s implementation of closures is both flexible and powerful—ranging from anonymous inline closures similar to Objective-C blocks, to complex functions extending far beyond the capabilities of an Objective-C method.

Keywords

Function Type Custom Operator Reference Type Return Type Instance Method 
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

© Scott Gardner 2014

Authors and Affiliations

  • Scott Gardner
    • 1
  1. 1.NYUS

Personalised recommendations