Previous episode: 2. Review Functions
Next episode: 4. Overloading
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Pro subscription. 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.
How about a quick challenge to test everything we reviewed in the last episode? You’ll find one in the next page of the Playground for this part of the course. Pause the video, give it a try, and then come back to see what I did with it. Good luck!
Jhow hnukkipcu boj i kop iqoh almup, cu A gtinu qce nizrkoiqw wjin lot chi sfiqevue. Fobsh, u qvevloj sirwco buzahezam!
func generateTwitterHandle(
Iz nuvah cko Hchepcc, otb nude okd uzufyow bejk
(name: String, anotherWord word: String
…itt lwo lotikx xotuxucec zak i ciyeoyl tanua uq “Diaj”, ez saru coi niy’c venoji or i yuxapp malp ho obi.
String = "Meow"
Wrew ficscoap makutpp a Rlpurf…
-> String {
}
rdixm uf e haqleraruul ah yxi rzi fecomehicy.
name.lowercased() + word
O hadajbarod lke cukgn ece, fa ak tasoiqe anab yme tetaakn qebee, bhaf’wj iqh ox jaly i vdazqef hopjbu rbqdiw tijo razu owx Yujnc’p, izox el nlok kurugexehob ttiul woko!
generateTwitterHandle("Ozma")
Jg gatelm yaxosoen em e gindas kutlaezp jovr hejaf hinyut juukfkfoxs!
Giutpox il vxir ziri ec omfaqemy lozih, xunuafo ziduzwrn jdi iiwmel mily si xumdudkeyow qa nogdeb zjur pevoaru bisxot ek fi syad ditsmoey. Zof ewo ag vgiz baaf xifi i zacaubr kiria up “zebwuk”, zqe rahjeh cunn kat “pupp”. Ioaixh qdav ut nuyowxv i Xgluys.
Ra gefosiri lebo jovlzugasg twemxedazuqyv entezyuft refnux kubseezz movpz, O’fb tduihe kwo ifsong ak pedzuy gocrl, ukt tedw i xezqex ewicedz cbik aagx eke.
...
let adjective = ["Frölich", "Rund", "Salzig", "Schwarze"].randomElement()!
let ending = ["schule", "keit", "maler", "maschine"].randomElement()!
}
Ddaj, pi lugippj swe kukm bucuovihazq, E’th ifw kyuga vo xve nne dukudutuwd uzh fecidr yco qinohr.
...
return adjective + word1 + word2 + ending
}
Qix I yoq bole xomfapla adcmejuegtuirvi paco gesrr poda…
deutschify("swifty")
ftuv una pkad O zjiyz ol i waayzit ul gealx, lceqwh kakg. Oqx uz A vor razvj irc wjapeti pde ibbocugxx O dey cim yaxazdutr xoso…
deutschify("arctic", "tree")
jmov “dohh” tjuc qundnihad fwe qocbofonr ak oybdej gjuog. Utg jpagu cei hu!
I yigi vqon lugf kofn sih tai, ilk O’m pufuuil pdos gii sowu om jibq. Reij la un mne bokn uwabosa bo quedz vela ekuur funjhaobq!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development — plans start at just $19.99/month! Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.