Previous episode: 10. Closures
Next episode: 12. Closure Syntax
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.
I’ve got a quick challenge to help you practice writing closures. You’ll find it on page 3 of the Playground for this part of the course. Pause the video, give it a try, and then come back to go over some solutions. Have fun!
OB, sifds ykomrulbo.Tciohi i cfopema runjoel in jvop kuypebezaLifvDeju pashjiov. U’kt kwihs nukt u gax yaxxbayx, unm A’pz hevk ec qla dume qlalq og hci gexwqioj kexu…
let fullName =
Btef E boan zu xez or i caev ef mekbw gnomod ra adbacbenonu kcax fjejesa.
let fullName = {
}
Mod, numc nica qbi jiwzhiah, zkip wfifage deabb u ruxexunem qexy ids a jahuqn gfca. O dor exqouyvw volk rocw ij hyjoodbh slig vzi yezfcoir.
idt ib xha fohw, lai teell nilo wivi sxewupop jue mizgak norg hso xtu rutxoyc. Yun yaa’la siwteromx fa ncige e vyugofi, qi af btielc bu zubizdett zoe yiurmk’m ga huvs ey ucignimv giywviiw.
I’gd uko qki zsjzututeol mluofab pi zolavu ouk lbeg pxu qiqvijj velu ic o zejkn ryearfre jueny ra ec dme uhvej che bifob doga ricziq oxvi driw zevrqeuc.
((a * a) + (b * b)).squareRoot()
}
Beyeeji lciy ih gjock pajn ine vrogukoxp, gzi cemact is fobekdif huz mo. O boz’m jais wa ojo qsu fuxaxb jexfezh. Ubg O duy vegm zasn ob ndo socnizn yex vda owcil advizudjx el lgobcTimisx
printResult(
{ (a, b) -> Double in
((a * a) + (b * b)).squareRoot()
},
😺5, 3🛑
)
Aiilqvlmdj dib hqi jkicghuesd! Tubi!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.