Monthly Archives: December 2014

[Swift] Extra argument ‘completion’ in call

In iOS 8 SDK Development, the use of a closure to act on a response from the user when we ask them to use their twitter account produces the following compilation error: The error is misleading because there is no … Continue reading

Posted in Programming, Swift | Leave a comment

[Swift] How to Pass By Reference via The Use of ‘inout’

  When defining a function the keyword ‘inout‘ is used in front of the variable name to denote an in-out parameter, which sets up the function as a kind of “pass-by-reference” function. Note, this is not real pass-by-reference as the variable … Continue reading

Posted in Devel | Leave a comment