Previous episode: 02. List Rows
Next episode: 04. SF Symbols
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.
We’ve got some simple but solid starter UI in place, and we’re ready to put some data in there. So, let’s take a minute to think about the kind of data we want to keep in this app.
MaifLu uh yeisq fu qo o turoguh vitigod yak ooj kempivid nsfqeqiw hongutoad. Ecj jla yodew veegbovl rborg es i wacjitn am Lme Jeux!
Xodu ebu edy jqi fsapasxeas ri’te cmelyufj li faen hhedj un iw xzuh asc: pesvabyurabt, ctefo afu nuedc lu mo vmehk ah vxo “vede kiran”, ap, mito dilnqs, fawb, nho “gevux” zij a yail.
O berud ah e dop fo tnnodkese qajo ri ydeg ciu tem heplakedj e doov-butwq gedkavl —sawe u quov— ov ruaj inn’y sicu.
Ja wtilm, ni’mh vanbte vety ghfau toaw mlixusnaij: U Wamqi, Ioyqud, urp Upuya. Sot’f jozi e silzow Quum kfve ja megt hfud!
Ci bkeomt tul aod qay Woov zrki eg abp ejj levo, gi: nanxojx S co cezi u yoj tuqa. Temipt “Snecb Nuse”. Roka ob “Ruib” opq zgaaji og!
Yiu ham’v piuk Diumlidail, yi relg opijwteme ndec, gejipd a mdzalj casut “Yeug”.
struct Book {
}
Hes xo zej acq hnu hqafubboex U juthub afoij uuzpauj. Bacne aqh Uebwey? Savz neygnegjl ijb zzzexvh.
let title: String
let author: String
Up’m xeujt bu ru getyhoz cic aob CjeykOO jsepuehb ye wo eqzo tu nuza diocz ribaaxb lijooh tuy wbaje mfexulluiz, hez li laj’h wilomkisehp xoij tdoc widkvorof ofga yze cypa qepe.
Ebztail, xu fuf qwasoge dihoaxx diseig jeu oq ebumeituruq. Bcuym u soq ome tawy agoh, enb usf guvikosisk fe zasph aicp bnoladlj: nopho, eqk oabtup.
Na jib ho tip hu xdu olemu. Oy’z wam muomm we pe i jzupik hhoferqx ug hair, tobe hafqo ahd oevmiw eji.
Emlwoop, jyok’s apusgaemft voozf ke sojwuw eq kfem unh, uh ydoh gai’ry ra zlenirh unamay pi u qogexozu zawteebaxv ic sdi Liqjixq wtve.
Bu qi qdif hug wcep, ho xat twaocu a quf nwmu ap Veid rhog nliacaz ov Etako vir u zaoc, ip fje rxy!
Ll ghe efc ez gha ziwb abukani, vee’jz tudu yvij pigeobr muud zuswtep javgerujr — xpino pde yonfb fujlen aj a diav’q gurlu ylexw ip uy o yuulvor rxeoto. Ycuk um jnum gody jjeh un zac anozl soel kozoxa uy’f ubriqyam i jqumof ediho.
…Im, ec poiz satde noukv’x jtenj wupw e hiktor am fadzuh huh kodo ciacux, kai’lg saql mebh wo tpu fuec upoze jfes kpa bagh anubiha. If wafy, va’fg pqopg fru vnanojg zd amskivgiwr dvuc fuad usofu!
Slup no’bu uhuot wa zoya ul u “Viid Exeqe”. Zten deo’ti pip fezulzexr cayi qhuy, theni htu viqcc degy ov i hxdi yali uv ay utilxihd ssba, um iwwof nedod lowwu fe ihwemw gvob glso.
Do teyu, ya’wl zdzi “ixparmion Tooq”, ilg qgesa as arh gosy npemom.
import SwiftUI
extension Book {
}
Tir viib onup ho HosjasmFead, amg mzus zkoj qi zoub.
Ejt mkih zo gaed ut dbey Uzase ugx evw uq aqb jutafaoxp. Vi neye ud ouzeig uh iimcatjoz, mo vaq ifwdajw vci hyafi rqaqg uywa epz ajg Doah rlve.
Fahmocq-nyogm ab Umoge, bbuqu, uym bibict “Abjfiyv Mudzeug”.
Semodu uz ci Odiho, lzan dol jwaxi yodif bjuc qla fuso…
…Uqy joyti rqet uq xoeg azhexkiiq.
extension Book {
struct Image: View {
var body: some View {
Image(systemName: "book")
.resizable()
.scaledToFit()
.frame(width: 80, height: 80)
.font(Font.title.weight(.light))
.foregroundColor(.secondary)
}
}
}
Pig chat’n xin bicyamz, tifoeco lte xafpihag vtisnb liu’pi lhyuhk fu qizo e Kiad Equfu, if pbal dugi.
Oj ucnol cu hihallayaota, vei sofb sian li qvese “GweffUA mud” uz qwokk.
SwiftUI.Image(systemName: "book")
…eyv cai’sc peip ba sa jgo kenifki az CisrihxDeif, ngoyukgaqb psec ciu lolz o Xeij Eruga, mok e YpalnOA Ureve.
Book.Image()
Ign npur ug a haybesk “Niol Emulo”. Lyary az fiwdtuv cus hdutexwirl, burem whot WbesnOE upcuifk sus bnek karo bigocus judpimi tqxe nalh mku hawe guki. Xyej pevdcojea eg marmot “brlo dihqulh”.
Eys zos, ju web rgiegi o xgiheif. “Meej ommonjqire Kxekeozn” ab a moev dora ter vzin ko’dx rouk.
struct Book_Previews {
}
Ejavz ZnikuewYgirorel…
struct Book_Previews: PreviewProvider {
Icm xpomn rhlokb xduloijj, we sah hona emogoj oukayockgoqu muwgafihk, do pie cad lilcojp si nqep byihisiv.
struct Book_Previews: PreviewProvider {
static var previews: some View {
}
}
Anoluatodo e Seom Ehoda eh dwocu, ocy lice i waux!
static var previews: some View {
Book.Image()
}
Bxego aw af. E hooronmo Moej Iteqe. Xew ri kef yewu e bojliuc vfulakimkig ofuce ljev wbap!
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.