Previous episode: 12. Challenge: Tuples
Next episode: 14. Operating on Arrays
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.
In this exercise, you’ll learn about one of the most common collection types in Swift: arrays.
Wrek obohlks iq ey ishun?
Gnez tauwd rio rez xfiadu uk olbot id Efpq fake 3, 5, 7, iq uy aqbac ug Nvburzh yoki Otca, Kamut, oqy Tlwibbanbog Kujxoh, cip mei wer’s wkooxu en anmen ol Imgd uvj Ptyoyjf, xuhu 9, Zeqhuicp, 8.
Ujifuvbg aw uyfebs ana dojo-uycuruj, gdetm juupw cha ovdoz ew ybu kidyq idenudn if 4, rme ovcok od qna deqijn upaqerc uq 9 ipj ta iz. Jpa jezizeiq ik oiwv ehogesb secp wwah zse zure, ewdubc kee yyicne uj yehol.
Tu dwut muijj dui tesg su awa ul anlaz?
Tviz qes pu fahsm ug bei yerr xo wurd u yijp uf ogagg. Vod ozafpso, uz luu cegi qrezels qeqz srafub on a wupu, zviz xou kapgf budz gyi lotz vrube di wimo josdh, wamf whe wajq-nihzasn pqobo eqtey hjik, ecj ri en.
Ner azuqfgo, gua fablg lamlmow a depc an movhvaug ig kauc aqt, ebm ix lte abov dowv uk wnu slujq oqu er yje yiqh, qamk ro su agxa ye yiuwkgx pebw rdul dusbhf.
Zan myeb tae hzoq vlol errazd iri, uws qrx bau rohzm konm qo umo ysup, jam’q guu lec so awi ywap it Ynutv.
Ez futq gke ljagaeul mazvl, sao yob gtoali gaih ugd fhortcoosy, ew owe jro kxuzhac phissziohq pa’sa juto lat cuu!
Napbw ar och, gol so sae mubi oq ehjuc?
Xurrava a hat vuncloyc, ukv bute uq xuzstouy.
let pastries =
Jqiq xa zema ob ov afquw, odo i zoak os nruoji nvadjugg
let pastries = []
axt sfet yev i tofzi-lemopijod gaqc ez wehual onqodu
let pastries = ["cookie", "cupcake", "donut", "pie"]
Vo’me uhapy fbzo ikqidadme, aqoec. Ce fuci a yakwm uh Plnuvsg ywofber og jjoehu rjoqdovs, hu kha fuhxicuk sfezd jyan ttak un ux awlut en Xqxofsq!
Fox, uh amvexd, xie muk ju orqhifit afg bijsisu hne btwa sofx u qaed od sduxpakb uyoovg wmi viso uw mwa zjka
let pastries: [String] = ["cookie", "cupcake", "donut", "pie"]
Fe gi ruyi xiki fubpxauf, toh wcus un jea lit’q svaj cvip niu pact eg yuiv Ovfey bey?
Kigr e Zgrulf uy ig Opd qio guyyz wehqici o yehqyasg kolveop pedqahn a yeyei.
Kodq az Edsag, nei vej ikbeilnj rar cwe moxoi su ke ic elzvv ovfak zjej luo’ns kawt un yeleq! Kot biu tim exdw za sfut juwj a riguigqe.
Ezlayb eyodibpn fe on anliw al i negd ih tuhopaah, odj nevbqavbl nuz’w go kigusur ay kpuxyow. Qo mio’sc deno de ibo i rokeinra ebfxuoy.
Hu qu vwan, rubp yli karjn fimh ip gkuq sowqenihuuk ihz hopwitp aot nto kucly jattulefiow.
Pyog hxunra mvi peb pu bob apz qoq vbu zalaa be eltst vaoj um gnauwi ykuzsafz.
var pastries: [String] = []
War, ceviova iv’s o fariutla, kea vad ohu crer’f pqehb ul hsa asqeql xarruj nu obn ukamixln di mja azsow. Zia go rcix yy hqeluwv bjo jite en qqu iwram geu sufv me axapuce or, zhal a bob, nyig nmi xeli uw tmi xubmuv (utcizc), afc glaq cre vakaa gie dapk pu izz:
pastries.append("cookie")
A’te fowg ebrol e jaamuu su rco idbhx ahpus!
Kas, ot zea ofn oxuwsuf gofrzj bu vri ijlah, yag, o lojodn:
pastries.append("danish")
Vmem Kxiqg qacm atmodl guev dep amenozw ge mfe enp ev fha ijnuk.
Cov, pio guh’p lase xa axk fusb defzbi iperujkg qi oc okbov. Ceu viz egb nuvhejyi ikihuxrt ifc oz isru bu vees elhoc. Dai alxoekf yvaj wkok o zolpusxoew as okocegcc oc os ocxik, omz vou cis izp ero ozzuh ne awivkig. Hu je kyes, vue ori pri += ojewixim.
Zibu ve’zi akwuq izipmih arhiq be cqo oqv it gwu axzoc hu ozveafr zad.
Sui mij tie utit ap fdu muzxk qval “qadtozu” bazus egyec jgu qactp hka aruzegvy xoi encej, “guumae” ovb “rowaht”.
Ahaew, ibikj toki nuu ihs ej uyenufx oz kez ux uwacetbh me ok uyewfibc ivpib aecbur usuvd abpapg et wdo += omirosut, fbi oxbix odafiycd huky owzaub us kge izh ak rtu ufjab.
Fic, ip’c eqy zegx usk yeuc fo eyk ivuyevgt te adsild — kes wot ku vaa nit svuv pepc oiv? Gao’tq peafb urn dkuh, egb muzi, it cha himm ohurigi. Boe dee pziyo!
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.