Kodeco Forums

Intermediate Swift Part 4: Closures

Learn about closures which are self contained blocks of code that you can store and then call on later.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4190-intermediate-swift-2/lessons/5

Thank you very much for the tutorial. :smile:

Now Iā€™m confusing about the difference between functions and closures.
Is there any guideline explaining how to maximise the power of closure? such as best practices??

Many thanks in advance.