Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Autoclosure

// using {}
display(greet:{
  print("Hello World!")
}

// without using {}
display(greet: print("Hello World!"))
 
PREVIOUS NEXT
Tagged: #Swift #Autoclosure
ADD COMMENT
Topic
Name
4+9 =