Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Function with Return Multiple Values

func checkMarks() -> (String, Int) {
  ...
  return (message, marks)
}
Source by www.simpleswiftguide.com #
 
PREVIOUS NEXT
Tagged: #Swift #Function #Return #Multiple #Values
ADD COMMENT
Topic
Name
4+9 =