Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 1 replies, 0 views
Replied In
Returning Values in Swift
You have a function definition there rather than a function call. In the function definition you need to write the type of the thing you expect (Int) rather than any specific instance of that type (4).
Later, when you call the function you have written you'll pass in 4.