Changes

Jump to: navigation, search

An Overview of Swift Functions and Closures

31 bytes added, 15:47, 23 December 2015
Working with In-Out Parameters
<google>BUY_IOS8</google>
== Working with In-Out Parameters ==
<google>ADSDAQBOX_FLOW</google>
When the value assigned to a variable is passed through as an argument to a function, and that function both declares the parameter as a variable, and specifically changes that value, the question arises as to whether that change is reflected in the original variable. Consider the following code:

Navigation menu