Programming in Swift: Functions & Types

Jan 4 2022 · Swift 5.5, iOS 15, Xcode 13

Part 1: Functions

06. Challenge: Overloads & Parameters

Episode complete

Play next episode

About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 05. Advanced Parameters Next episode: 07. Functions as Parameters

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 06. Challenge: Overloads & Parameters

Update Notes: This course was originally recorded in 2019. It has been reviewed and all content and materials updated as of October 2021.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

Are you ready for your next challenge? You’ll find it on page 4 of the Playground for this part of the course. Pause the video and see what you can do, and then come back to see how I solved it. Have fun!

func multiply(😺_ number: Int, 😺_ multiplier: Int) -> Int {...
func multiply(number: 😺Double, multiplier: 😺Double) -> 😺Double {...
func printMultipleOf(multiplier: Int, number: Int😺 = 1🛑) {...
func update(score: 😺inout🛑 Int, withPoints points: Int) {
update(score: 😺&🛑score, withPoints: 100)