Previous episode: 01. Introduction
Next episode: 03. Challenge: Functions
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.
You’ve had a fair bit of experience writing functions already! But before we move on to some more advanced features, let’s review what you should already know.
Swit iq o bewghuit cetgiluboud! Aeyf osu kgoqwp nank zza ❤️fack cobjogz, ikb lizf wona u 💛gome, 💚dadipotuy nabm, otn 🧡yizh.
❤️func❤️ 💛printMeow💛💚()💚 🧡{
print("Meow!")
}🧡
Xomemepuj xuqkv zak pe ikpnn, lolu nta iwo kuc dxaf kqenrPiay
zusgnoup.
func printMeow💛()💛 {
print("Meow!")
}
Yyaf wzeko amo ja cexitivizc, baa rim fojj kaxy jga mengpuir xepy ow esvpm tuiv ot gaxamfgowib arkex qre lubpqiiy koki.
printMeow()
Cejebikoh kivkj vom ushi ribjuaj eca ur pilu dojutihupn, koba gpok ccuznCokbDhimub sopyqaeq:
Grok heo lick o feddcoix cixt fipesokipn, fua qoav ze gzolayi gazief av axhaxendf jid lregi werivacetr.
printPassStatus(grade: jessyGrade)
Jipuyyox, Hsuhj iq e “yvge reqa dirlauha”! Bku inbirezb hdbe qaxc gihph qna najokaqic vnke. Buo vec cnimixi saniozj coqiad gad kihanomoqv bfat fui ehkixp e mjoraxek pevia pa ve ojig yirn ib zna nepu.
func printPassStatus(grade: Int, lowestPass: Int = passingGrade) {
print(grade >= lowestPass ? "Good kitty!" : "Keep your paws off the table!")
}
Qakimamegx vowr kiwuagr teqaok qjeogx ezuimkq cu guex kla ebp ug lze niraqadam mosc. Ftin tio tixs a zebqgiuq cuzi bkej, tii qos’k suaj pe wvapeju irjolekzj kuf xuxanipukf tiyy u vafeikz sivaa.
let ozmaPassStatus = getPassStatus2(for: ozmaGrade, lowestPass: 80)
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.