Cargando…

iOS architecture patterns : MVC, MVP, MVVM, VIPER, and VIP in Swift /

Develop well-structured applications using tested techniques and patterns. When you start to develop an application, you not only have to think about the idea of the finished application, but also about how it will evolve as it is built. This book shows you how to plan for changes, scope creep, and...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: García, Raúl Ferrer (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: New York, NY : Apress, [2023]
Edición:[First edition].
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Introduction
  • Chapter 1: Introduction
  • What Is Software Architecture?
  • Architecture Patterns
  • Why Do We Need an Architecture Pattern for Our Applications?
  • Design from High Level to Low Level
  • Design Patterns
  • Creational Patterns
  • Factory Method
  • Abstract Factory
  • Builder
  • Singleton
  • Prototype
  • Structural Patterns
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Façade
  • Flyweight
  • Proxy
  • Behavioral Patterns
  • Chain of Responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observe
  • State
  • Strategy
  • Template Method
  • Visitor
  • SOLID Principles
  • Single-Responsibility Principle (SRP)
  • Open-Closed Principle (OCP)
  • Liskov Substitution Principle (LSP)
  • Interface Segregation Principle (ISP)
  • Dependency Inversion Principle (DIP)
  • How to Choose the Right Architectural Pattern
  • Most Used Architecture Patterns
  • In Search of a "Clean Architecture"
  • Clean Architecture Layers
  • Domain Layer
  • Presentation Layer
  • Data Layer
  • The Dependency Rule
  • Advantages of Applying a Clean Architecture
  • MyToDos: A Simple App to Test Architectures
  • App Screens
  • Launch Screen
  • Home Screen
  • Add List Screen
  • Tasks List Screen
  • Add Task Screen
  • App Development
  • Technologies Used
  • How to Remove Storyboard Dependence
  • Core Data Configuration
  • How to Create Database and Entities
  • Create CoreDataManager
  • Summary
  • Chapter 2: MVC: Model-View-Controller
  • What Is MVC?
  • A Little History
  • Apple Model-View-Controller
  • Components in MVC
  • Model
  • View
  • Controller
  • Advantages and Disadvantages of MVC
  • Advantages of the MVC Pattern
  • Disadvantages of the MVC Pattern
  • MVC Application
  • MVC Layers
  • Model
  • Core Data
  • Models
  • Services
  • Extensions
  • Constants
  • View
  • Controller
  • MyToDos Application Screens
  • Information Flow
  • Delegate Pattern
  • How to Implement Delegate Pattern
  • AppDelegate and SceneDelegate
  • Home Screen
  • HomeViewController
  • HomeView
  • Add List Screen
  • AddListViewController
  • AddListView
  • Tasks List Screen
  • TaskListViewController
  • TaskListView
  • Add Task Screen
  • AddTaskViewController
  • AddTaskView
  • Testing
  • How Should the Tests Be?
  • Let's Create the First Test
  • Helper Classes
  • MVC-MyToDos Testing
  • TasksListServiceTest
  • Mocking Services
  • Controllers Testing
  • Views Testing
  • Summary
  • Chapter 3: MVP: Model-View-Presenter
  • What Is MVP?
  • A Little History
  • How It Works
  • Components in MVP
  • Model
  • View
  • Presenter
  • Advantages and Disadvantages of the MVP
  • Advantages
  • Disadvantages
  • MVP Application
  • MVP Layers
  • Model
  • Core Data
  • Models
  • Services
  • Extensions
  • Constants
  • View
  • Presenter
  • MyToDos Application Screens
  • AppDelegate and SceneDelegate
  • Home Screen
  • HomeController
  • HomeView
  • HomePresenter
  • Add List Screen