…might be wondering: Which architecture pattern is right for me? Honestly, there’s no perfect universal app architecture. An architecture that works best for one project might not work best for your project. There are many different aspects to consider when establishing an architecture for you and your team…
iOS & Swift
Chapter in Advanced iOS App Architecture
Architecture: Elements, Part 2
Feb 9 2022 · Chapter
…just use Combine? Using Combine adds boilerplate code to your view controllers making them a bit harder to read. You can use the Observer pattern alongside Combine to both decouple view controllers from event technologies and to make view controllers light and easy to read. Using Combine directly inside view…
iOS & Swift
Chapter in Advanced iOS App Architecture
Objects & Their Dependencies
Feb 9 2022 · Chapter
…follow. In this chapter, you’ll first learn the benefits of managing object dependencies. Then, you’ll take a quick look at common dependency patterns. Finally, you’ll spend the rest of the chapter taking a deep dive into Dependency Injection, one of the common dependency patterns. Before diving into…
iOS & Swift
Chapter in Advanced iOS App Architecture
Architecture: MVVM
Feb 9 2022 · Chapter
…data and tell the model layer to “push” it. Koober uses a push-and-pull design. Specifically, it uses an implementation of the repository pattern. You’ll go into more detail about this, next. Repository pattern Repositories contain data access objects that can call out to a server or read…
iOS & Swift
Advanced iOS App Architecture
Feb 9 2022 · Book
…your choice! This book is for iOS developers who build apps using Swift. The material in this book assumes familiarity with design patterns and with basic architectures — such as MVC — and basic architecture concepts, such as inversion of control…
iOS & Swift
Chapter in Advanced iOS App Architecture
Welcome
Feb 9 2022 · Chapter
…this book is for This book is for iOS developers who build apps using Swift. The material in this book assumes familiarity with design patterns and with basic architectures — such as MVC — and basic architecture concepts, such as inversion of control. This book also assumes familiarity with Apple frameworks such…
iOS & Swift
Chapter in Advanced iOS App Architecture
Conclusion
Feb 9 2022 · Chapter
What a journey it’s been! From exploring why architecture matters to diving deep into dependency injection, to comparing different architecture patterns, you’ve gotten a taste of architecting iOS apps using advanced techniques and patterns. By putting the book concepts to practice, your codebase will become easier to work…
iOS & Swift
Chapter in Advanced iOS App Architecture
Architecture: Redux
Feb 9 2022 · Chapter
…unread message count got data from the same container. This new architecture fixed a lot of these kinds of bugs. Flux is a pattern, though, not a framework. In 2015, Dan Abramov and Andrew Clark created Redux as a JavaScript implementation of a Flux inspired architecture. Since then, others have…
iOS & Swift
Chapter in Advanced iOS App Architecture
Architecture: Elements, Part 1
Feb 9 2022 · Chapter
…user interface layer in parallel. We were able to make rapid changes to isolated layers of the project without affecting other layers. The patterns developed and used throughout the app’s source code could be applied to many other iOS projects. What resulted was Elements. Introducing Elements Elements…