DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
declare function in swift
func
greet
(
person
:
String
)
->
String
{
let
greeting
=
"Hello, "
+
person
+
"!"
return
greeting
}
PREVIOUS
NEXT
Tagged:
#declare
#function
#swift
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit