-
Что такое
полиморфизм? -
Что такое *инкапсуляция? Что такое *нарушение инкапсуляции? -
Чем
абстрактныйкласс отличается отинтерфейса? -
Расскажите о
паттерне MVC. Чем отличаетсяпассивнаямодель отактивной?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Number /* class cluser */ { | |
| class Int8: Number { | |
| var value: Swift.Int8 | |
| init(_ value: Swift.Int8) { self.value = value } | |
| } | |
| class Int: Number { | |
| var value: Swift.Int | |
| init(_ value: Swift.Int) { self.value = value } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct Coordinator { | |
| let window: UIWindow | |
| let navCtrl: UINavigationController? | |
| func start() { | |
| presentWelcomeScreen() | |
| } | |
| private func presentWelcomeScreen() { | |
| let vc = WelcomeScreenViewController() // Instanciate from code, XIB, Storyboard, whatever your jam is |