Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть S01E07: [TDD 🍅 6] Powerful Refactorings in Swift

  • Essential Developer
  • 2017-03-29
  • 6917
S01E07: [TDD 🍅 6] Powerful Refactorings in Swift
iosswiftprofessionalismpairingios developmentios engineeringios app developmentxcodetddmodular designarchitectureagileadvanced ios developmenttvOSmacOSwatchOSiphoneipadadvanced swiftclean codeunit testingtestingbest practicesswift frameworkpair programmingxctestframeworkswift 3swift3@escapingclosuresscreencastrecursionrefactorrefactoringcourseadvancedUIview controllerUIViewControllerUITableViewtable viewUIKitUITableViewCell
  • ok logo

Скачать S01E07: [TDD 🍅 6] Powerful Refactorings in Swift бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно S01E07: [TDD 🍅 6] Powerful Refactorings in Swift или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку S01E07: [TDD 🍅 6] Powerful Refactorings in Swift бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео S01E07: [TDD 🍅 6] Powerful Refactorings in Swift

★ Register Now to Our Free iOS Career Course! https://www.essentialdeveloper.com/co...

Subscribe to our channel: https://www.youtube.com/essentialdeve...

In this episode, we refactor the QuestionViewController class and its tests, and we introduce a way for notifying a delegate when the user selects an answer.

We start the test refactoring by making use of a factory method with default values, so, in the event of introducing a new parameter to the QuestionViewController initializer, we only have to change the test factory method, leaving the tests free from change. As a result, the tests become lighter, less fragile and more readable.

In the view controller side, we refactor the creation of the table view cell. We introduce a private method responsible for dequeuing and creating the cell, resulting in a much cleaner UITableViewDataSource implementation.

In the second half of the episode, we add a closure property to the QuestionViewController, which is called every time an option is selected, signifying the user's answer.

Taking time to refactor and improve our code is an essential part of the test-driven discipline. As software professionals, we should strive to keep all our code, including the tests, in a clean state. By doing so, we end up with a codebase that is easy to read and follow, backed up by clean and reliable tests, enabling developers (including ourselves) to maintain, remove and add new functionalities with ease and confidence.

• Previous episode:    • S01E06: [TDD 🍅 5] Testing View Controllers...  
• Episodes playlist:    • Building iOS Apps with Swift, TDD & Clean ...  
• Follow the series progress on GitHub: https://github.com/essentialdeveloper...
• Visit our website: https://essentialdeveloper.com

Connect with us on:

• Twitter:   / essentialdevcom  
• Facebook:   / essentialdeveloper  

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]