We’ve covered a lot about functions in the previous chapters, so let’s recap:
func, followed by the function’s name. The function’s body is contained inside opening and closing braces.
catchto handle them at the call site.
SPONSORED Join a FREE crash course for iOS devs who want to become complete senior developers — from October 18th to 24th. Learn how to apply iOS app architecture patterns through a series of lectures and practical coding sessions.
Link copied to your pasteboard.