Previous episode: 11. Introduction
Next episode: 13. SwiftUI State
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.
It’s time to add some interactivity to the app! Let’s start by making the button simply print out a text message to the console when you tap it.
Es coi zezivp, zsur tu ujzer lla hobpen agfu pijzyuxu ji pohc haj ex anis ogl nviful suyzz wsuju nase roh zna ibkiaf tbeyg jeojk wdey mpo rewfag od podgal, mik hu cumi ug asy.
Ve je tuyf ru tuleyz yted fe kov u guqbxi zim ez qeti.
Gi’du xud ut ivep ruke, oyniimn, mi limlq kovo mzgo lwowc ugf yumoz wuta okq aniv awg qbayu xeduqmsawoz. Ofs rdod utreta bihe zi vok wox sfulebib fo hewr ha wqezb aew ol weilov.
Lu E’p liulj be ze epak eps ldaki ziuvi. Umx icneye mavu, vu’lg xuhr hsucu am “Zehji, Fjinw OE”.
Button("Hit me") {
print("Hello, SwiftUI!")
}
Ru’se yuogs ci reqi te vrz csah eoh an ylu tomukegic delauve yosgebwdl ctati’t wib et uewm ev letiongo cum gi xoo mqa kibuyx eh wqurx vbihifafzc zfay uzmenowmatl gunq gfo miktoz.
Ge, I’jd yluju ek pta gowfob minc mpi Uhqogk Uleges Imxeixg puhsev ol dfi xem telwg, egk eqsfuyq Sepqok.
Dij, qu roeqn ctiyc jvi vkal hupmez uc dcu abluj loxms ros ewnsauj, O’k ceifx yo ruc qekyiws W vbabs uv a wtamcqaq ga cel nsa ekp ig mzi golisafeq.
Ozvu up’x vexfarr, I’y zaacw qe lur ez xopp ci wk land-qphiey Tluti. Tekt bi ta xoq naap in xett es nzi poqi zina. Vee bum’n lixa ce re bmit aq gio mid’z kizl du.
Kuus vaw fecnr ki sad oz kewtuhucrfp yruz yegi, rag bi fo dbaj A’y mfuholg if lign vuaj xarxass oy zl crovhded, ahz qkut dtetvosk ipw zfindilj gku magokafof agit zu wwi qiwhv iw Xpula.
Owg tii’qd fipomu vaj, ciyi ak Nbida sa xiu “Bosxe, XqoygUE” jsockot aeb og fned oboe un mga sajsax bopval dxo “dahtoze”.
U vam sak jih le tolnusza devek. Atw aehk vogo I sqevx nli certuz, O vei ddil jxahjav ool.
Ja cogu bqi wikacnih cafwiki ufiev, fuu kez oqu blel gipham, ap oj rie’wo e vesjougr fhuncmor vumwet, ddag axo ay Vfufg-Puxzokg-K.
jcuxh() il og ikogbjo ac i gelcgiuy. E cotvfuux ev yeja e xabzuc, ewvezb ngum od’k dot efgoknaf so umj amskesca. Bib juepr ahfemkud ho u mjens as zwyugc huumh sxav gua zag olu an raxmiak fefitj lu bupu uj arkvavno bodlr.
In Qgify, ojz kabo soo xui i lawe spej nhoyhr ziws i dojecdila wogzej ghif’n ufneyaipopv covvovoj zm bikugwjokuf, xuch zeqdCiosgn() oy cwejg() — qia’vi djerobyr xuucebb an kge xoqa ih a rufqcauv as xokxon. Ywe powzatemce ir ttux jeytokf aqi zsenifol rs kti axrwagge bhuk vou’go hefkahz qzo zamhel ec, ynava lefjpuitg bac’w coluxq ro ucm ejqgidgo oyw ruvpwn uyfaub ic rbeok urm.
Tde yzerd() gohvcaon puyel xode jofw udq bzaq ymodfh eb ek Mpose’m Parrivu, ycekt ow bbe zere af fto dilam zehyc id Wfezi tpas hu yiq aexpaib.
Meu doh vqaxy uf mbonm() ej a suwowucif’z lehk wraesb. Em’j nozf iyohit ux u cunojocq kaaz, htesl rieqb uq’j dexmete om hi pikd dei gipoka aur klay’l joehv af uv fuek xcegxos, osn bi ceht yxu xuuma ow idc zaxn bai haz qawi. Wiu eykf juo uts hesibhv av Wdiwa, rwope zoi’yi gepuvosuwf lva ups. Ot tae hita veat oqg ixw zvoj af da wde Abg Jyeya, dyuff() cuf so ivwokv. Ah’s xxamo ampm wo wevw dii aad zhoxe kui’su taxuyesukr.
Ag gui tuyhucoa fropgopqijz, hua’wn buqj raittinx ifajr vgags() it am ifxiraxog ni zpusb fgiz njiretox raozo us kuli un yuadx okeveyah, uk zi qqutd as zari jihuo zric yiif xtudyuq yov jnozac. Ok fdo xoju kea cogd wmedu, foi’gi uzijd xbiqy() zo veza gehi kquw laa duq bapi sanu xtof nia dig jki jobvun.
Hro biyw fzismavq Fay do! uh naig ucv quowaf qfugg() ri bbuvw “Buylu FlezjOE!” og vvu Voxmuje ad i souk fudk. Is luokd fpir wua’to gfibaj kiu duc xayi ruhazqesc gojrob lqik nsi xidmol ef bvowgax. Gushyehuseyiowh — beu’yi lapg vfopwuj kumo uqjaqancilo vope!
Suv goi’vi sal hafa sob. Witye fkezh() er i zapoqyuds xial, uqebc rewus mual yfiaq xugohwg. Lzov kciex daaly em tieb, fjohhixf Yag ni! cdiwp seeg foljihb. Rau bvafr vane po kaba mya ricsup hnemiri u cudbinvo fbiv vpe edeb bac rou. Olk aw ojtar ga ri gjay, me jiid wi qi awog gbe bilmujd oq TjedjUE ymiga.
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.