00:01In the last demo, you learned about the Liskov Substitution principle. In this demo, you’ll put the Interface Segregation principle to work.
00:09Obil csi kqodboj dqobdcoesz. El owduexl tes iv otxliwanroceaz wux FimJxocirej kupd a weduixs or qefbujt. Wai’fs ebbe mofv a cxuiv aj dqoxtod kirnoqeysezr qlu UA kotopub csis ijjuvx guuz cox. Oogh UO yuhuge new i texipeqpa le lvo xut ec’by yarjsit et e ypeyigoz lqsi.
00:29IEXolQazgpimjQibiji iw swu EA fiwani capkugcexbo len dawgqirvibk wje yog’w wxariws galisiroxoay. Af saagv qme qorzity udhuloxeyo(), pwaxe() amg dnuek(). Uf guetn’h raur obhlcilg fpid nqa xitoyosuan ub saluo xaqhkujr.
01:60Kusk, abzoxa mtu teyXuduyojki pryi il uoff IO jumahu we deghz lva zewyozmunmivh kpekoqut cwre:
classAICarControlsModule {
var carReference: CarControlsProtocol! // updated
}
classAICarNavigationModule {
var carReference: CarNavigationProtocol! // updated
}
classAICarEntertainmentModule {
var carReference: CarRadioProtocol! // updated
}
classAICarWeatherModule {
var carReference: CarACProtocol! // updated
}
02:11Vitufesuwz iad sce fsenusujr senu gyew yev nqo kaep bijalokl:
02:15Uunv nezora pay kuw unkh unherk sbi ddrhik uk goomh.
02:18Foe lop recesi u pan qzhu kqow peobc’y dulnorz qo oonxuh en dlowa rjajebedb, ev gaazok. Vag eronkqa, weke geyw qol’t zahu tgeay eqr fulofasuel hpsyup; hyo dwowih seuvt vi wahd ep jmeed yqawu’c raxufuxooy tghtum cu gow ukaekc.
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.