As outlined in the previous chapter, ViewModels are used to separate the data and associated logic used by an activity from the code responsible for rendering the user interface. Having covered the ...
ただし、Combineを使用するとより多くのパワーが得られます。 チュートリアル全体で見るように、ViewModel側にいれば、Combineを使用することが自然な選択になります。 これにより、UIで開始するチェーンをネットワークコールに至るまで明確に定義できます。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する