---
title: "Xavier (@xavier7t) | Hashnode"
description: "iOS Developer. Read the latest articles by Xavier on Hashnode."
url: "https://hashnode.com/@xavier7t"
---

@xavier7t

# Xavier

@xavier7t · Toronto, ON, CAN · Joined February 2023

iOS Developer

## Comments

[it depends on the case. State is the source of truth. So use StateObject in views where the data is created/captured. Other views should use ObservedObject to observe the state.](https://hashnode.com/posts/mvvm-in-swiftui/6451db571f2e7841f809e850/comment/659cdee0b80581bc195dcf7b#reply-66e64dff28240e8a143354a9)

Reply · Article · Sep 15, 2024 · [MVVM in SwiftUI](https://hashnode.com/posts/mvvm-in-swiftui/6451db571f2e7841f809e850)

[Glad you like it, hope it helps!](https://hashnode.com/posts/rest-api-call-in-swiftui/64055fe39f3a77db8868892f/comment/64c6121db8b3207bc3ee6558#reply-64c69e7ca55a1588fc2c7c8b)

Reply · Article · Jul 30, 2023 · [REST API Call in SwiftUI](https://hashnode.com/posts/rest-api-call-in-swiftui/64055fe39f3a77db8868892f)

[Not necessarily. I’m using List for the .listStyle(.insetGrouped) view modifier. If you’re using Form, you can use .form(.grouped) for the same result.](https://hashnode.com/posts/section-and-navigation-link-in-swiftui/645490c0ba9132fb150c7d40/comment/645f136c4824b288fcf10685#reply-646027614824b288fcf12946)

Reply · Article · May 14, 2023 · [Section and Navigation Link in SwiftUI](https://hashnode.com/posts/section-and-navigation-link-in-swiftui/645490c0ba9132fb150c7d40)
