DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
swift function with return value
func square(number: Int) -> Int { return number * number }
Source by www.hackingwithswift.com #
PREVIOUS
NEXT
Tagged:
#swift
#function
#return
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit