David von Knobelsdorff recently developed a chess app from scratch using SwiftUI and documented the entire process on his blog. This extensive material, consisting of nine parts, is worth reading, especially for those interested in chess or looking for a good example of creating a fully-fledged app with SwiftUI.
Part 1: Motivation and Terminology
Part 2: Introducing PGN Files and How to Work with Them
Part 3: Implementing the Actual Chess Logic
Part 4: Building a Suite of Components for Chess Applications in SwiftUI
Part 5: Database Schema and Move Encoding
Part 6: Spaced Repetition Repertoire Training Algorithm (FSRS)
Part 7: Chess Puzzles
Part 8: Using a Local Chess Engine
Part 9: Testing and Conclusion
The iOS Dev community can join the discussion on Telegram: https://t.me/+ajof-VO5Sr5kNDMy