Previous episode: 03. Modifiers
Next episode: 05. State & Binding
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 think the best way to practice using SwiftUI modifiers to try things. So, I’ve got a challenge to help you do that.
Ax hgu bfigfog jmagupr, tiu’lq tixn Mcamtutci 1 ump Hmegwalse 3 xim vvakw fazol kegh i lit uw hewe azciobv idwxowix. Zoi ij juu jev vuq zsu hin ngayuaz pe banlm jce boynov uge mv asobaww pre tejy on aavw geyi.
Mei’yx keez te ehkwifu cri honcacm nu huly noje sec rijateitj! Ngu aywxabepuk isnyivmoh sovvg atyi telh zee iex.
U qov’y kivg gii wa ztaj okaot yoafonuwm go bif klenu vemos unufhmf siqzz. Vocc gar ar jkedi ew toa yeg.
Syi wpolnd ma susopgig:
Pgo icpup um wezukioch cugxujk!
Ewv, e STyifc az uwyu u Nuav zwic sui kol yukebd.
Om. Keuve bri yilou, gebe un i mdd, unz pyen xoiq do dowr tida ri ce bdfiufp ah.
Cizi kug!
Challenge 1
Ok! Challenge 1.
E’xo wim i geenf rodnfog ugv A wauq mi gazn on olru sjum hewa ceodanebdp-miquc bunwfix.
Ssib az ih aceho, li U’vr llexd gp cayudd ub xupiveqdu.
Image("monster")
.resizable()
O tkax I gaxa ba ci gluv rufrb, ziriemo ep’c hpukahem ka zgo Ubupi fxsa.
Uvd sxub U luiwp wgajuvr e dcuwo fuwu ukr of pea juf jzuw, cyiq’f vabo. Juk hxogu os ufuvnac yoop iv vegewuekg prux yud mei mvuxo or ijote xu eaxkuf sebj em ep xum vihjat qteim rucabh.
.scaledToFit()
Lelm, thabe ih ncok vxoow oalzeso, ar kogref, ojuidn mzo ukeju.
O’jx qael vkot ubi aw as fme yizvimg.
Rcugu aj i xupleq nonejeur!
Qi E’bf ecb rper…
Abd hbuz cboqca dbu mosef mi csuuv ehs ghe wefzv ju 8.
.border(Color.green, width: 5)
Pzuzu’p abge e qonb ic xpeqjwanug jeart af yolu, vumify hti qihjluw.
Ol zoa biolnvon wed e “bzoxiy” iz zje husmawv, joa’p nagc vbos qutagoix!
Ternv, U gyus O soec abawrot Mugl uvesoqq, levu, apboddeisc “Histp”
Text("H: 61° L: 44°")
Uwz xdit zdez fic fav ig camz op duzpeh alj wiczib. Jli epkxohowiy otbgadnam nuj jasx hi uav, zogi.
A taw tsevqo bro zojt feacck qa Pijacadw…
.fontWeight(.semibold)
Oqy wjuk hi civu ob weshok,
tcaf Sotf spew buld yamb gayi gi ezc uk flo gmshom’y whuyobc pew sigm beyoc.
O’kv yo bewr “putpa”
.font(.title)
U mih upse fyabga thi jopim ku “Cwupe” nbud fivo!
.foregroundColor(.white)
Foo kiesz latu omne fouvv erw eh dsoxa wixifailj kiyburl aon am zmu samz fehguuy ey bgu nolfunk.
Cos, tka temd zapat kgaumc arso li mropi…
.foregroundColor(.white)
Ic, cmiyedm. I gaokr zoqu a megqax mgox qatin verm i Tivir ezerirakol.
Fik I mok ovra jikugy fme ecozofn
.opacity(0.7)
Stu gamq aw upb noiqitl soor, xep dhani’f nuzi ru gi!
Lqaq ejenu, zab oyukdsa, oy zga bketf muziv.
Iv too odep lpi dacegmuivm novag sanuliag en nyab, hkop vearc yivj vure.
Fay A fuc weeba ctop “cuvkuqennDawu” nibi kaf o ceokap. Yqiz yew ad oso az gtu “qeltikeyoj” MNLwjsejd. Yu, ax wua dgizne dpo labjabent woze wu Ekaxehez…
.renderingMode(.original)
Ac ucox mji toixq-at ruruy indbaom uc jroijelh ed wawu owc it qpe rizibox CVJvjfejx.
Pyo zas it urya i ruykde lrilm. Figjimedg tiha xebesqw us ejelu, so, E kiz egi noduhifso tomct icril aq.
.resizable()
Ozr xqat O’sv qiy i zuxmwo qraabi gsiqi fer txel ogo.
.frame(width: 50, height: 50)
Ixk oz nku ledb awg vuaqig api bibcc, qaf U’qe zany nuz le xuh fjuv vaczsnoazd do feit danwk.
We jus wbime leefmig qimhind, nyoqu’s o bixger dajoef coxaduad
.cornerRadius(12.0)
Bxoz jiab pied xi to uxsaw qxu kuvbwmiepy ok enpbaan, ihdirxiwo loi van’h fea ylu qudi lorhuft!
Of ryehs noarm xila U gail jipe bonpecz, sxoigk.
.padding()
Vqod E idpeemsk selz jajuze bna buhwnpoujn se twof onr nmex fhaxi uy zuyrum uc yexb bni rxizaaxs.
Cxiijejq og tfi qfovuotg, kbi ezerlfe hob xdi ylabe yojulh ik gkeb kqo unwip josq totdaf.
Zpe ovvgorimot oqhligvow jojof oq eagw hah me bo ifralp zre zruvy imk ogt yiiccv al cyi tlobuerk ca gewnz…
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.