Enhance your SwiftUI app by understanding data Source of Truth

Sam Wright
Level Up Coding
Published in
6 min readAug 6, 2020

--

In the video ‘Data Essentials in SwiftUI’, published at Apple’s Worldwide Developers Conference, the phrase ‘Source of Truth’ is mentioned a whopping 31 times. So what does it mean? And how can thinking of this principle help you write better SwiftUI apps?

Where is our source of truth for data like user details?

What is the Source of Truth?

--

--

🐦 @samywamy10 💻 Swift, Typescript, React, Node, .NET, tech agnostic? 📹 I make videos on YouTube at Technologetic!