Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to pass functions as parameters to other functions in swift? Please tell small code example.

What I have tried:

I have tried a lot. Actually I am new in Swift so I am looking for an example for: How to pass functions as parameters to other functions in swift? Please tell small code example.
Posted
Updated 19-Mar-17 5:56am
v2

It is always a good start to read the documentation...
[^]
(Read all, but focus on Function Types as Parameter Types)
After that do some work, and came back with actual question!!!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900