サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
大そうじへの備え
www.vadimbulavin.com
Now that we’ve painted the big picture of Combine framework, it’s time to learn what are schedulers: Which schedulers are built into Combine? How to switch schedulers? How to perform asynchronous work with Combine? What’s the difference between receive(on:) and subscribe(on:)? Defining a Scheduler Scheduler is the synchronization mechanism of the Combine framework, which defines the context for wh
The iOS Developer Community Survey shows that Model-View-ViewModel (MVVM) is the second most popular architectural pattern for designing iOS apps. It makes a good reason to study the state of modern MVVM with SwiftUI and Combine. In this article we’ll cover: The purpose of MVVM. The components of the MVVM pattern. The flow of data and dependencies in MVVM. Why should we use unidirectional data flo
Every iOS app consists of many objects that need to communicate with each other to get the job done. Apart from its layout system and declarative DSL, SwiftUI introduces new communication patterns between views. In this article, we will study all the available options, and look at some best practices regarding when you should use which mechanism. From Parent to Direct Child – Use Initializer The m
The functional reactive features of the Swift Combine framework, that contribute to the control flow of your program, are deeply nested inside the framework implementation and often result in non-sequential execution of our code. Therefore, the traditional debugging practices, like setting breakpoints manually and examining stack traces, are often of no help when tracing Combine code. In this arti
Memory management is the core concept in any programming language. Although there are plenty of tutorials that explain the basic principles of Swift automatic reference counting, I have found none that would explain it from the compiler perspective. In this article we’ll learn what’s beyond the basics of iOS memory management, reference counting and object life cycle. Let’s begin with the fundamen
このページを最初にブックマークしてみませんか?
『www.vadimbulavin.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く