This is an old revision of the document!


Swift

Function parameters need labels when called unless specified with an underscore.

func myFunc(_ name: Int) // call it like myFunc(3)
  • swift.1596393578.txt.gz
  • Last modified: 2020/08/02 18:39
  • by paul