Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. func foo(completionHandler: (String!, unz_file_info, Int, Int)->Void){
  2. //do whatever you need to
  3. completionHandler("this is a string", <object of type unz_file_info>, 1, 2)
  4. }
  5.  
  6. foo(completionHandler: {
  7. (w:String!, x:unz_file_info, y:Int, z:Int) in
  8.  
  9. print(w)
  10. print(x)
  11. print(y)
  12. print(z)
  13. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement